Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of about 10,000 for four (0.08 sec)

  1. guava/src/com/google/common/base/Utf8.java

        int utf16Length = sequence.length();
        int utf8Length = utf16Length;
        int i = 0;
    
        // This loop optimizes for pure ASCII.
        while (i < utf16Length && sequence.charAt(i) < 0x80) {
          i++;
        }
    
        // This loop optimizes for chars less than 0x800.
        for (; i < utf16Length; i++) {
          char c = sequence.charAt(i);
          if (c < 0x800) {
            utf8Length += ((0x7f - c) >>> 31); // branch free!
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/IteratorsTest.java

        Iterator<String> iterator = asList("one", "two", "three", "four", "five").iterator();
        IllegalArgumentException expected =
            assertThrows(IllegalArgumentException.class, () -> getOnlyElement(iterator));
        assertThat(expected)
            .hasMessageThat()
            .isEqualTo("expected one element but was: <one, two, three, four, five>");
      }
    
      public void testGetOnlyElement_noDefault_moreThanFiveElements() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/SortedMultisetTestSuiteBuilder.java

            .createTestSuite();
      }
    
      /**
       * Returns an array of four bogus elements that will always be too high or too low for the
       * display. This includes two values for each extreme.
       *
       * <p>This method (dangerously) assume that the strings {@code "!! a"} and {@code "~~ z"} will
       * work for this purpose, which may cause problems for navigable maps with non-string or unicode
       * generators.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12K bytes
    - Viewed (0)
  4. src/main/java/jcifs/netbios/NbtAddress.java

     * 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,
     * but WITHOUT ANY WARRANTY; without even the implied warranty of
     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     * Lesser General Public License for more details.
     * 
     * You should have received a copy of the GNU Lesser General Public
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 15.2K bytes
    - Viewed (0)
  5. okhttp-idna-mapping-table/src/main/resources/okhttp3/internal/idna/IdnaMappingTable.txt

    335D          ; mapped                 ; 0035 70B9     # 1.1  IDEOGRAPHIC TELEGRAPH SYMBOL FOR HOUR FIVE
    335E          ; mapped                 ; 0036 70B9     # 1.1  IDEOGRAPHIC TELEGRAPH SYMBOL FOR HOUR SIX
    335F          ; mapped                 ; 0037 70B9     # 1.1  IDEOGRAPHIC TELEGRAPH SYMBOL FOR HOUR SEVEN
    3360          ; mapped                 ; 0038 70B9     # 1.1  IDEOGRAPHIC TELEGRAPH SYMBOL FOR HOUR EIGHT
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Feb 10 11:25:47 UTC 2024
    - 854.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/SetsTest.java

        Set<Object> zero = ImmutableSet.of();
        Set<Set<Object>> one = powerSet(zero);
        Set<Set<Set<Object>>> two = powerSet(one);
        Set<Set<Set<Set<Object>>>> four = powerSet(two);
        Set<Set<Set<Set<Set<Object>>>>> sixteen = powerSet(four);
        Set<Set<Set<Set<Set<Set<Object>>>>>> sixtyFiveThousandish = powerSet(sixteen);
        assertEquals(1 << 16, sixtyFiveThousandish.size());
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 48.6K bytes
    - Viewed (0)
  7. cmd/object-api-multipart_test.go

    		inputReaderData string
    		inputMd5        string
    		inputDataSize   int64
    		expectedMd5     string
    	}{
    		// Case 1-4.
    		// Creating sequence of parts for same uploadID.
    		// Used to ensure that the ListMultipartResult produces one output for the four parts uploaded below for the given upload ID.
    		{bucketNames[0], objectNames[0], uploadIDs[0], 1, "abcd", "e2fc714c4727ee9395f324cd2e7f331f", int64(len("abcd")), "e2fc714c4727ee9395f324cd2e7f331f"},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 88.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/BytesTest.java

        assertThat(Bytes.toArray(three)).isEqualTo(array);
    
        assertThat(Bytes.toArray(Bytes.asList(array))).isEqualTo(array);
      }
    
      public void testToArray_threadSafe() {
        for (int delta : new int[] {+1, 0, -1}) {
          for (int i = 0; i < VALUES.length; i++) {
            List<Byte> list = Bytes.asList(VALUES).subList(0, i);
            Collection<Byte> misleadingSize = Helpers.misleadingSizeCollection(delta);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/primitives/BytesTest.java

        assertThat(Bytes.toArray(three)).isEqualTo(array);
    
        assertThat(Bytes.toArray(Bytes.asList(array))).isEqualTo(array);
      }
    
      public void testToArray_threadSafe() {
        for (int delta : new int[] {+1, 0, -1}) {
          for (int i = 0; i < VALUES.length; i++) {
            List<Byte> list = Bytes.asList(VALUES).subList(0, i);
            Collection<Byte> misleadingSize = Helpers.misleadingSizeCollection(delta);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

     *       thread, an RPC, etc. The {@code Future} is also "completed" if it fails "early" -- for
     *       example, if the deadline expires on a {@code Future} returned from {@link
     *       Futures#withTimeout} while the {@code Future} it wraps continues its underlying work. So
     *       beware: <i>Your {@code AsyncCallable} should not complete its {@code Future} until it is
     *       safe for the next task to start.</i>
     * </ul>
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 22.1K bytes
    - Viewed (0)
Back to top