Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 247 for Schick (0.2 sec)

  1. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

        public static void staticOneArgCheckForNullThrowsNPE(@javax.annotation.CheckForNull String s) {
          checkNotNull(s); // doesn't check if you said you'd accept null, but you don't
        }
    
        public static void staticOneArgNullableThrowsNPE(@Nullable String s) {
          checkNotNull(s); // doesn't check if you said you'd accept null, but you don't
        }
    
        public void oneArgCorrectlyThrowsNpe(String s) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 47.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/SmallCharMatcher.java

        int index = startingIndex;
        do {
          if (table[index] == 0) { // Check for empty.
            return false;
          } else if (table[index] == c) { // Check for match.
            return true;
          } else { // Linear probing.
            index = (index + 1) & mask;
          }
          // Check to see if we wrapped around the whole table.
        } while (index != startingIndex);
        return false;
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/hash/BloomFilterTest.java

        // Assert that the BF "might" have all of the even numbers.
        for (int i = 0; i < numInsertions * 2; i += 2) {
          assertTrue(bf.mightContain(Integer.toString(i)));
        }
    
        // Now we check for known false positives using a set of known false positives.
        // (These are all of the false positives under 900.)
        ImmutableSet<Integer> falsePositives =
            ImmutableSet.of(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  4. .github/workflows/ci.yml

          - name: 'Cancel previous runs'
            uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1
            with:
              access_token: ${{ github.token }}
          - name: 'Check out repository'
            uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
          - name: 'Set up JDK ${{ matrix.java }}'
            uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1
    
    Others
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 24 19:33:50 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Utf8.java

            utf8Length += (0x7f - c) >>> 31; // branch free!
          } else {
            utf8Length += 2;
            // jdk7+: if (Character.isSurrogate(c)) {
            if (MIN_SURROGATE <= c && c <= MAX_SURROGATE) {
              // Check that we have a well-formed surrogate pair.
              if (Character.codePointAt(sequence, i) == c) {
                throw new IllegalArgumentException(unpairedSurrogateMsg(i));
              }
              i++;
            }
          }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 10 14:11:51 GMT 2023
    - 7K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/RelationshipTester.java

          for (int itemNumber = 0; itemNumber < group.size(); itemNumber++) {
            // check related items in same group
            for (int relatedItemNumber = 0; relatedItemNumber < group.size(); relatedItemNumber++) {
              if (itemNumber != relatedItemNumber) {
                assertRelated(groupNumber, itemNumber, relatedItemNumber);
              }
            }
            // check unrelated items in all other groups
            for (int unrelatedGroupNumber = 0;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Apr 25 11:57:12 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/eventbus/EventBusTest.java

        bus.post(EVENT);
        bus.post(objEvent);
        bus.post(compEvent);
    
        // Check the StringCatcher...
        List<String> stringEvents = stringCatcher.getEvents();
        assertEquals("Only one String should be delivered.", 1, stringEvents.size());
        assertEquals("Correct string should be delivered.", EVENT, stringEvents.get(0));
    
        // Check the Catcher<Object>...
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

        bus.post(EVENT);
        bus.post(objEvent);
        bus.post(compEvent);
    
        // Check the StringCatcher...
        List<String> stringEvents = stringCatcher.getEvents();
        assertEquals("Only one String should be delivered.", 1, stringEvents.size());
        assertEquals("Correct string should be delivered.", EVENT, stringEvents.get(0));
    
        // Check the Catcher<Object>...
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  9. android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

       * have registered, and set false by the {@code tearDown}. We use a dynamic proxy to intercept all
       * of the {@code Map} method calls and check that {@code setUpRan} is true.
       */
      private static class CheckSetUpHashMapGenerator extends WrappedHashMapGenerator {
        private final AtomicBoolean setUpRan;
    
        CheckSetUpHashMapGenerator(AtomicBoolean setUpRan) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 11.5K bytes
    - Viewed (0)
  10. guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

       * have registered, and set false by the {@code tearDown}. We use a dynamic proxy to intercept all
       * of the {@code Map} method calls and check that {@code setUpRan} is true.
       */
      private static class CheckSetUpHashMapGenerator extends WrappedHashMapGenerator {
        private final AtomicBoolean setUpRan;
    
        CheckSetUpHashMapGenerator(AtomicBoolean setUpRan) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 11.9K bytes
    - Viewed (0)
Back to top