René's URL Explorer Experiment


Title: KeyRange.greaterThanBackward() not working? · Issue #89 · lmdbjava/lmdbjava · GitHub

Open Graph Title: KeyRange.greaterThanBackward() not working? · Issue #89 · lmdbjava/lmdbjava

X Title: KeyRange.greaterThanBackward() not working? · Issue #89 · lmdbjava/lmdbjava

Description: Either I am not understanding something, or else KeyRange.greaterThanBackward() is broken. The following test fails: import java.io.*; import org.lmdbjava.*; import org.testng.Assert; import org.testng.annotations.Test; public class FooT...

Open Graph Description: Either I am not understanding something, or else KeyRange.greaterThanBackward() is broken. The following test fails: import java.io.*; import org.lmdbjava.*; import org.testng.Assert; import org.te...

X Description: Either I am not understanding something, or else KeyRange.greaterThanBackward() is broken. The following test fails: import java.io.*; import org.lmdbjava.*; import org.testng.Assert; import org.te...

Opengraph URL: https://github.com/lmdbjava/lmdbjava/issues/89

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"KeyRange.greaterThanBackward() not working?","articleBody":"Either I am not understanding something, or else `KeyRange.greaterThanBackward()` is broken.\r\n\r\nThe following test fails:\r\n\r\n```\r\nimport java.io.*;\r\n\r\nimport org.lmdbjava.*;\r\nimport org.testng.Assert;\r\nimport org.testng.annotations.Test;\r\n\r\npublic class FooTest {\r\n\r\n    @Test\r\n    public void testFoo() throws Exception {\r\n\r\n        // Create new empty directory\r\n        File dir = File.createTempFile(\"foo.\", null);\r\n        Assert.assertTrue(dir.delete());\r\n        Assert.assertTrue(dir.mkdirs());\r\n        dir.deleteOnExit();\r\n\r\n        // Create new environment\r\n        Env.Builder\u003cbyte[]\u003e builder = Env.create(ByteArrayProxy.PROXY_BA);\r\n        Env\u003cbyte[]\u003e env = builder.open(dir);\r\n\r\n        // Open database\r\n        Dbi\u003cbyte[]\u003e db = env.openDbi(\"foo\", DbiFlags.MDB_CREATE);\r\n\r\n        // Open transaction\r\n        Txn\u003cbyte[]\u003e tx = env.txnWrite();\r\n\r\n        // Put key/value pair\r\n        db.put(tx, new byte[] { 1 }, new byte[] { 2 });\r\n\r\n        // Iterate range backwards - we should encounter the key/value pair we just put\r\n        try (CursorIterator\u003cbyte[]\u003e i = db.iterate(tx, KeyRange.greaterThanBackward(new byte[] { 3 }))) {\r\n            Assert.assertTrue(i.hasNext());      // TEST FAILS HERE\r\n            CursorIterator.KeyVal\u003cbyte[]\u003e kv = i.next();\r\n            Assert.assertEquals(kv.key(), new byte[] { 1 });\r\n            Assert.assertEquals(kv.val(), new byte[] { 2 });\r\n            Assert.assertFalse(i.hasNext());\r\n        }\r\n\r\n        // Commit transaction\r\n        tx.commit();\r\n\r\n        // Close environment\r\n        env.close();\r\n    }\r\n}\r\n```\r\n\r\nWhat am I missing? Thanks.","author":{"url":"https://github.com/archiecobbs","@type":"Person","name":"archiecobbs"},"datePublished":"2018-04-22T23:15:14.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/89/lmdbjava/issues/89"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:c2014e26-3df9-6125-baea-820606cd0a24
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD946:340FCB:21CA33C:2DDEE12:697086E8
html-safe-nonced6108678194ba160c6d739e941aeb4f32cdf135e0c0a069b388667156de7c16e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOTQ2OjM0MEZDQjoyMUNBMzNDOjJEREVFMTI6Njk3MDg2RTgiLCJ2aXNpdG9yX2lkIjoiMjczNzU2OTk0OTU5NTc2NDQ1NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac26a2a4a7f02e2fb61e2ee9510aac00180402ee8addae87ebf3aec36fcd8f0dd7
hovercard-subject-tagissue:316622066
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/lmdbjava/lmdbjava/89/issue_layout
twitter:imagehttps://opengraph.githubassets.com/a9ccc5be2d4a4b5ba173d756aa9acfb9dd8cd9b7d9ed4deb8069f963419eef93/lmdbjava/lmdbjava/issues/89
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a9ccc5be2d4a4b5ba173d756aa9acfb9dd8cd9b7d9ed4deb8069f963419eef93/lmdbjava/lmdbjava/issues/89
og:image:altEither I am not understanding something, or else KeyRange.greaterThanBackward() is broken. The following test fails: import java.io.*; import org.lmdbjava.*; import org.testng.Assert; import org.te...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamearchiecobbs
hostnamegithub.com
expected-hostnamegithub.com
None9920a62ba22d06470388e2904804fb7e5ec51c9e35f81784e9191394c74b2bd2
turbo-cache-controlno-preview
go-importgithub.com/lmdbjava/lmdbjava git https://github.com/lmdbjava/lmdbjava.git
octolytics-dimension-user_id19765602
octolytics-dimension-user_loginlmdbjava
octolytics-dimension-repository_id60480511
octolytics-dimension-repository_nwolmdbjava/lmdbjava
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id60480511
octolytics-dimension-repository_network_root_nwolmdbjava/lmdbjava
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release7d6181066430cc06553c8396ca201e194ae33cb9
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/lmdbjava/lmdbjava/issues/89#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flmdbjava%2Flmdbjava%2Fissues%2F89
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flmdbjava%2Flmdbjava%2Fissues%2F89
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=lmdbjava%2Flmdbjava
Reloadhttps://github.com/lmdbjava/lmdbjava/issues/89
Reloadhttps://github.com/lmdbjava/lmdbjava/issues/89
Reloadhttps://github.com/lmdbjava/lmdbjava/issues/89
lmdbjava https://github.com/lmdbjava
lmdbjavahttps://github.com/lmdbjava/lmdbjava
Notifications https://github.com/login?return_to=%2Flmdbjava%2Flmdbjava
Fork 124 https://github.com/login?return_to=%2Flmdbjava%2Flmdbjava
Star 866 https://github.com/login?return_to=%2Flmdbjava%2Flmdbjava
Code https://github.com/lmdbjava/lmdbjava
Issues 8 https://github.com/lmdbjava/lmdbjava/issues
Pull requests 1 https://github.com/lmdbjava/lmdbjava/pulls
Actions https://github.com/lmdbjava/lmdbjava/actions
Projects 0 https://github.com/lmdbjava/lmdbjava/projects
Wiki https://github.com/lmdbjava/lmdbjava/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/lmdbjava/lmdbjava/security
Please reload this pagehttps://github.com/lmdbjava/lmdbjava/issues/89
Insights https://github.com/lmdbjava/lmdbjava/pulse
Code https://github.com/lmdbjava/lmdbjava
Issues https://github.com/lmdbjava/lmdbjava/issues
Pull requests https://github.com/lmdbjava/lmdbjava/pulls
Actions https://github.com/lmdbjava/lmdbjava/actions
Projects https://github.com/lmdbjava/lmdbjava/projects
Wiki https://github.com/lmdbjava/lmdbjava/wiki
Security https://github.com/lmdbjava/lmdbjava/security
Insights https://github.com/lmdbjava/lmdbjava/pulse
New issuehttps://github.com/login?return_to=https://github.com/lmdbjava/lmdbjava/issues/89
New issuehttps://github.com/login?return_to=https://github.com/lmdbjava/lmdbjava/issues/89
KeyRange.greaterThanBackward() not working?https://github.com/lmdbjava/lmdbjava/issues/89#top
https://github.com/archiecobbs
https://github.com/archiecobbs
archiecobbshttps://github.com/archiecobbs
on Apr 22, 2018https://github.com/lmdbjava/lmdbjava/issues/89#issue-316622066
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.