Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2001 - 2010 of 2,047 for Defaults (0.07 sec)

  1. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

        assertSame(CharMatcher.none(), CharMatcher.none().and(WHATEVER));
        assertSame(WHATEVER, CharMatcher.none().or(WHATEVER));
      }
    
      // The rest of the behavior of ANY and DEFAULT will be covered in the tests for
      // the text processing methods below.
    
      public void testWhitespaceBreakingWhitespaceSubset() throws Exception {
        for (int c = 0; c <= Character.MAX_VALUE; c++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 18:32:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

       * @param sendConnectionPreface true to send connection preface frames. This should always be true
       *     except for in tests that don't check for a connection preface.
       * @param taskRunner the TaskRunner to use, daemon by default.
       */
      @Throws(IOException::class)
      @JvmOverloads
      fun start(sendConnectionPreface: Boolean = true) {
        if (sendConnectionPreface) {
          writer.connectionPreface()
          writer.settings(okHttpSettings)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableSortedMap.java

            // requireNonNull is safe because the first `size` elements have been filled in.
            Entry<K, V> onlyEntry = requireNonNull(entryArray[0]);
            return of(comparator, onlyEntry.getKey(), onlyEntry.getValue());
          default:
            Object[] keys = new Object[size];
            Object[] values = new Object[size];
            if (sameComparator) {
              // Need to check for nulls, but don't need to sort or validate.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  4. cmd/metacache-entries.go

    			// Same, discard one.
    			merged = append(merged, a[0])
    			a = a[1:]
    			b = b[1:]
    		case a[0].name < b[0].name:
    			merged = append(merged, a[0])
    			a = a[1:]
    		default:
    			merged = append(merged, b[0])
    			b = b[1:]
    		}
    		if limit > 0 && len(merged) >= limit {
    			break
    		}
    	}
    	// Append anything left.
    	if limit < 0 || len(merged) < limit {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  5. src/bytes/buffer_test.go

    			wantError := "bytes.Buffer: reader returned negative count from Read"
    			if err.Error() != wantError {
    				t.Fatalf("recovered panic: got %v, want %v", err.Error(), wantError)
    			}
    		default:
    			t.Fatalf("unexpected panic value: %#v", err)
    		}
    	}()
    
    	b.ReadFrom(new(negativeReader))
    }
    
    func TestWriteTo(t *testing.T) {
    	var buf Buffer
    	for i := 3; i < 30; i += 3 {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Sep 03 20:55:15 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  6. cmd/object-api-multipart_test.go

    	if err != nil {
    		switch err.(type) {
    		case InvalidUploadID:
    			t.Fatalf("%s: New Multipart upload failed to create uuid file.", instanceType)
    		default:
    			t.Fatal(err.Error())
    		}
    	}
    }
    
    // Wrapper for calling AbortMultipartUpload tests for both Erasure multiple disks and single node setup.
    func TestObjectAbortMultipartUpload(t *testing.T) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 88.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        assertEquals(42, queue.maximumSize);
        assertSame(SOME_COMPARATOR, queue.comparator());
      }
    
      // TODO: tests that check the weird interplay between expected size,
      // maximum size, size of initial contents, default capacity...
    
      private static void checkNatural(MinMaxPriorityQueue<Integer> queue) {
        assertSame(Ordering.natural(), queue.comparator());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableSortedSet.java

     */
    // TODO(benyu): benchmark and optimize all creation paths, which are a mess now
    @GwtCompatible(serializable = true, emulated = true)
    @SuppressWarnings("serial") // we're overriding default serialization
    @ElementTypesAreNonnullByDefault
    public abstract class ImmutableSortedSet<E> extends ImmutableSet.CachingAsList<E>
        implements NavigableSet<E>, SortedIterable<E> {
      static final int SPLITERATOR_CHARACTERISTICS =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/MoreExecutors.java

              @Override
              public void run() {
                queue.add(future);
              }
            },
            directExecutor());
        return future;
      }
    
      /**
       * Returns a default thread factory used to create new threads.
       *
       * <p>When running on AppEngine with access to <a
       * href="https://cloud.google.com/appengine/docs/standard/java/javadoc/">AppEngine legacy
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 44.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/TreeMultiset.java

              requireNonNull(left);
              if (left.balanceFactor() < 0) {
                left = left.rotateLeft();
              }
              return rotateRight();
            default:
              recomputeHeight();
              return this;
          }
        }
    
        private int balanceFactor() {
          return height(left) - height(right);
        }
    
        private AvlNode<E> rotateLeft() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 34.1K bytes
    - Viewed (0)
Back to top