Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 153 for 5003 (1.05 seconds)

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

            // Then
            assertEquals(1000, delay1);
            assertEquals(2000, delay2);
            assertEquals(4000, delay3);
            assertEquals(5000, delay4); // Capped at max
            assertEquals(5000, delay10); // Still capped
        }
    
        @Test
        @DisplayName("Should handle non-exponential backoff")
        void testConstantBackoff() {
            // Given
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 16.1K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketReaderTest.kt

            .isEqualTo("Code must be in range [1000,5000): 1")
        }
        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() {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 16:11:23 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  3. guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java

    /**
     * Single-threaded benchmark for {@link LoadingCache}.
     *
     * @author Charles Fry
     */
    @NullUnmarked
    public class LoadingCacheSingleThreadBenchmark {
      @Param({"1000", "2000"})
      int maximumSize;
    
      @Param("5000")
      int distinctKeys;
    
      @Param("4")
      int segments;
    
      // 1 means uniform likelihood of keys; higher means some keys are more popular
      // tweak this to control hit rate
      @Param("2.5")
      double concentration;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  4. src/archive/tar/reader_test.go

    			Name:     "small.txt",
    			Mode:     0640,
    			Uid:      73025,
    			Gid:      5000,
    			Size:     5,
    			ModTime:  time.Unix(1244428340, 0),
    			Typeflag: '0',
    			Uname:    "dsymonds",
    			Gname:    "eng",
    			Format:   FormatGNU,
    		}, {
    			Name:     "small2.txt",
    			Mode:     0640,
    			Uid:      73025,
    			Gid:      5000,
    			Size:     11,
    			ModTime:  time.Unix(1244436044, 0),
    			Typeflag: '0',
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Dec 15 16:34:13 GMT 2025
    - 47.5K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java

            void testSequentialEncoding() {
                Smb2Lock lock1 = new Smb2Lock(100L, 200L, 1);
                Smb2Lock lock2 = new Smb2Lock(300L, 400L, 2);
                Smb2Lock lock3 = new Smb2Lock(500L, 600L, 4);
    
                int offset = 0;
                offset += lock1.encode(buffer, offset);
                offset += lock2.encode(buffer, offset);
                offset += lock3.encode(buffer, offset);
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb1/trans2/Trans2SetFileInformation.java

    /* jcifs smb client library in Java
     * Copyright (C) 2003  "Michael B. Allen" <jcifs at samba dot org>
     *
     * This library is free software; you can redistribute it and/or
     * modify it under the terms of the GNU Lesser General Public
     * License as published by the Free Software Foundation; either
     * version 2.1 of the License, or (at your option) any later version.
     *
     * This library is distributed in the hope that it will be useful,
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb1/util/Base64.java

    /* Encodes and decodes to and from Base64 notation.
     * Copyright (C) 2003 "Eric Glass" <jcifs at samba dot org>
     *
     * This library is free software; you can redistribute it and/or
     * modify it under the terms of the GNU Lesser General Public
     * License as published by the Free Software Foundation; either
     * version 2.1 of the License, or (at your option) any later version.
     *
     * This library is distributed in the hope that it will be useful,
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/base/StopwatchTest.java

        stopwatch.start();
        ticker.advance(1234567);
        assertEquals("1.235 ms", stopwatch.toString());
        stopwatch.reset();
        stopwatch.start();
        ticker.advance(5000000000L);
        assertEquals("5.000 s", stopwatch.toString());
        stopwatch.reset();
        stopwatch.start();
        ticker.advance((long) (1.5 * 60 * 1000000000L));
        assertEquals("1.500 min", stopwatch.toString());
        stopwatch.reset();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java

                Smb2Lock[] multipleLocks = new Smb2Lock[] { new Smb2Lock(0L, 100L, Smb2Lock.SMB2_LOCKFLAG_EXCLUSIVE_LOCK),
                        new Smb2Lock(200L, 300L, Smb2Lock.SMB2_LOCKFLAG_SHARED_LOCK), new Smb2Lock(500L, 100L, Smb2Lock.SMB2_LOCKFLAG_UNLOCK) };
                assertDoesNotThrow(() -> new Smb2LockRequest(mockConfig, testFileId, multipleLocks));
            }
    
            @Test
            @DisplayName("Should accept null locks array")
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 25.3K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb1/smb1/NetShareEnum.java

            name = "\\PIPE\\LANMAN";
            maxParameterCount = 8;
    
            //        maxDataCount = 4096; why was this set?
            maxSetupCount = (byte) 0x00;
            setupCount = 0;
            timeout = 5000;
        }
    
        @Override
        int writeSetupWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        int writeParametersWireFormat(final byte[] dst, int dstIndex) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 2.7K bytes
    - Click Count (0)
Back to Top