Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for 20000102 (0.03 sec)

  1. guava-testlib/test/com/google/common/testing/FakeTickerTest.java

        assertEquals(0, ticker.read());
        assertSame(ticker, ticker.advance(10));
        assertEquals(10, ticker.read());
        ticker.advance(1, MILLISECONDS);
        assertEquals(1000010L, ticker.read());
        ticker.advance(Duration.ofMillis(1));
        assertEquals(2000010L, ticker.read());
      }
    
      public void testAutoIncrementStep_returnsSameInstance() {
        FakeTicker ticker = new FakeTicker();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  2. android/guava-testlib/test/com/google/common/testing/FakeTickerTest.java

        assertEquals(0, ticker.read());
        assertSame(ticker, ticker.advance(10));
        assertEquals(10, ticker.read());
        ticker.advance(1, MILLISECONDS);
        assertEquals(1000010L, ticker.read());
        ticker.advance(Duration.ofMillis(1));
        assertEquals(2000010L, ticker.read());
      }
    
      public void testAutoIncrementStep_returnsSameInstance() {
        FakeTicker ticker = new FakeTicker();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

                referralData =
                        DfsReferralDataImpl.fromReferral(mockReferral, "\\\\server\\share\\path", System.currentTimeMillis() + 10000, 10);
            }
        }
    
        @Nested
        @DisplayName("FromReferral Factory Method Tests")
        class FromReferralTests {
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/hash/BloomFilterTest.java

            .addEqualityGroup(BloomFilter.create(Funnels.byteArrayFunnel(), 200, 0.02))
            .addEqualityGroup(BloomFilter.create(Funnels.unencodedCharsFunnel(), 100, 0.01))
            .addEqualityGroup(BloomFilter.create(Funnels.unencodedCharsFunnel(), 100, 0.02))
            .addEqualityGroup(BloomFilter.create(Funnels.unencodedCharsFunnel(), 200, 0.01))
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 22K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponseTest.java

                basicInfo.createTime = 1000000L;
                basicInfo.lastWriteTime = 2000000L;
                basicInfo.lastAccessTime = 1500000L;
                basicInfo.changeTime = 2500000L;
    
                assertEquals(0x20, basicInfo.getAttributes());
                assertEquals(1000000L, basicInfo.getCreateTime());
                assertEquals(2000000L, basicInfo.getLastWriteTime());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java

            // Prepare buffer with FileFsFullSizeInformation data
            byte[] buffer = new byte[100];
            int offset = 0;
    
            // totalAllocationUnits (8 bytes)
            SMBUtil.writeInt8(2000000L, buffer, offset);
            offset += 8;
    
            // callerAvailableAllocationUnits (8 bytes)
            SMBUtil.writeInt8(800000L, buffer, offset);
            offset += 8;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/Trans2FindFirst2ResponseTest.java

            info.filename = "test.txt";
            info.extFileAttributes = SmbFile.ATTR_ARCHIVE;
            info.creationTime = 1672531200000L; // 2023-01-01
            info.lastWriteTime = 1672617600000L; // 2023-01-02
            info.endOfFile = 1024;
    
            assertEquals("test.txt", info.getName());
            assertEquals(SmbFile.TYPE_FILESYSTEM, info.getType());
            assertEquals(SmbFile.ATTR_ARCHIVE, info.getAttributes());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java

            // Group SID at offset 40
            buffer.position(40);
            buffer.put((byte) 0x01); // Revision
            buffer.put((byte) 0x01); // SubAuthorityCount
            buffer.put(new byte[] { 0, 0, 0, 0, 0, 2 }); // IdentifierAuthority
            buffer.putInt(0); // SubAuthority
    
            // DACL at offset 60
            buffer.position(60);
            buffer.put((byte) 0x02); // AclRevision
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/rdma/RdmaErrorHandler.java

     */
    public class RdmaErrorHandler {
    
        private static final Logger log = LoggerFactory.getLogger(RdmaErrorHandler.class);
    
        // Retry and timing constants (in ms)
        private static final long MAX_RETRY_DELAY = 10000; // 10 seconds maximum delay
        private static final int MAX_BACKOFF_SHIFT = 4; // Maximum 16x multiplier
    
        private final RdmaStatistics statistics;
        private final int maxRetries;
        private final long retryDelayMs;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java

            // Prepare test data with offset
            byte[] buffer = new byte[30];
            int bufferIndex = 5; // Start at offset 5
            int idFileSystem = 0xFFFFFFFF;
            int sectPerAlloc = 16;
            long alloc = 2000000L;
            long free = 1500000L;
            int bytesPerSect = 1024;
    
            // Encode test data at offset
            int offset = bufferIndex;
            SMBUtil.writeInt4(idFileSystem, buffer, offset);
            offset += 4;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
Back to top