Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 230 for onex (4.5 sec)

  1. src/main/java/jcifs/smb1/smb1/Trans2FindFirst2Response.java

                     * so. We cannot just comment out this method and use readString of
                     * ServerMessageBlock.java because the arguments are different, however
                     * one might be able to reduce this.
                     */
    
                    if (len > 0 && src[srcIndex + len - 1] == '\0') {
                        len--;
                    }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/builder/RequestDataBuilderTest.java

            assertEquals(data2.getWeight(), data3.getWeight(), 0.001f);
        }
    
        public void test_overwritingValues() {
            // Test that later values overwrite earlier ones
            RequestData data = RequestDataBuilder.newRequestData()
                    .get()
                    .post()
                    .url("https://first.com")
                    .url("https://second.com")
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java

                context = new PreauthIntegrityNegotiateContext(mockConfig, hashAlgos, null);
    
                assertNull(context.getSalt());
                assertEquals(6, context.size()); // 4 header + 2 for one hash algo
            }
    
            @Test
            @DisplayName("Should handle both null parameters")
            void testBothNullParameters() {
                context = new PreauthIntegrityNegotiateContext(mockConfig, null, null);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java

        // share access specified in SmbFile
    
        // create disposition
    
        /*
         * Creates a new file or supersedes the existing one
         */
    
        static final int FILE_SUPERSEDE = 0x0;
    
        /*
         * Open the file or fail if it does not exist
         * aka OPEN_EXISTING
         */
    
        static final int FILE_OPEN = 0x1;
    
        /*
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/SmbConstantsTest.java

                    SmbConstants.TYPE_NAMED_PIPE, SmbConstants.TYPE_PRINTER, SmbConstants.TYPE_COMM };
    
            for (int type : types) {
                // Check if it's a power of 2 (has exactly one bit set)
                assertTrue(type > 0 && (type & (type - 1)) == 0, "Resource type " + type + " should be a power of 2");
            }
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java

            }
    
            @Test
            @DisplayName("Should decode buffer with single referral")
            void testDecodeSingleReferral() {
                // Create buffer with one v3 referral
                byte[] testBuffer = new byte[100];
                ByteBuffer bb = ByteBuffer.wrap(testBuffer).order(ByteOrder.LITTLE_ENDIAN);
    
                // DfsReferralResponseBuffer header
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbFileOutputStream.java

         * @throws CIFSException if an error occurs opening the file
         */
        protected synchronized SmbFileHandleImpl ensureOpen() throws CIFSException {
            if (!isOpen()) {
                // one extra acquire to keep this open till the stream is released
                this.handle = this.file.openUnshared(this.openFlags, this.access, this.sharing, SmbConstants.ATTR_NORMAL, 0).acquire();
                if (this.append) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

            void testReadFileIdPatterns() throws Exception {
                // Test with all zeros
                byte[] zeroFileId = new byte[16];
                testFileIdReading(zeroFileId);
    
                // Test with all ones
                byte[] onesFileId = new byte[16];
                Arrays.fill(onesFileId, (byte) 0xFF);
                testFileIdReading(onesFileId);
    
                // Test with pattern
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  9. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueServiceTest.java

            urlQueue2.setUrl("http://www.example.com/page1"); // Duplicate
            urlQueueList.add(urlQueue2);
    
            urlQueueService.offerAll(sessionId, urlQueueList);
    
            // Should only store one item (duplicates are filtered)
            int count = 0;
            while (true) {
                final OpenSearchUrlQueue polled = urlQueueService.poll(sessionId);
                if (polled == null) {
                    break;
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:40:57 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  10. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java

            final ClearScrollRequestBuilder mockClearScrollBuilder = mock(ClearScrollRequestBuilder.class);
    
            // Setup search response with one hit
            when(mockClient.prepareSearch("test-index")).thenReturn(mockSearchBuilder);
            when(mockSearchBuilder.setScroll(any(Scroll.class))).thenReturn(mockSearchBuilder);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:44:44 UTC 2025
    - 17K bytes
    - Viewed (0)
Back to top