- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for fold (0.02 sec)
-
src/bytes/bytes_test.go
for _, tt := range ReplaceTests { var ( in = []byte(tt.in) old = []byte(tt.old) new = []byte(tt.new) ) if !asan.Enabled { allocs := testing.AllocsPerRun(10, func() { Replace(in, old, new, tt.n) }) if allocs > 1 { t.Errorf("Replace(%q, %q, %q, %d) allocates %.2f objects", tt.in, tt.old, tt.new, tt.n, allocs) } } in = append(in, "<spare>"...)
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Jul 28 18:13:58 UTC 2025 - 62.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multimaps.java
* use soft, weak, or phantom references. * * @param map place to store the mapping from each key to its corresponding values * @param factory supplier of new, empty collections that will each hold all values for a given * key * @throws IllegalArgumentException if {@code map} is not empty */ public static <K extends @Nullable Object, V extends @Nullable Object> Multimap<K, V> newMultimap(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 86.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/Multimaps.java
* use soft, weak, or phantom references. * * @param map place to store the mapping from each key to its corresponding values * @param factory supplier of new, empty collections that will each hold all values for a given * key * @throws IllegalArgumentException if {@code map} is not empty */ public static <K extends @Nullable Object, V extends @Nullable Object> Multimap<K, V> newMultimap(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 86.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Sets.java
HashSet<E> set = new HashSet<>(); Iterators.addAll(set, elements); return set; } /** * Returns a new hash set using the smallest initial table size that can hold {@code expectedSize} * elements without resizing. Note that this is not what {@link HashSet#HashSet(int)} does, but it * is what most users want and expect it to do. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 81.6K bytes - Viewed (0) -
tensorflow/c/c_api.h
// The elements of `dims` will point to addresses in `storage` which must be // large enough to hold at least `storage_size` int64_ts. Ideally, `num_shapes` // would be set to TF_AttrMetadata.list_size and `storage_size` would be set to // TF_AttrMetadata.total_size from TF_OperationGetAttrMetadata(oper, // attr_name). // // Fails if storage_size is insufficient to hold the requested shapes. TF_CAPI_EXPORT extern void TF_OperationGetAttrShapeList(
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Thu Oct 26 21:08:15 UTC 2023 - 82.3K bytes - Viewed (0) -
cmd/erasure-server-pool.go
// Remove entries that are above. for i, z := range p { if z.Available > 0 && z.MaxUsedPct < maxUsed { continue } p[i].Available = 0 } } // getAvailablePoolIdx will return an index that can hold size bytes. // -1 is returned if no serverPools have available space for the size given. func (z *erasureServerPools) getAvailablePoolIdx(ctx context.Context, bucket, object string, size int64) int {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 89.1K bytes - Viewed (0) -
cmd/xl-storage.go
if info.Rotational == nil || *info.Rotational { s.rotational = true s.walkMu = &sync.Mutex{} s.walkReadMu = &sync.Mutex{} } if cleanUp { bgFormatErasureCleanupTmp(s.drivePath) // cleanup any old data. } formatData, formatFi, err := formatErasureMigrate(s.drivePath) if err != nil && !errors.Is(err, os.ErrNotExist) { if os.IsPermission(err) { return s, errDiskAccessDenied
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Jun 13 11:33:47 UTC 2025 - 91.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheLoadingTest.java
for (int i = 0; i < count; i++) { assertThat(result.get(i)).isInstanceOf(InvalidCacheLoadException.class); } // subsequent calls should call the loader again, not get the old exception try { cache.getUnchecked("bar"); fail(); } catch (InvalidCacheLoadException expected) { } assertEquals(2, callCount.get()); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 85.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ldap/LdapManager.java
/** * Manages LDAP connections and operations. */ public class LdapManager { private static final Logger logger = LogManager.getLogger(LdapManager.class); /** A thread-local variable to hold the directory context. */ protected ThreadLocal<DirContextHolder> contextLocal = new ThreadLocal<>(); /** A flag to indicate if the LDAP connection is bound. */ protected volatile boolean isBind = false;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 82K bytes - Viewed (0) -
cmd/iam-store.go
d.CreateDate = now } d.Policy = p } // parseJSON parses both the old and the new format for storing policy // definitions. // // The on-disk format of policy definitions has changed (around early 12/2021) // from policy.Policy to PolicyDoc. To avoid a migration, loading supports // both the old and the new formats. func (d *PolicyDoc) parseJSON(data []byte) error {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 86.7K bytes - Viewed (0)