Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 53 for 101 (0.01 sec)

  1. android/guava-tests/test/com/google/common/net/HostAndPortTest.java

            IllegalArgumentException.class,
            () -> HostAndPort.fromString("::1").requireBracketsForIPv6());
      }
    
      public void testToString() {
        // With ports.
        assertEquals("foo:101", "" + HostAndPort.fromString("foo:101"));
        assertEquals(":102", HostAndPort.fromString(":102").toString());
        assertEquals("[1::2]:103", HostAndPort.fromParts("1::2", 103).toString());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/net/HostAndPortTest.java

            IllegalArgumentException.class,
            () -> HostAndPort.fromString("::1").requireBracketsForIPv6());
      }
    
      public void testToString() {
        // With ports.
        assertEquals("foo:101", "" + HostAndPort.fromString("foo:101"));
        assertEquals(":102", HostAndPort.fromString(":102").toString());
        assertEquals("[1::2]:103", HostAndPort.fromParts("1::2", 103).toString());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/SignedBytesTest.java

      private static final byte[] ARRAY1 = {(byte) 1};
    
      private static final byte LEAST = Byte.MIN_VALUE;
      private static final byte GREATEST = Byte.MAX_VALUE;
    
      private static final byte[] VALUES = {LEAST, -1, 0, 1, GREATEST};
    
      public void testCheckedCast() {
        for (byte value : VALUES) {
          assertThat(SignedBytes.checkedCast((long) value)).isEqualTo(value);
        }
        assertCastFails(GREATEST + 1L);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/SignedBytesTest.java

      private static final byte[] ARRAY1 = {(byte) 1};
    
      private static final byte LEAST = Byte.MIN_VALUE;
      private static final byte GREATEST = Byte.MAX_VALUE;
    
      private static final byte[] VALUES = {LEAST, -1, 0, 1, GREATEST};
    
      public void testCheckedCast() {
        for (byte value : VALUES) {
          assertThat(SignedBytes.checkedCast((long) value)).isEqualTo(value);
        }
        assertCastFails(GREATEST + 1L);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/BytesTest.java

      private static final byte[] EMPTY = {};
      private static final byte[] ARRAY1 = {(byte) 1};
      private static final byte[] ARRAY234 = {(byte) 2, (byte) 3, (byte) 4};
    
      private static final byte[] VALUES = {Byte.MIN_VALUE, -1, 0, 1, Byte.MAX_VALUE};
    
      // We need to test that our method behaves like the JDK method.
      @SuppressWarnings("InlineMeInliner")
      public void testHashCode() {
        for (byte value : VALUES) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/CharsTest.java

        assertThat(input).isEqualTo(expectedOutput);
      }
    
      public void testReverseIndexed() {
        testReverse(new char[] {}, 0, 0, new char[] {});
        testReverse(new char[] {'1'}, 0, 1, new char[] {'1'});
        testReverse(new char[] {'1', '2'}, 0, 2, new char[] {'2', '1'});
        testReverse(new char[] {'3', '1', '1'}, 0, 2, new char[] {'1', '3', '1'});
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

        assertThat(input).isEqualTo(expectedOutput);
      }
    
      public void testReverseIndexed() {
        testReverse(new double[] {}, 0, 0, new double[] {});
        testReverse(new double[] {1}, 0, 1, new double[] {1});
        testReverse(new double[] {1, 2}, 0, 2, new double[] {2, 1});
        testReverse(new double[] {3, 1, 1}, 0, 2, new double[] {1, 3, 1});
        testReverse(new double[] {3, 1, 1}, 0, 1, new double[] {3, 1, 1});
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/IntsTest.java

        Ints.reverse(input, fromIndex, toIndex);
        assertThat(input).isEqualTo(expectedOutput);
      }
    
      public void testReverseIndexed() {
        testReverse(new int[] {}, 0, 0, new int[] {});
        testReverse(new int[] {1}, 0, 1, new int[] {1});
        testReverse(new int[] {1, 2}, 0, 2, new int[] {2, 1});
        testReverse(new int[] {3, 1, 1}, 0, 2, new int[] {1, 3, 1});
        testReverse(new int[] {3, 1, 1}, 0, 1, new int[] {3, 1, 1});
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.2K bytes
    - Viewed (0)
  9. cmd/erasure-sets_test.go

    		{"Cost Benefit Analysis (2009-2010).pptx", 133},
    		{"117Gn8rfHL2ACARPAhaFd0AGzic9pUbIA/5OCn5A", 185},
    		{"SHØRT", 97},
    		{"There are far too many object names, and far too few bucket names!", 101},
    		{"a/b/c/", 193},
    		{"/a/b/c", 116},
    		{string([]byte{0xff, 0xfe, 0xfd}), 61},
    	}
    
    	// Tests hashing order to be consistent.
    	for i, testCase := range testCases {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbTransportImplTest.java

                assertThrows(SmbUnsupportedOperationException.class, () -> transport.calculatePreauthHash(new byte[] { 1 }, 0, 1, null));
    
                // SMB2 flag set but no negotiation
                setField(transport, "smb2", true);
                assertThrows(SmbUnsupportedOperationException.class, () -> transport.calculatePreauthHash(new byte[] { 1 }, 0, 1, null));
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
Back to top