Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 157 for 1000ms (0.03 seconds)

  1. src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java

        }
    
        @ParameterizedTest
        @DisplayName("Test with various timeout values")
        @ValueSource(longs = { 0L, 1L, -1L, Long.MAX_VALUE, Long.MIN_VALUE, 1000L, -1000L })
        void testWithVariousTimeoutValues(long timeout) {
            // Setup
            String pipeName = "TestPipe";
            FsctlPipeWaitRequest request = new FsctlPipeWaitRequest(pipeName, timeout);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  2. src/main/webapp/WEB-INF/view/admin/fileconfig/admin_fileconfig_edit.jsp

                                            <input type="number" name="depth" id="depth"
                                                   value="${f:h(depth)}" class="form-control"
                                                   min="0" max="10000">
                                        </div>
                                    </div>
                                    <div class="form-group row">
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 15.3K bytes
    - Click Count (0)
  3. src/test/java/jcifs/netbios/UniAddressTest.java

            }
    
            @Test
            void shouldReturnInetAddressFromWrappedAddressWhenWrappedIsAddress() throws UnknownHostException {
                InetAddress expectedInetAddress = InetAddress.getByName("10.0.0.1");
                when(mockAddress.toInetAddress()).thenReturn(expectedInetAddress);
                UniAddress uniAddress = new UniAddress(mockAddress);
                assertEquals(expectedInetAddress, uniAddress.toInetAddress());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 16.4K bytes
    - Click Count (0)
  4. internal/config/dns/etcd_dns.go

    		}
    		srvRecord.Key = strings.TrimPrefix(string(n.Key), key)
    		srvRecord.Key = strings.TrimSuffix(srvRecord.Key, srvRecord.Host)
    
    		// Skip non-bucket entry like for a key
    		// /skydns/net/miniocloud/10.0.0.1 that may exist as
    		// dns entry for the server (rather than the bucket
    		// itself).
    		if srvRecord.Key == "" {
    			continue
    		}
    
    		srvRecord.Key = msgUnPath(srvRecord.Key)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 8K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

        assertThat(min(NUMBERS)).isEqualTo(LEAST);
        assertThat(Double.isNaN(min(VALUES))).isTrue();
      }
    
      public void testConstrainToRange() {
        assertThat(Doubles.constrainToRange(1.0, 0.0, 5.0)).isEqualTo(1.0);
        assertThat(Doubles.constrainToRange(1.0, 1.0, 5.0)).isEqualTo(1.0);
        assertThat(Doubles.constrainToRange(1.0, 3.0, 5.0)).isEqualTo(3.0);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 30.9K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java

                assertEquals(2000L * 4 * 1024, fileFsSizeInfo.getCapacity());
                assertEquals(2000L * 4 * 1024, fileFsSizeInfo.getCapacity());
                assertEquals(1000L * 4 * 1024, fileFsSizeInfo.getFree());
                assertEquals(1000L * 4 * 1024, fileFsSizeInfo.getFree());
            }
    
            @Test
            @DisplayName("Should update state on subsequent decode calls")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 25.9K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/SmbOperationExceptionTest.java

            assertEquals(2, conservativePolicy.getMaxAttempts());
            assertEquals(2000, conservativePolicy.getInitialDelayMs());
            assertEquals(10000, conservativePolicy.getMaxDelayMs());
            assertEquals(3.0, conservativePolicy.getBackoffMultiplier());
            assertTrue(conservativePolicy.isExponentialBackoff());
    
            // NO_RETRY policy
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 16.1K bytes
    - Click Count (0)
  8. docs/smb3-features/06-witness-protocol-design.md

        private final Queue<WitnessNotification> pendingNotifications;
        private final ScheduledExecutorService scheduler;
        private final int batchSize = 10;
        private final long batchTimeout = 100;  // 100ms
        
        public void addNotification(WitnessNotification notification) {
            synchronized (pendingNotifications) {
                pendingNotifications.offer(notification);
                
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 42K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/math/IntMathTest.java

        // Defer correctness tests to Long.isPrime
    
        // Check the first 100,000 integers
        for (int i = 0; i < 100000; i++) {
          assertEquals(LongMath.isPrime(i), IntMath.isPrime(i));
        }
    
        // Then check 1000 deterministic pseudo-random int values.
        Random rand = new Random(1);
        for (int i = 0; i < 1000; i++) {
          int n = rand.nextInt(Integer.MAX_VALUE);
          assertEquals(LongMath.isPrime(n), IntMath.isPrime(n));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 24.1K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

            }
    
            @Test
            @DisplayName("Should decode efficiently for large buffers")
            void testLargeBufferDecoding() throws SMBProtocolDecodingException {
                byte[] largeBuffer = new byte[10000];
                FileFsSizeInformation info = new FileFsSizeInformation();
    
                long startTime = System.nanoTime();
                info.decode(largeBuffer, 0, 24);
                long endTime = System.nanoTime();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.1K bytes
    - Click Count (0)
Back to Top