Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 288 for 10000 (0.01 sec)

  1. src/test/java/jcifs/dcerpc/msrpc/lsarpcTest.java

            when(mockNdrBuffer.dec_ndr_short()).thenReturn((int) (short) 10, (int) (short) 20, (int) (short) 0, (int) (short) 0,
                    (int) (short) 0, (int) (short) 0);
            when(mockNdrBuffer.dec_ndr_long()).thenReturn(1, 0, 0, 0, 0);
            when(mockDeferredNdrBuffer.dec_ndr_long()).thenReturn(-1, 0, 5); // Invalid _name_buffers
    
            assertThrows(NdrException.class, () -> dnsDomainInfo.decode(mockNdrBuffer));
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 60.8K bytes
    - Viewed (0)
  2. cmd/xl-storage_test.go

    	}
    	var versions [50]string
    	for i := range versions {
    		versions[i] = uuid.New().String()
    		fi := FileInfo{
    			Name: object, Volume: volume, VersionID: versions[i], ModTime: UTCNow(), DataDir: "", Size: 10000,
    			Erasure: ErasureInfo{
    				Algorithm:    erasureAlgorithm,
    				DataBlocks:   4,
    				ParityBlocks: 4,
    				BlockSize:    blockSizeV2,
    				Index:        1,
    				Distribution: []int{0, 1, 2, 3, 4, 5, 6, 7},
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 66K bytes
    - Viewed (0)
  3. cmd/bucket-replication.go

    		lrgworkers:      make([]chan ReplicationWorkerOperation, 0, maxLWorkers),
    		mrfReplicaCh:    make(chan ReplicationWorkerOperation, 100000),
    		mrfWorkerKillCh: make(chan struct{}, failedWorkers),
    		resyncer:        newresyncer(),
    		mrfSaveCh:       make(chan MRFReplicateEntry, 100000),
    		mrfStopCh:       make(chan struct{}, 1),
    		ctx:             ctx,
    		objLayer:        o,
    		stats:           stats,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 118K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

            // Given: Multiple addresses with different fail counts
            Address addr1 = mock(Address.class);
            when(addr1.getHostAddress()).thenReturn("10.0.0.1");
    
            Address addr2 = mock(Address.class);
            when(addr2.getHostAddress()).thenReturn("10.0.0.2");
    
            when(nameSvc.getAllByName(eq("test.server"), eq(true))).thenReturn(new Address[] { addr1, addr2 });
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/convert/DoubleConversionUtilTest.java

         */
        public void testToDouble() throws Exception {
            assertEquals(Double.valueOf("1000.5"), DoubleConversionUtil.toDouble("1,000.5"));
        }
    
        /**
         * @throws Exception
         */
        public void testToPrimitiveDouble() throws Exception {
            assertEquals(1000.5, DoubleConversionUtil.toPrimitiveDouble("1,000.5"), 0);
        }
    
        /**
         * @throws Exception
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/convert/FloatConversionUtilTest.java

         */
        public void testToFloat() throws Exception {
            assertEquals(Float.valueOf("1000.5"), FloatConversionUtil.toFloat("1,000.5"));
        }
    
        /**
         * @throws Exception
         */
        public void testToPrimitiveFloat() throws Exception {
            assertEquals(1000.5, FloatConversionUtil.toPrimitiveFloat("1,000.5"), 0);
        }
    
        /**
         * @throws Exception
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

      }
    
      @Test
      fun streamDiscardingIsTimely() {
        // This response takes at least a full second to serve: 10,000 bytes served 100 bytes at a time.
        server.enqueue(
          MockResponse
            .Builder()
            .body(Buffer().write(ByteArray(10000)))
            .throttleBody(100, 10, TimeUnit.MILLISECONDS)
            .build(),
        )
        server.enqueue(
          MockResponse(body = "A"),
        )
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 133.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Response.java

            if (timeout100Ns == 0) {
                return 0; // Persistent handles
            }
            // Convert from 100-nanosecond intervals to milliseconds
            // 1 ms = 10,000 * 100ns intervals
            return timeout100Ns / 10000L;
        }
    
        /**
         * Get the flags
         * @return the flags
         */
        public int getFlags() {
            return flags;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Request.java

            if (timeoutMs == 0) {
                return 0L; // Persistent handles use 0
            }
            // Convert milliseconds to 100-nanosecond intervals
            // 1 ms = 10,000 * 100ns intervals
            long intervals = timeoutMs * 10000L;
            // MS-SMB2 timeout field is 4 bytes (uint32), so clamp to max value
            return Math.min(intervals, 0xFFFFFFFFL);
        }
    
        /**
         * Get the flags
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java

                Long expiration = System.currentTimeMillis() + 10000L;
                echoResponse.setExpiration(expiration);
    
                assertEquals(expiration, echoResponse.getExpiration());
            }
    
            @Test
            @DisplayName("Should handle null expiration")
            void testNullExpiration() {
                Long expiration = 1000L;
                echoResponse.setExpiration(expiration);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
Back to top