- Sort Score
- Result 10 results
- Languages All
Results 371 - 380 of 527 for Once (0.02 sec)
-
guava/src/com/google/common/primitives/ImmutableIntArray.java
- * Returns an immutable <i>view</i> of this array's values as a {@code List}; note that {@code
- * int} values are boxed into {@link Integer} instances on demand, which can be very expensive.
- * The returned list should be used once and discarded. For any usages beyond that, pass the
- * returned list to {@link com.google.common.collect.ImmutableList#copyOf(Collection)
- * ImmutableList.copyOf} and use that list instead.
- */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 18:05:56 UTC 2024 - 21.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt
- cache.close()
- createNewCache()
- // The journal will have no record that 'a' was removed. It will have an entry for 'a', but when
- // it tries to read the cache files, it will find they were deleted. Once it encounters an entry
- // with missing cache files, it should remove it from the cache entirely.
- assertThat(cache.size()).isEqualTo(4)
- assertThat(cache["a"]).isNull()
- assertThat(cache.size()).isEqualTo(2)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 15 14:55:09 UTC 2024 - 75.8K bytes - Viewed (0) -
common-protos/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto
- // directly settable by a client. The resource is expected to be deleted (no longer visible
- // from resource lists, and not reachable by name) after the time in this field, once the
- // finalizers list is empty. As long as the finalizers list contains items, deletion is blocked.
- // Once the deletionTimestamp is set, this value may not be unset or be set further into the
- // future, although it may be shortened or the resource may be deleted prior to this time.
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 53.3K bytes - Viewed (0) -
cmd/object-api-interface.go
- }
- // GetObject - TODO(aead): This function just acts as an adapter for GetObject tests and benchmarks
- // since the GetObject method of the ObjectLayer interface has been removed. Once, the
- // tests are adjusted to use GetObjectNInfo this function can be removed.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 22 21:57:20 UTC 2024 - 17.3K bytes - Viewed (0) -
cmd/local-locker_test.go
- }
- // A UID is added for every resource
- if len(l.lockUID) != len(rResources)*2+len(wResources)*m {
- t.Fatalf("lockUID len, got %d, want %d + %d", len(l.lockUID), len(rResources)*2, len(wResources)*m)
- }
- // RUnlock once...
- for i, name := range rResources {
- arg := dsync.LockArgs{
- UID: rUIDs[i*2],
- Resources: []string{name},
- Source: t.Name(),
- Owner: "owner",
- Quorum: &quorum,
- }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jul 24 10:24:01 UTC 2024 - 11.9K bytes - Viewed (0) -
internal/rest/client.go
- req.Header.Set(xhttp.AmzRequestID, tc.AmzReqID)
- }
- return req, nil
- }
- type respBodyMonitor struct {
- io.ReadCloser
- expectTimeouts bool
- errorStatusOnce sync.Once
- }
- func (r *respBodyMonitor) Read(p []byte) (n int, err error) {
- n, err = r.ReadCloser.Read(p)
- r.errorStatus(err)
- return
- }
- func (r *respBodyMonitor) Close() (err error) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 26 12:55:01 UTC 2024 - 14.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java
- assertEquals(expected.contains(i), subRangeSet.contains(i));
- }
- }
- }
- }
- }
- }
- // TODO(b/172823566): Use mainline testToImmutableRangeSet once CollectorTester is usable to java7
- public void testToImmutableRangeSet_java7_combine() {
- Range<Integer> rangeOne = Range.closedOpen(1, 3);
- Range<Integer> rangeTwo = Range.closedOpen(7, 9);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 02 18:21:29 UTC 2024 - 21.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java
- * ordering. To create a copy of a {@code SortedMultiset} that preserves the comparator, call
- * {@link #copyOfSorted} instead. This method iterates over {@code elements} at most once.
- *
- * <p>Note that if {@code s} is a {@code Multiset<String>}, then {@code
- * ImmutableSortedMultiset.copyOf(s)} returns an {@code ImmutableSortedMultiset<String>}
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 21:21:17 UTC 2024 - 35.4K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device.cc
- }
- result.emplace(std::move(result_content));
- return result;
- }
- // Used as an argument to TFE_NewCustomDeviceTensorHandle, indicating how
- // ParallelTensors wrapped in TFE_TensorHandles should be cleaned up once their
- // reference counts drop to zero.
- void ParallelTensorDeallocator(void* data) {
- delete reinterpret_cast<ParallelTensor*>(data);
- }
- // Used as an argument to TFE_NewCustomDeviceTensorHandle, for computing the
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Mon Oct 21 04:14:14 UTC 2024 - 18.3K bytes - Viewed (0) -
cni/pkg/nodeagent/ztunnelserver.go
- context.AfterFunc(ctx, func() { _ = z.Close() })
- // Allow at most 5 requests per second. This is still a ridiculous amount; at most we should have 2 ztunnels on our node,
- // and they will only connect once and persist.
- // However, if they do get in a state where they call us in a loop, we will quickly OOM
- limit := rate.NewLimiter(rate.Limit(5), 1)
- for {
- log.Debug("accepting conn")
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Jul 29 16:08:35 UTC 2024 - 13.2K bytes - Viewed (0)