Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 128 for getm (0.03 sec)

  1. src/runtime/os_plan9.go

    	var buf [_ERRMAX]byte
    	if !atomic.Cas(&exiting, 0, 1) {
    		return
    	}
    	getg().m.locks++
    	n := copy(buf[:], goexits)
    	n = copy(buf[n:], gostringnocopy(status))
    	pid := getpid()
    	for mp := (*m)(atomic.Loadp(unsafe.Pointer(&allm))); mp != nil; mp = mp.alllink {
    		if mp.procid != 0 && mp.procid != pid {
    			postnote(mp.procid, buf[:])
    		}
    	}
    	getg().m.locks--
    }
    
    var procdir = []byte("/proc/")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/decompose_reduce_dataset.cc

      for (Type type : dataset_types) {
        shape_attrs.push_back(
            TF::ShapeAttr::get(builder.getContext(), mlir::cast<ShapedType>(type)));
        type_attrs.push_back(TypeAttr::get(getElementTypeOrSelf(type)));
      }
    
      auto anonymous_iterator = builder.create<AnonymousIteratorV3Op>(
          reduce_dataset.getLoc(),
          RankedTensorType::get({}, builder.getType<ResourceType>()),
          /*output_types=*/builder.getArrayAttr(type_attrs),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14K bytes
    - Viewed (0)
  3. pkg/controller/statefulset/stateful_set_utils.go

    		ordinal = int(i)
    	}
    	return parent, ordinal
    }
    
    // getParentName gets the name of pod's parent StatefulSet. If pod has not parent, the empty string is returned.
    func getParentName(pod *v1.Pod) string {
    	parent, _ := getParentNameAndOrdinal(pod)
    	return parent
    }
    
    // getOrdinal gets pod's ordinal. If pod has no ordinal, -1 is returned.
    func getOrdinal(pod *v1.Pod) int {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/internal/changedetection/state/TaskCustomTypesInputPropertyIntegrationTest.groovy

    import org.gradle.api.tasks.Optional;
    import java.io.File;
    
    public class SomeTask extends DefaultTask {
        public CustomType v;
        @Input @Optional
        public CustomType getV() { return v; }
    
        public File f;
        @OutputDirectory
        public File getF() { return f; }
    
        @TaskAction
        public void go() { }
    }
    """
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 22 16:04:50 UTC 2022
    - 9.9K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/typecheck/func.go

    	}
    	if t.NumResults() == 1 {
    		n.SetType(l.Type().Result(0).Type)
    
    		if n.Op() == ir.OCALLFUNC && n.Fun.Op() == ir.ONAME {
    			if sym := n.Fun.(*ir.Name).Sym(); types.RuntimeSymName(sym) == "getg" {
    				// Emit code for runtime.getg() directly instead of calling function.
    				// Most such rewrites (for example the similar one for math.Sqrt) should be done in walk,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 15:23:18 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  6. platforms/software/build-init/src/test/groovy/org/gradle/buildinit/tasks/InitBuildSpec.groovy

            Language.GROOVY | JavaLanguageVersion.of(11) | true
            Language.CPP    | null                       | false
            Language.SWIFT  | null                       | false
        }
    
        def "gets java-version from property"() {
            given:
            def userQuestions = Mock(UserQuestions)
            def buildInitializer = Mock(BuildInitializer)
            buildInitializer.supportsJavaTargets() >> true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 20:10:43 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/catalog/LibrariesSourceGeneratorTest.groovy

                bundle('myBundle', ['foo', 'bar'])
                plugin('pl', 'org.plugin') version('1.2')
            }
    
            then:
            def libs = sources.compile()
            def foo = libs.foo.get()
            def bar = libs.bar.get()
            assert foo.module.group == 'g'
            assert foo.module.name == 'a'
            assert foo.versionConstraint.requiredVersion == 'v'
    
            assert bar.module.group == 'g2'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:26:24 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  8. src/runtime/os_freebsd.go

    	// FreeBSD users are running a patched kernel. See issue #15658.
    	if gp := getg(); !isarchive && !islibrary && gp.m == &m0 && gp == gp.m.g0 {
    		st := stackt{ss_flags: _SS_DISABLE}
    		sigaltstack(&st, nil)
    	}
    
    	minitSignals()
    }
    
    // Called from dropm to undo the effect of an minit.
    //
    //go:nosplit
    func unminit() {
    	unminitSignals()
    	getg().m.procid = 0
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/phases/upgrade/staticpods.go

    	PatchesDir() string
    	// RealManifestPath gets the file path for the component in the "real" static pod manifest directory used by the kubelet
    	RealManifestPath(component string) string
    	// RealManifestDir should point to the static pod manifest directory used by the kubelet
    	RealManifestDir() string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 10:07:41 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

      @SuppressWarnings("unchecked")
      protected B self() {
        return (B) this;
      }
    
      // Test Data
    
      private @Nullable G subjectGenerator;
      // Gets run before every test.
      private Runnable setUp;
      // Gets run at the conclusion of every test.
      private Runnable tearDown;
    
      @CanIgnoreReturnValue
      protected B usingGenerator(G subjectGenerator) {
        this.subjectGenerator = subjectGenerator;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top