Search Options

Results per page
Sort
Preferred Languages
Advance

Results 711 - 720 of 866 for otherwise (0.09 sec)

  1. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        int nThreads = 100;
        int nTasks = 1000;
        int nSeededEntries = 100;
        Set<String> expectedKeys = Sets.newHashSetWithExpectedSize(nTasks + nSeededEntries);
        // seed the map, so its segments have a count>0; otherwise, clear() won't visit the in-progress
        // entries
        for (int i = 0; i < nSeededEntries; i++) {
          String s = "b" + i;
          cache.getUnchecked(s);
          expectedKeys.add(s);
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableList.java

      }
    
      /**
       * Returns an immutable list containing the given elements, in order. If {@code elements} is a
       * {@link Collection}, this method behaves exactly as {@link #copyOf(Collection)}; otherwise, it
       * behaves exactly as {@code copyOf(elements.iterator()}.
       *
       * @throws NullPointerException if {@code elements} contains a null element
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        mmHeap.remove(12);
        assertEquals(14, mmHeap.size());
        assertTrue("Heap is not intact after remove()", mmHeap.isIntact());
      }
    
      /** This tests a more obscure special case, but otherwise similar to above. */
      public void testInvalidatingRemove2() {
        MinMaxPriorityQueue<Integer> mmHeap = MinMaxPriorityQueue.create();
        List<Integer> values =
            Lists.newArrayList(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  4. cmd/object-api-utils.go

    func getKeySeparator() string {
    	if runtime.GOOS == globalWindowsOSName {
    		return "_"
    	}
    	return ":"
    }
    
    // isMinioBucket returns true if given bucket is a MinIO internal
    // bucket and false otherwise.
    func isMinioMetaBucketName(bucket string) bool {
    	return strings.HasPrefix(bucket, minioMetaBucket)
    }
    
    // IsValidBucketName verifies that a bucket name is in accordance with
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/Striped.java

        return lazyWeakCustom(stripes, WeakSafeReadWriteLock::new);
      }
      /**
       * ReadWriteLock implementation whose read and write locks retain a reference back to this lock.
       * Otherwise, a reference to just the read lock or just the write lock would not suffice to ensure
       * the {@code ReadWriteLock} is retained.
       */
      private static final class WeakSafeReadWriteLock implements ReadWriteLock {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 26 12:58:35 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  6. api/maven-api-plugin/src/main/mdo/plugin.mdo

                Specifies an alias which can be used to configure this parameter from the POM.
                This is primarily useful to improve user-friendliness, where Mojo field names are not intuitive to the
                user or are otherwise not conducive to configuration via the POM.
              </description>
            </field>
            <field>
              <name>type</name>
              <version>1.0.0+</version>
              <type>String</type>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Aug 16 14:16:22 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

         * @param mirrorLayout The layouts supported by the mirror, may be {@code null}.
         * @return {@code true} if the layouts associated with the mirror match the layout of the original repository,
         *         {@code false} otherwise.
         */
        static boolean matchesLayout(String repoLayout, String mirrorLayout) {
            boolean result = false;
    
            // simple checks first to short circuit processing below.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Collections2.java

       * by the iterator in turn to see if it is contained in the specified collection {@code self}. If
       * all elements are so contained, {@code true} is returned, otherwise {@code false}.
       *
       * @param self a collection which might contain all elements in {@code c}
       * @param c a collection whose elements might be contained by {@code self}
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  9. cmd/batch-expire.go

    	BatchJobExpireObject string = "object"
    	// BatchJobExpireDeleted - delete marker type
    	BatchJobExpireDeleted string = "deleted"
    )
    
    // Validate returns nil if ef has valid fields, validation error otherwise.
    func (ef BatchJobExpireFilter) Validate() error {
    	switch ef.Type {
    	case BatchJobExpireObject:
    	case BatchJobExpireDeleted:
    		if len(ef.Tags) > 0 || len(ef.Metadata) > 0 {
    			return BatchJobYamlErr{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  10. src/bytes/buffer.go

    // Read reads the next len(p) bytes from the buffer or until the buffer
    // is drained. The return value n is the number of bytes read. If the
    // buffer has no data to return, err is [io.EOF] (unless len(p) is zero);
    // otherwise it is nil.
    func (b *Buffer) Read(p []byte) (n int, err error) {
    	b.lastRead = opInvalid
    	if b.empty() {
    		// Buffer is empty, reset to recover space.
    		b.Reset()
    		if len(p) == 0 {
    			return 0, nil
    		}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Oct 29 16:47:05 UTC 2024
    - 15.7K bytes
    - Viewed (0)
Back to top