Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 487 for initial (0.04 sec)

  1. src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java

            assertTrue(it.hasNext());
            assertEquals("x", it.next().getName());
        }
    
        @Test
        @DisplayName("Empty initial results with end-of-search -> closes immediately")
        void emptyInitialResultsEndOfSearchCloses() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbCopyUtilTest.java

            // Act + Assert (no exception expected)
            assertDoesNotThrow(() -> SmbCopyUtil.copyFile(src, dest, buffers, 1, new WriterThread(), sh, dh));
    
            // Verify that server-side path engaged at least the initial opens
            verify(src, times(1)).openUnshared(anyInt(), anyInt(), anyInt(), anyInt(), anyInt());
            verify(dest, times(1)).openUnshared(anyInt(), anyInt(), anyInt(), anyInt(), anyInt());
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  3. docs/features/interceptors.md

        .header("User-Agent", "OkHttp Example")
        .build();
    
    Response response = client.newCall(request).execute();
    response.body().close();
    ```
    
    When we run this code, the interceptor runs twice. Once for the initial request to `http://www.publicobject.com/helloworld.txt`, and another for the redirect to `https://publicobject.com/helloworld.txt`.
    
    ```
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/io/FileUtil.java

        }
    
        /**
         * Returns the contents read from the reader as a string.
         *
         * @param reader
         *            the reader
         * @param initialCapacity
         *            the initial buffer capacity
         * @return the string read from the reader
         */
        protected static String read(final Reader reader, final int initialCapacity) {
            int bufferSize;
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/RequestWithPathTest.java

            assertEquals("server.example.com", testImplementation.getServer());
        }
    
        @Test
        @DisplayName("Test resolve in DFS flag toggles")
        void testResolveInDfsToggle() {
            // Initial state should be false
            assertFalse(testImplementation.isResolveInDfs());
    
            // Toggle to true
            testImplementation.setResolveInDfs(true);
            assertTrue(testImplementation.isResolveInDfs());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java

                this.channelId = channelId;
                this.failureTime = System.currentTimeMillis();
                this.retryCount = 0;
                this.nextRetryTime = failureTime + 1000; // Initial 1 second delay
            }
    
            /**
             * Get channel ID
             *
             * @return channel identifier
             */
            public String getChannelId() {
                return channelId;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/entity/SearchLogEventTest.java

        }
    
        // Test source map modifications
        public void test_sourceMapModifications() {
            TestSearchLogEvent event = new TestSearchLogEvent("id", 1L, "type");
    
            // Initial empty map
            Map<String, Object> map1 = new HashMap<>();
            event.setSourceMap(map1);
            assertEquals(0, event.toSource().size());
    
            // Add elements to the map
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

                // Remaining bytes (if any) stay zero-padded
            }
    
            return nonce;
        }
    
        /**
         * Generate a secure random nonce for initial session setup.
         * This method can be used when enhanced randomness is required,
         * such as during initial key exchange or session establishment.
         *
         * @return randomized nonce appropriate for the dialect
         */
        public byte[] generateSecureNonce() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/TestLockingTest.java

            }
        }
    
        @Test
        @DisplayName("ltime field is mutable")
        void testLtimeField() {
            TestLocking t = new TestLocking();
    
            // Initial value
            assertEquals(0L, t.ltime, "ltime should start at 0");
    
            // Set new value
            long currentTime = System.currentTimeMillis();
            t.ltime = currentTime;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  10. cmd/xl-storage-format-v2.go

    // If data is not xlv2, it is returned in full.
    func readXLMetaNoData(r io.Reader, size int64) ([]byte, error) {
    	initial := size
    	hasFull := true
    	if initial > metaDataReadDefault {
    		initial = metaDataReadDefault
    		hasFull = false
    	}
    
    	buf := metaDataPoolGet()[:initial]
    	_, err := io.ReadFull(r, buf)
    	if err != nil {
    		return nil, fmt.Errorf("readXLMetaNoData(io.ReadFull): %w", err)
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 65.6K bytes
    - Viewed (1)
Back to top