Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 131 for weird (0.19 sec)

  1. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

          value.updateTimestamp();
          return value.getValue();
        } else {
          statsCounter.recordEviction();
          statsCounter.recordMisses(1);
          // `key` was in the cache, so it's a K.
          // (Or it's a weird case like a LinkedList in a Cache<ArrayList, ...>, but *shrug*.)
          @SuppressWarnings("unchecked")
          K castKey = (K) key;
          alertListenerIfPresent(castKey, value.getValue(), RemovalCause.EXPIRED);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 27 19:19:19 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/net/HttpHeadersTest.java

     *
     * @author Kurt Alfred Kluever
     */
    public class HttpHeadersTest extends TestCase {
    
      public void testConstantNameMatchesString() throws Exception {
        // Special case some of the weird HTTP Header names...
        ImmutableBiMap<String, String> specialCases =
            ImmutableBiMap.<String, String>builder()
                .put("CDN_LOOP", "CDN-Loop")
                .put("ETAG", "ETag")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 22 21:08:08 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/net/HttpHeadersTest.java

     *
     * @author Kurt Alfred Kluever
     */
    public class HttpHeadersTest extends TestCase {
    
      public void testConstantNameMatchesString() throws Exception {
        // Special case some of the weird HTTP Header names...
        ImmutableBiMap<String, String> specialCases =
            ImmutableBiMap.<String, String>builder()
                .put("CDN_LOOP", "CDN-Loop")
                .put("ETAG", "ETag")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 22 21:08:08 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/AllEqualOrdering.java

    final class AllEqualOrdering extends Ordering<@Nullable Object> implements Serializable {
      static final AllEqualOrdering INSTANCE = new AllEqualOrdering();
    
      @Override
      @SuppressWarnings("UnusedVariable") // intentionally weird Comparator
      public int compare(@CheckForNull Object left, @CheckForNull Object right) {
        return 0;
      }
    
      @Override
      public <E extends @Nullable Object> List<E> sortedCopy(Iterable<E> iterable) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:24:26 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/AllEqualOrdering.java

    final class AllEqualOrdering extends Ordering<@Nullable Object> implements Serializable {
      static final AllEqualOrdering INSTANCE = new AllEqualOrdering();
    
      @Override
      @SuppressWarnings("UnusedVariable") // intentionally weird Comparator
      public int compare(@CheckForNull Object left, @CheckForNull Object right) {
        return 0;
      }
    
      @Override
      public <E extends @Nullable Object> List<E> sortedCopy(Iterable<E> iterable) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:24:26 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/CharSequenceReader.java

       *   mutation, which is not an actual risk because we use `synchronized`.
       * - Make `remaining` require a non-null `seq` argument. But this is a bit weird because the
       *   method, while it would avoid the instance field `seq` would still access the instance field
       *   `pos`.
       */
    
      @Override
      public synchronized int read(CharBuffer target) throws IOException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/CharSequenceReader.java

       *   mutation, which is not an actual risk because we use `synchronized`.
       * - Make `remaining` require a non-null `seq` argument. But this is a bit weird because the
       *   method, while it would avoid the instance field `seq` would still access the instance field
       *   `pos`.
       */
    
      @Override
      public synchronized int read(CharBuffer target) throws IOException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  8. cmd/storage-rest_test.go

    	}{
    		{"foo", "myobject", testData, false, false},
    		{"foo", "myobject-0byte", []byte{}, false, false},
    		// volume not found error.
    		{"foo-bar", "myobject", testData, true, false},
    		// Test some weird characters over the wire.
    		{"foo", "newline\n", testData, false, true},
    		{"foo", "newline\t", testData, false, true},
    		{"foo", "newline \n", testData, false, true},
    		{"foo", "newline$$$\n", testData, false, true},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 22 07:04:48 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/graph/AbstractBaseGraph.java

            throw new UnsupportedOperationException();
          }
    
          // Mostly safe: We check contains(u) before calling successors(u), so we perform unsafe
          // operations only in weird cases like checking for an EndpointPair<ArrayList> in a
          // Graph<LinkedList>.
          @SuppressWarnings("unchecked")
          @Override
          public boolean contains(@CheckForNull Object obj) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/DuplexTest.kt

            .isEqualTo("response body")
          requestBody.close()
          assertThat(responseBody.readUtf8Line()).isNull()
        }
        body.awaitSuccess()
      }
    
      /**
       * Duplex calls that have follow-ups are weird. By the time we know there's a follow-up we've
       * already split off another thread to stream the request body. Because we permit at most one
       * exchange at a time we break the request stream out from under that writer.
       */
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 23.9K bytes
    - Viewed (0)
Back to top