Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 131 for getm (0.04 sec)

  1. src/runtime/runtime1.go

    	}
    	return res
    }
    
    // Helpers for Go. Must be NOSPLIT, must only call NOSPLIT functions, and must not block.
    
    //go:nosplit
    func acquirem() *m {
    	gp := getg()
    	gp.m.locks++
    	return gp.m
    }
    
    //go:nosplit
    func releasem(mp *m) {
    	gp := getg()
    	mp.locks--
    	if mp.locks == 0 && gp.preempt {
    		// restore the preemption request in case we've cleared it in newstack
    		gp.stackguard0 = stackPreempt
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_getters.go

    // specified pod. This directory may not exist if the pod does not exist.
    func (kl *Kubelet) GetPodDir(podUID types.UID) string {
    	return kl.getPodDir(podUID)
    }
    
    // ListPodsFromDisk gets a list of pods that have data directories.
    func (kl *Kubelet) ListPodsFromDisk() ([]types.UID, error) {
    	return kl.listPodsFromDisk()
    }
    
    // HandlerSupportsUserNamespaces checks whether the specified handler supports
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 00:48:07 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  3. cmd/bucket-replication-handlers.go

    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    
    	vars := mux.Vars(r)
    	bucket := vars["bucket"]
    	durationStr := r.URL.Query().Get("older-than")
    	arn := r.URL.Query().Get("arn")
    	resetID := r.URL.Query().Get("reset-id")
    	if resetID == "" {
    		resetID = mustGetUUID()
    	}
    	var (
    		days time.Duration
    		err  error
    	)
    	if durationStr != "" {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/merge_initializer_function_ops_to_main.cc

      const std::string init_type = GetInitializerType(init_func_ops);
      const std::string name =
          absl::StrCat(init_type, "_", init_func_ops.getName().str());
      return NameLoc::get(StringAttr::get(ctx, name));
    }
    
    void MergeInitializerFunctionOpsToMainPass::runOnOperation() {
      ModuleOp module_op = getOperation();
      MLIRContext* ctx = module_op.getContext();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun May 12 12:54:52 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  5. src/runtime/mgcsweep.go

    	gp := getg()
    	if gp.m.locks == 0 && gp.m.mallocing == 0 && gp != gp.m.g0 {
    		throw("mspan.sweep: m is not locked")
    	}
    
    	s := sl.mspan
    	if !preserve {
    		// We'll release ownership of this span. Nil it out to
    		// prevent the caller from accidentally using it.
    		sl.mspan = nil
    	}
    
    	sweepgen := mheap_.sweepgen
    	if state := s.state.get(); state != mSpanInUse || s.sweepgen != sweepgen-1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:52:18 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/phases/upgrade/compute_test.go

    	isExternalEtcd         bool
    }
    
    var _ VersionGetter = &fakeVersionGetter{}
    
    // ClusterVersion gets a fake API server version
    func (f *fakeVersionGetter) ClusterVersion() (string, *versionutil.Version, error) {
    	return f.clusterVersion, versionutil.MustParseSemantic(f.clusterVersion), nil
    }
    
    // KubeadmVersion gets a fake kubeadm version
    func (f *fakeVersionGetter) KubeadmVersion() (string, *versionutil.Version, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 08:39:51 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/phases/controlplane/manifests.go

    func CreateStaticPodFiles(manifestDir, patchesDir string, cfg *kubeadmapi.ClusterConfiguration, endpoint *kubeadmapi.APIEndpoint, isDryRun bool, componentNames ...string) error {
    	// gets the StaticPodSpecs, actualized for the current ClusterConfiguration
    	klog.V(1).Infoln("[control-plane] getting StaticPodSpecs")
    	specs := GetStaticPodSpecs(cfg, endpoint, nil)
    
    	var usersAndGroups *users.UsersAndGroups
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Mar 03 14:43:47 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test_base.py

        # 2. Create sample shapes.
        label_to_size = {'a': 4, 'b': 32, 'c': 64, 'd': 128, 'e': 8}
        x_shape = [label_to_size.get(x_label) for x_label in x_labels]
        y_shape = [label_to_size.get(y_label) for y_label in y_labels]
        bias_shape = None
        if use_bias:
          bias_shape = [label_to_size.get(out_label) for out_label in out_labels]
          bias_shape = bias_shape[-1:]
        contracting_dims = set()
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  9. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/BaseIncrementalCompilationAfterFailureIntegrationTest.groovy

            a.delete()
            c.delete()
            file("src/main/$languageName/a/A1.java").text = "package a; class A { void m1() {} }"
            b.text = "package b; $compileStaticAnnotation class B { B getB() { return 0; } }"
            file("src/main/$languageName/c/C1.java").text = "package c; class C { void m1() {} }"
            runAndFail language.compileTaskName
    
            then:
            outputs.noneRecompiled()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:30 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4.java

                if (properties != null) {
                    // We will attempt to get nab a property as a way to specify a parameter
                    // to a plugin. My particular case here is allowing the surefire plugin
                    // to run a single test so I want to specify that class on the cli as
                    // a parameter.
    
                    value = properties.get(expression);
                }
            }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jan 30 23:39:19 UTC 2024
    - 9.8K bytes
    - Viewed (0)
Back to top