Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for Butcher (0.29 sec)

  1. android/guava/src/com/google/common/net/MediaType.java

      /** Matcher for type, subtype and attributes. */
      private static final CharMatcher TOKEN_MATCHER =
          ascii()
              .and(javaIsoControl().negate())
              .and(CharMatcher.isNot(' '))
              .and(CharMatcher.noneOf("()<>@,;:\\\"/[]?="));
    
      private static final CharMatcher QUOTED_TEXT_MATCHER = ascii().and(CharMatcher.noneOf("\"\\\r"));
    
      /*
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Aug 07 16:17:10 GMT 2023
    - 46.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/HashTestUtils.java

                    .putUnencodedChars("c")
                    .hash(),
                hashFunction.newHasher().putChar('a').putUnencodedChars("bc").hash(),
                hashFunction.newHasher().putUnencodedChars("ab").putChar('c').hash(),
                hashFunction.newHasher().putChar('a').putChar('b').putChar('c').hash())
            .testEquals();
    
        int size = random.nextInt(2048);
        byte[] bytes = new byte[size];
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 25.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Predicates.java

       * Returns a predicate that evaluates to {@code true} if the {@code CharSequence} being tested
       * contains any match for the given regular expression pattern. The test used is equivalent to
       * {@code Pattern.compile(pattern).matcher(arg).find()}
       *
       * @throws IllegalArgumentException if the pattern is invalid
       * @since 3.0
       */
      @GwtIncompatible // Only used by other GWT-incompatible code.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/Murmur3_32HashFunction.java

        @Override
        public Hasher putLong(long l) {
          update(4, (int) l);
          update(4, l >>> 32);
          return this;
        }
    
        @CanIgnoreReturnValue
        @Override
        public Hasher putChar(char c) {
          update(2, c);
          return this;
        }
    
        @CanIgnoreReturnValue
        @SuppressWarnings("deprecation") // need to use Charsets for Android tests to pass
        @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 11.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/eventbus/EventBusTest.java

        super.setUp();
        bus = new EventBus(BUS_IDENTIFIER);
      }
    
      public void testBasicCatcherDistribution() {
        StringCatcher catcher = new StringCatcher();
        bus.register(catcher);
        bus.post(EVENT);
    
        List<String> events = catcher.getEvents();
        assertEquals("Only one event should be delivered.", 1, events.size());
        assertEquals("Correct string should be delivered.", EVENT, events.get(0));
      }
    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)
  6. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

        super.setUp();
        bus = new EventBus(BUS_IDENTIFIER);
      }
    
      public void testBasicCatcherDistribution() {
        StringCatcher catcher = new StringCatcher();
        bus.register(catcher);
        bus.post(EVENT);
    
        List<String> events = catcher.getEvents();
        assertEquals("Only one event should be delivered.", 1, events.size());
        assertEquals("Correct string should be delivered.", EVENT, events.get(0));
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/math/PairedStatsTest.java

        byte[] buffer = MANY_VALUES_PAIRED_STATS.toByteArray();
        byte[] tooLongByteArray =
            ByteBuffer.allocate(buffer.length + 2)
                .order(ByteOrder.LITTLE_ENDIAN)
                .put(buffer)
                .putChar('.')
                .array();
        assertThrows(IllegalArgumentException.class, () -> PairedStats.fromByteArray(tooLongByteArray));
      }
    
      public void testFromByteArrayWithTooShortArrayInputThrowsIllegalArgumentException() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/math/PairedStatsTest.java

        byte[] buffer = MANY_VALUES_PAIRED_STATS.toByteArray();
        byte[] tooLongByteArray =
            ByteBuffer.allocate(buffer.length + 2)
                .order(ByteOrder.LITTLE_ENDIAN)
                .put(buffer)
                .putChar('.')
                .array();
        assertThrows(IllegalArgumentException.class, () -> PairedStats.fromByteArray(tooLongByteArray));
      }
    
      public void testFromByteArrayWithTooShortArrayInputThrowsIllegalArgumentException() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/math/StatsTest.java

        byte[] buffer = MANY_VALUES_STATS_VARARGS.toByteArray();
        byte[] tooLongByteArray =
            ByteBuffer.allocate(buffer.length + 2)
                .order(ByteOrder.LITTLE_ENDIAN)
                .put(buffer)
                .putChar('.')
                .array();
        assertThrows(IllegalArgumentException.class, () -> Stats.fromByteArray(tooLongByteArray));
      }
    
      public void testFromByteArrayWithTooShortArrayInputThrowsIllegalArgumentException() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 32.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

          assertThat(expected).hasMessageThat().matches(pattern);
          Matcher matcher = pattern.matcher(expected.getMessage());
          assertThat(matcher.matches()).isTrue();
          assertThat(matcher.group(1)).isNotEqualTo(matcher.group(2));
        }
      }
    
      public void testOf() {
        assertMapEquals(ImmutableMap.of("one", 1), "one", 1);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 27 13:27:08 GMT 2024
    - 41.3K bytes
    - Viewed (0)
Back to top