Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 750 for 1000 (0.01 sec)

  1. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java

            assertEquals(0, transPeekNamedPipe.readDataWireFormat(largeBuffer, 0, 1000));
        }
    
        @Test
        @DisplayName("Should verify all write methods except setup return 0")
        void testWriteMethodsReturnCorrectValues() {
            // Arrange
            transPeekNamedPipe = new TransPeekNamedPipe(mockConfig, TEST_PIPE_NAME, TEST_FID);
            byte[] buffer = new byte[100];
    
            // Act & Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java

            trans2FindNext2 = new Trans2FindNext2(config, TEST_SID, TEST_RESUME_KEY, TEST_FILENAME, TEST_BATCH_COUNT, TEST_BATCH_SIZE);
    
            for (int i = 1; i <= 5; i++) {
                int newResumeKey = i * 1000;
                String newFilename = "file" + i + ".txt";
    
                trans2FindNext2.reset(newResumeKey, newFilename);
    
                byte[] buffer = new byte[256];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/witness/WitnessRpcClient.java

                message.setClientComputerName(context.getConfig().getNetbiosHostname());
                message.setFlags(request.getFlags());
                message.setTimeout((int) (context.getConfig().getWitnessRegistrationTimeout() / 1000));
    
                // Send the RPC request
                rpcHandle.sendrecv(message);
    
                // Create response from RPC message results
                WitnessRegisterResponse response = new WitnessRegisterResponse();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  4. cmd/globals.go

    	diskAssumeUnknownSize = 1 << 30
    
    	// diskMinInodes is the minimum number of inodes we want free on a disk to perform writes.
    	diskMinInodes = 1000
    
    	// tlsClientSessionCacheSize is the cache size for client sessions.
    	tlsClientSessionCacheSize = 100
    )
    
    func init() {
    	// Injected to prevent circular dependency.
    	pubsub.GetByteBuffer = grid.GetByteBuffer
    }
    
    type poolDisksLayout struct {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 16.2K bytes
    - Viewed (1)
  5. src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java

            assertTrue("Test should complete quickly (duration: " + duration + "ms)", duration < 1000);
        }
    
        // Fast mock implementations to minimize overhead
    
        private static class FastMockIndexUpdateCallback implements IndexUpdateCallback {
            @Override
            public long getExecuteTime() {
                return 100L;
            }
    
            @Override
            public long getDocumentSize() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

             * that this will suffice. I have not even benchmarked with different size limits.
             */
            if (validClasses.size() > 1000) {
              validClasses.clear();
            }
    
            validClasses.add(new WeakReference<Class<? extends Exception>>(exceptionClass));
          }
        }
    
        /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/netbios/NbtAddress.java

            if (CACHE_POLICY == 0) {
                return;
            }
            long expiration = -1;
            if (CACHE_POLICY != FOREVER) {
                expiration = System.currentTimeMillis() + CACHE_POLICY * 1000;
            }
            cacheAddress(hostName, addr, expiration);
        }
    
        static void cacheAddress(final Name hostName, final NbtAddress addr, final long expiration) {
            if (CACHE_POLICY == 0) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.7K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/RelatedQueryHelperTest.java

            }
        }
    
        static class MockFessConfig extends FessConfig.SimpleImpl {
            @Override
            public Integer getPageRelatedqueryMaxFetchSizeAsInteger() {
                return 1000;
            }
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt

          if (deltaSeconds == Long.MIN_VALUE) {
            expiresAt = Long.MIN_VALUE
          } else if (deltaSeconds != -1L) {
            val deltaMilliseconds =
              if (deltaSeconds <= Long.MAX_VALUE / 1000) {
                deltaSeconds * 1000
              } else {
                Long.MAX_VALUE
              }
            expiresAt = currentTimeMillis + deltaMilliseconds
            if (expiresAt < currentTimeMillis || expiresAt > MAX_DATE) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketReaderTest.kt

        data.write("88021388".decodeHex()) // Close with code 5000
        assertFailsWith<ProtocolException> {
          clientReader.processNextFrame()
        }.also { expected ->
          assertThat(expected.message)
            .isEqualTo("Code must be in range [1000,5000): 5000")
        }
      }
    
      @Test fun closeReservedSetThrows() {
        data.write("880203ec".decodeHex()) // Close with code 1004
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 14.4K bytes
    - Viewed (0)
Back to top