Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 161 for 1234 (0.01 sec)

  1. guava-tests/test/com/google/common/primitives/IntsTest.java

        testRotate(new int[] {1, 2, 3}, 4, new int[] {3, 1, 2});
        testRotate(new int[] {1, 2, 3}, 5, new int[] {2, 3, 1});
    
        testRotate(new int[] {1, 2, 3, 4}, -9, new int[] {2, 3, 4, 1});
        testRotate(new int[] {1, 2, 3, 4}, -5, new int[] {2, 3, 4, 1});
        testRotate(new int[] {1, 2, 3, 4}, -1, new int[] {2, 3, 4, 1});
        testRotate(new int[] {1, 2, 3, 4}, 0, new int[] {1, 2, 3, 4});
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 29.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/Collections2Test.java

      }
    
      public void testPermutationSetFourElements() {
        Iterator<List<Integer>> permutations =
            Collections2.permutations(newArrayList(1, 2, 3, 4)).iterator();
        assertNextPermutation(newArrayList(1, 2, 3, 4), permutations);
        assertNextPermutation(newArrayList(1, 2, 4, 3), permutations);
        assertNextPermutation(newArrayList(1, 4, 2, 3), permutations);
        assertNextPermutation(newArrayList(4, 1, 2, 3), permutations);
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.1K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RouteSelectorTest.kt

        var socketAddress = InetSocketAddress.createUnresolved("host", 1234)
        assertThat(socketAddress.socketHost).isEqualTo("host")
        socketAddress = InetSocketAddress.createUnresolved("127.0.0.1", 1234)
        assertThat(socketAddress.socketHost).isEqualTo("127.0.0.1")
    
        // InetAddress proxy specification.
        socketAddress = InetSocketAddress(InetAddress.getByName("localhost"), 1234)
        assertThat(socketAddress.socketHost).isEqualTo("127.0.0.1")
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Oct 08 03:50:05 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/HandlerTest.java

        void testParseURL_ExplicitPortPreserved() throws MalformedURLException {
            // Arrange & Act
            Handler handler = newHandler();
            URL url = new URL(null, "smb://server:1234/share", handler);
    
            // Assert
            assertEquals(1234, url.getPort(), "Explicit port should be preserved");
            assertEquals("smb", url.getProtocol());
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/math/StatsTesting.java

      // Inputs and their statistics:
    
      static final double ONE_VALUE = 12.34;
    
      static final double OTHER_ONE_VALUE = -56.78;
    
      static final ImmutableList<Double> TWO_VALUES = ImmutableList.of(12.34, -56.78);
      static final double TWO_VALUES_MEAN = (12.34 - 56.78) / 2;
      static final double TWO_VALUES_SUM_OF_SQUARES_OF_DELTAS =
          (12.34 - TWO_VALUES_MEAN) * (12.34 - TWO_VALUES_MEAN)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  6. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. 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 Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  8. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  9. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  10. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:19:59 UTC 2025
    - 8.6K bytes
    - Viewed (0)
Back to top