Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1391 - 1400 of 2,145 for only1 (0.04 sec)

  1. android/guava-tests/test/com/google/common/math/IntMathTest.java

          }
        }
      }
    
      // Relies on the correctness of isPowerOfTwo(int).
      public void testLog2Exact() {
        for (int x : POSITIVE_INTEGER_CANDIDATES) {
          // We only expect an exception if x was not a power of 2.
          boolean isPowerOf2 = IntMath.isPowerOfTwo(x);
          try {
            assertEquals(x, 1 << IntMath.log2(x, UNNECESSARY));
            assertTrue(isPowerOf2);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

     * NullPointerTester}, {@link EqualsTester} and {@link SerializableTester}. For example:
     *
     * <pre>
     * public class PackageSanityTests extends AbstractPackageSanityTests {}
     * </pre>
     *
     * <p>Note that only top-level classes with either a non-private constructor or a non-private static
     * factory method to construct instances can have their instance methods checked. For example:
     *
     * <pre>
     * public class Address {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:43:49 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

        //
        // 7) Create ProjectDependencyGraph using trimming which takes into account --projects and reactor mode.
        // This ensures that the projects passed into the ReactorReader are only those specified.
        //
        // 8) Create ReactorReader with the getProjectMap( projects ). NOTE that getProjectMap(projects) is the code that
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  4. cmd/storage-datatypes.go

    type DeleteOptions struct {
    	BaseOptions
    	Recursive bool `msg:"r"`
    	Immediate bool `msg:"i"`
    	UndoWrite bool `msg:"u"`
    	// OldDataDir of the previous object
    	OldDataDir string `msg:"o,omitempty"` // old data dir used only when to revert a rename()
    }
    
    // BaseOptions represents common options for all Storage API calls
    type BaseOptions struct{}
    
    // RenameOptions represents rename API options, currently its same as BaseOptions
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  5. src/bufio/scan.go

    // and the maximum size of buffer that may be allocated during scanning.
    // The maximum token size must be less than the larger of max and cap(buf).
    // If max <= cap(buf), [Scanner.Scan] will use this buffer only and do no allocation.
    //
    // By default, [Scanner.Scan] uses an internal buffer and sets the
    // maximum token size to [MaxScanTokenSize].
    //
    // Buffer panics if it is called after scanning has started.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Oct 23 09:06:30 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

     * from AbstractCollectionTester.)
     *
     * @param <K> the key type of the map to be tested.
     * @param <V> the value type of the map to be tested.
     * @author George van den Driessche
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @ElementTypesAreNonnullByDefault
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  7. internal/logger/logrotate.go

    // Writer is a concurrency-safe writer with file rotation.
    type Writer struct {
    	// opts are the configuration options for this Writer
    	opts Options
    
    	// f is the currently open file used for appends.
    	// Writes to f are only synchronized once Close() is called,
    	// or when files are being rotated.
    	f *os.File
    
    	pw *xioutil.PipeWriter
    	pr *xioutil.PipeReader
    }
    
    // Write writes p into the current file, rotating if necessary.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/features/CollectionFeature.java

       *
       * @see java.util.Collection the definition of general-purpose collections.
       */
      GENERAL_PURPOSE(SUPPORTS_ADD, SUPPORTS_REMOVE, SUPPORTS_ITERATOR_REMOVE),
    
      /** Features supported by collections where only removal is allowed. */
      REMOVE_OPERATIONS(SUPPORTS_REMOVE, SUPPORTS_ITERATOR_REMOVE),
    
      SERIALIZABLE,
      SERIALIZABLE_INCLUDING_VIEWS(SERIALIZABLE),
    
      SUBSET_VIEW,
      DESCENDING_VIEW,
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionToArrayTester.java

     * directly; please see {@link com.google.common.collect.testing.CollectionTestSuiteBuilder}.
     *
     * @author Kevin Bourrillion
     * @author Chris Povirk
     */
    @GwtCompatible(emulated = true)
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class CollectionToArrayTester<E> extends AbstractCollectionTester<E> {
      public void testToArray_noArgs() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  10. istioctl/pkg/util/handlers/handlers.go

    	if idx := strings.LastIndex(name, "/"); idx > 0 {
    		// If there is a / in it, we need to handle differently. This is resourcetype/name.namespace.
    		// However, resourcetype can have . in it as well, so we should only look for namespace after the /.
    		separator := strings.LastIndex(name[idx:], ".")
    		if separator < 0 {
    			return name, namespace
    		}
    
    		return name[0 : idx+separator], name[idx+separator+1:]
    	}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top