Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,933 for retaining (0.11 sec)

  1. staging/src/k8s.io/apimachinery/pkg/api/meta/help.go

    // If items passed to fn are retained for different durations, and you want to avoid
    // retaining all items in obj as long as any item is referenced, use EachListItemWithAlloc instead.
    func EachListItem(obj runtime.Object, fn func(runtime.Object) error) error {
    	return eachListItem(obj, fn, false)
    }
    
    // EachListItemWithAlloc works like EachListItem, but avoids retaining references to the items slice in obj.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 29 16:25:43 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  2. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/GlobalCacheLocations.java

     *
     * We expect only Gradle itself to change things in the global caches directories.
     *
     * The quasi-immutability of global caches allows for some optimizations by retaining file system state in-memory.
     */
    @ServiceScope(Scope.UserHome.class)
    public interface GlobalCacheLocations {
    
        /**
         * Checks if a given path is inside one of Gradle's global caches.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 15 08:29:37 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/BaseImmutableMultimap.java

     */
    package com.google.common.collect;
    
    import com.google.common.annotations.GwtCompatible;
    
    /**
     * A dummy superclass of {@link ImmutableMultimap} that can be instanceof'd without ProGuard
     * retaining additional implementation details of {@link ImmutableMultimap}.
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 993 bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/BaseImmutableMultimap.java

     */
    package com.google.common.collect;
    
    import com.google.common.annotations.GwtCompatible;
    
    /**
     * A dummy superclass of {@link ImmutableMultimap} that can be instanceof'd without ProGuard
     * retaining additional implementation details of {@link ImmutableMultimap}.
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 993 bytes
    - Viewed (0)
  5. src/strings/clone.go

    package strings
    
    import (
    	"internal/stringslite"
    )
    
    // Clone returns a fresh copy of s.
    // It guarantees to make a copy of s into a new allocation,
    // which can be important when retaining only a small substring
    // of a much larger string. Using Clone can help such programs
    // use less memory. Of course, since using Clone makes a copy,
    // overuse of Clone can make programs use more memory.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 01:23:42 UTC 2024
    - 809 bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/artifact/ArtifactSet.java

    /**
     * Represents a container of artifacts, possibly made up of several different variants.
     *
     * Instances are retained during the lifetime of a build, so should avoid retaining unnecessary state.
     */
    public interface ArtifactSet {
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/simple.mlir

    // TODO(b/329300758): add file check back after the cl is fixed | FileCheck %s
    // Check a few basic properties of the import-export,
    // including constants retaining their shape
    // and the module including the TFLite version.
    
    func.func @main(tensor<3x2xi32>) -> tensor<3x2xi32> {
    ^bb0(%arg0: tensor<3x2xi32>):
      // CHECK: module attributes
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  8. test/init1.go

    		b[i] = byte(i%10 + '0')
    	}
    	s := string(b)
    
    	memstats := new(runtime.MemStats)
    	runtime.ReadMemStats(memstats)
    	sys, numGC := memstats.Sys, memstats.NumGC
    
    	// Generate 1,000 MB of garbage, only retaining 1 MB total.
    	for i := 0; i < N; i++ {
    		x = []byte(s)
    	}
    
    	// Verify that the garbage collector ran by seeing if we
    	// allocated fewer than N*MB bytes from the system.
    	runtime.ReadMemStats(memstats)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 1.1K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetEntrySetTester.java

            getMultiset()
                .entrySet()
                .retainAll(Collections.singleton(Multisets.immutableEntry(e0(), 1))));
        assertTrue(
            "multiset doesn't contains element after retaining its entry",
            getMultiset().contains(e0()));
      }
    
      @CollectionSize.Require(ONE)
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testEntrySet_retainAllAbsent() {
        assertTrue(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 09 20:10:38 UTC 2018
    - 9.6K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/MultisetEntrySetTester.java

            getMultiset()
                .entrySet()
                .retainAll(Collections.singleton(Multisets.immutableEntry(e0(), 1))));
        assertTrue(
            "multiset doesn't contains element after retaining its entry",
            getMultiset().contains(e0()));
      }
    
      @CollectionSize.Require(ONE)
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testEntrySet_retainAllAbsent() {
        assertTrue(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 09 20:10:38 UTC 2018
    - 9.6K bytes
    - Viewed (0)
Back to top