Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1591 - 1600 of 1,654 for usedBy (0.1 sec)

  1. android/guava/src/com/google/common/collect/Multisets.java

        long size = 0;
        for (Entry<?> entry : multiset.entrySet()) {
          size += entry.getCount();
        }
        return Ints.saturatedCast(size);
      }
    
      /** Used to avoid http://bugs.sun.com/view_bug.do?bug_id=6558557 */
      static <T extends @Nullable Object> Multiset<T> cast(Iterable<T> iterable) {
        return (Multiset<T>) iterable;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Streams.java

       * stream whose elements are non-null. However, the method goes out of its way to still handle
       * nulls in the stream. This means that the method can safely be used with a stream that contains
       * nulls as long as the *last* element is *not* null.
       *
       * (To "go out of its way," the method tracks a `set` bit so that it can distinguish "the final
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Multisets.java

        long size = 0;
        for (Entry<?> entry : multiset.entrySet()) {
          size += entry.getCount();
        }
        return Ints.saturatedCast(size);
      }
    
      /** Used to avoid http://bugs.sun.com/view_bug.do?bug_id=6558557 */
      static <T extends @Nullable Object> Multiset<T> cast(Iterable<T> iterable) {
        return (Multiset<T>) iterable;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  4. cmd/bucket-handlers_test.go

    		// if object upload fails stop the test.
    		if err != nil {
    			t.Fatalf("Put Object %d:  Error uploading object: <ERROR> %v", i, err)
    		}
    
    		// object used for the test.
    		objectNames = append(objectNames, objectName)
    	}
    
    	contentBytes := []byte("hello")
    	for _, name := range []string{"private/object", "public/object"} {
    		// Uploading the object with retention enabled
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  5. cmd/object_api_suite_test.go

    		}, MakeBucketOptions{
    			VersioningEnabled: true,
    		})
    	})
    }
    
    // ExecExtendedObjectLayerTest will execute the tests with combinations of encrypted & compressed.
    // This can be used to test functionality when reading and writing data.
    func ExecExtendedObjectLayerTest(t *testing.T, objTest objTestType) {
    	execExtended(t, func(t *testing.T, init func(), bucketOptions MakeBucketOptions) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 02 15:13:05 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  6. docs/en/docs/release-notes.md

        * This is a breaking change (and only slightly) if you used dependencies with `yield`, used `except` in those dependencies, and didn't raise again.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Nov 01 11:25:57 UTC 2024
    - 460.3K bytes
    - Viewed (0)
  7. cmd/erasure-server-pool-rebalance.go

    	if z.rebalMeta == nil || !z.rebalMeta.StoppedAt.IsZero() { // rebalance not running, nothing to do
    		z.rebalMu.Unlock()
    		return
    	}
    	ctx, cancel := context.WithCancel(GlobalContext)
    	z.rebalMeta.cancel = cancel // to be used when rebalance-stop is called
    	z.rebalMu.Unlock()
    
    	z.rebalMu.RLock()
    	participants := make([]bool, len(z.rebalMeta.PoolStats))
    	for i, ps := range z.rebalMeta.PoolStats {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 13:20:19 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableBiMap.java

               * up using the entries array directly and writing over the entry objects with
               * non-terminal entries, but this is safe; if this Builder is used further, it will grow
               * the entries array (so it can't affect the original array), and future build() calls
               * will always copy any entry objects that cannot be safely reused.
               */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  9. finisher_api.go

    }
    
    // FirstOrInit finds the first matching record, otherwise if not found initializes a new instance with given conds.
    // Each conds must be a struct or map.
    //
    // FirstOrInit never modifies the database. It is often used with Assign and Attrs.
    //
    //	// assign an email if the record is not found
    //	db.Where(User{Name: "non_existing"}).Attrs(User{Email: "******@****.***"}).FirstOrInit(&user)
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Sep 14 12:58:29 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/ByteSource.java

     *       doing something and finally closing the stream that was opened.
     * </ul>
     *
     * <p><b>Note:</b> In general, {@code ByteSource} is intended to be used for "file-like" sources
     * that provide streams that are:
     *
     * <ul>
     *   <li><b>Finite:</b> Many operations, such as {@link #size()} and {@link #read()}, will either
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 26.2K bytes
    - Viewed (0)
Back to top