Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,105 for p_hold (0.12 sec)

  1. cmd/kubeadm/app/util/patches/patches_test.go

    		t.Fatal(err)
    	}
    	defer os.RemoveAll(tempDir)
    
    	pmOld, err := GetPatchManagerForPath(tempDir, testKnownTargets, nil)
    	if err != nil {
    		t.Fatal(err)
    	}
    	pmNew, err := GetPatchManagerForPath(tempDir, testKnownTargets, nil)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if pmOld != pmNew {
    		t.Logf("path %q was not cached, expected pointer: %p, got: %p", tempDir, pmOld, pmNew)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 09 14:24:11 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/AbstractMultimapAsMapImplementsMapTest.java

       * implementation, because {@code map.get()} returns a view collection that changes in the course
       * of a call to {@code remove()}. Thus, the expectation doesn't hold that {@code map.remove(x)}
       * returns the same value which {@code map.get(x)} did immediately beforehand.
       */
      @Override
      public void testRemove() {
        final Map<String, Collection<Integer>> map;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/slog/slog.go

    type position int
    
    const (
    	// key is an argument position that should hold a string key or an Attr.
    	key position = iota
    	// value is an argument position that should hold a value.
    	value
    	// unknown represents that we do not know if position should hold a key or a value.
    	unknown
    )
    
    func run(pass *analysis.Pass) (any, error) {
    	var attrType types.Type // The type of slog.Attr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  4. src/runtime/race/race_test.go

    		H = 10
    	)
    	var wg sync.WaitGroup
    	wg.Add(G)
    	for g := 0; g < G; g++ {
    		go func() {
    			defer wg.Done()
    			hold := make([][]uint32, H)
    			for i := 0; i < b.N; i++ {
    				a := make([]uint32, S)
    				atomic.AddUint32(&a[rand.Intn(len(a))], 1)
    				hold[rand.Intn(len(hold))] = a
    			}
    			_ = hold
    		}()
    	}
    	wg.Wait()
    }
    
    func BenchmarkStackLeak(b *testing.B) {
    	done := make(chan bool, 1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/runtime/types.go

    }
    
    const (
    	ContentTypeJSON     string = "application/json"
    	ContentTypeYAML     string = "application/yaml"
    	ContentTypeProtobuf string = "application/vnd.kubernetes.protobuf"
    )
    
    // RawExtension is used to hold extensions in external versions.
    //
    // To use this, make a field which has RawExtension as its type in your external, versioned
    // struct, and Object in your internal struct. You also need to register your
    // various plugin types.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 27 19:12:58 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  6. subprojects/core-api/src/main/java/org/gradle/api/services/BuildService.java

    import org.gradle.api.Action;
    
    import javax.inject.Inject;
    
    /**
     * Represents a user provided "service" that is used by a Gradle build. Often these services are shared by multiple tasks and hold
     * some state that tasks use to do their work. A service implementation might hold, for example, an in-memory cache that tasks use
     * to improve performance. Or, as another example, a service implementation might represent a web service that the build starts and
     * uses.
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 21 20:09:51 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting_cleanup.h

    //   case. If successful, the following invariants will hold true:
    //   (a) For if/case, any resource type results will be deleted.
    //   (b) For while, any resource type results will be unused.
    // - Canonicalize region based control flow. Again, any resource outputs are
    //   expected to be resolved to be one of the captured resource inputs. Fails
    //   if this is not the case. If successful, the following invariants will hold
    //   true:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 19 00:13:50 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt

        throw AssertionError("Thread ${Thread.currentThread().name} MUST hold lock on $this")
      }
    }
    
    @Suppress("NOTHING_TO_INLINE")
    internal inline fun Any.assertThreadHoldsLock() {
      if (assertionsEnabled && !Thread.holdsLock(this)) {
        throw AssertionError("Thread ${Thread.currentThread().name} MUST hold lock on $this")
      }
    }
    
    @Suppress("NOTHING_TO_INLINE")
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon May 13 13:42:37 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  9. docs/tls/kubernetes/README.md

    ## 2. Create Kubernetes secret
    
    [Kubernetes secrets](https://kubernetes.io/docs/concepts/configuration/secret) are intended to hold sensitive information.
    We'll use secrets to hold the TLS certificate and key. To create a secret, update the paths to `private.key` and `public.crt`
    below.
    
    Then type
    
    ```sh
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 3K bytes
    - Viewed (0)
  10. src/runtime/float_test.go

    		1<<56 + 1<<32 + 1,
    	} {
    		got := float32(i)
    		dontwant := float32(float64(i))
    		if got == dontwant {
    			// The test cases above should be uint64s such that
    			// this equality doesn't hold. These examples trigger
    			// the case where using an intermediate float64 doesn't work.
    			t.Errorf("direct float32 conversion doesn't work: arg=%x got=%x dontwant=%x", i, got, dontwant)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 07 18:34:24 UTC 2021
    - 699 bytes
    - Viewed (0)
Back to top