Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 156 for 01234 (0.01 sec)

  1. guava-tests/benchmark/com/google/common/math/LessThanBenchmark.java

     *
     * @author Louis Wasserman
     */
    @NullUnmarked
    public class LessThanBenchmark {
      static final int SAMPLE_SIZE = 0x1000;
      static final int SAMPLE_MASK = 0x0FFF;
    
      @Param("1234")
      int randomSeed;
    
      int[] xInts;
      int[] yInts;
    
      long[] xLongs;
      long[] yLongs;
    
      int[] constant;
    
      private static final long NONNEGATIVE_LONG_MASK = 0x7FFFFFFFFFFFFFFFL;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/EncdecTest.java

    @DisplayName("Encdec Utility Tests")
    class EncdecTest extends BaseTest {
    
        @Test
        @DisplayName("Should encode and decode 16-bit integers")
        void testInt16Operations() {
            // Given
            short value = 0x1234;
            byte[] buffer = new byte[2];
    
            // When - encode little endian
            Encdec.enc_uint16le(value, buffer, 0);
            short decoded = (short) Encdec.dec_uint16le(buffer, 0);
    
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  3. src/archive/zip/zip_test.go

    		UncompressedSize: 987654321,
    		ModifiedTime:     1234,
    		ModifiedDate:     5678,
    	}
    	testHeaderRoundTrip(fh, fh.UncompressedSize, uint64(fh.UncompressedSize), t)
    }
    
    func TestFileHeaderRoundTrip64(t *testing.T) {
    	fh := &FileHeader{
    		Name:               "foo.txt",
    		UncompressedSize64: 9876543210,
    		ModifiedTime:       1234,
    		ModifiedDate:       5678,
    	}
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbTransportImplTest.java

            // Arrange
            CommonServerMessageBlockRequest req = mock(CommonServerMessageBlockRequest.class);
            when(req.getOverrideTimeout()).thenReturn(1234);
    
            // Act
            int timeout = transport.getResponseTimeout(req);
    
            // Assert
            assertEquals(1234, timeout);
        }
    
        @Test
        @DisplayName("getResponseTimeout falls back to config for non-SMB requests")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/config/BaseConfigurationTest.java

        void testInitDefaultsWithPresetFlags() throws CIFSException {
            BaseConfiguration testConfig = new BaseConfiguration(false);
            testConfig.flags2 = 0x1234;
            testConfig.capabilities = 0x5678;
    
            testConfig.initDefaults();
    
            assertEquals(0x1234, testConfig.getFlags2());
            assertEquals(0x5678, testConfig.getCapabilities());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

      }
    
      public void testInt() {
        Sink sink = new Sink(4);
        sink.putInt(0x04030201);
        HashCode unused = sink.hash();
        sink.assertInvariants(4);
        sink.assertBytes(new byte[] {1, 2, 3, 4});
      }
    
      public void testLong() {
        Sink sink = new Sink(8);
        sink.putLong(0x0807060504030201L);
        HashCode unused = sink.hash();
        sink.assertInvariants(8);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  7. .github/ISSUE_TEMPLATE/bug_report.md

    <!--- reproduce this bug. Include code to reproduce, if relevant -->
    <!--- and make sure you have followed https://github.com/minio/minio/tree/release/docs/debugging to capture relevant logs -->
    
    1.
    2.
    3.
    4.
    
    ## Context
    <!--- How has this issue affected you? What are you trying to accomplish? -->
    <!--- Providing context helps us come up with a solution that is most useful in the real world -->
    
    ## Regression
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Jan 20 17:37:40 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbPipeInputStreamTest.java

            when(fd.getTree()).thenReturn(tree);
            when(tree.isSMB2()).thenReturn(false);
            when(tree.getConfig()).thenReturn(config);
            when(config.getPid()).thenReturn(1234);
    
            // Stub send to populate the provided response instance via reflection
            Mockito.doAnswer(inv -> {
                Object resp = inv.getArgument(1);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/net/TestSmbComTransactionResponseReader.java

            assertTrue(asciiBytes.length > 0, "ASCII encoding should produce bytes");
        }
    
        @Test
        public void testBufferCreation() throws UnsupportedEncodingException {
            byte[] dataBytes = { 1, 2, 3, 4 };
            String params = "test";
            byte[] buffer = createBuffer(10, dataBytes, params);
    
            // Verify buffer structure
            assertTrue(buffer.length >= 14, "Buffer should contain header, params and data");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  10. cmd/streaming-signature-v4_test.go

    		{"10000000000000000", 0, "http chunk length too large"},
    		{"00000000000000001", 0, "http chunk length too large"}, // could accept if we wanted
    	}
    	for i := uint64(0); i <= 1234; i++ {
    		tests = append(tests, testCase{in: fmt.Sprintf("%x", i), want: i})
    	}
    	for _, tt := range tests {
    		got, err := parseHexUint([]byte(tt.in))
    		if tt.wantErr != "" {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 5.7K bytes
    - Viewed (0)
Back to top