Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 789 for isInitialized (0.19 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/NativeServicesIntegrationTest.groovy

            then:
            nativeDir.exists() == initialized
    
            where:
            // Works for all cases except -D$NATIVE_SERVICES_OPTION=false
            description       | systemProperties                    | initialized
            "initialized"     | ["-D$NATIVE_SERVICES_OPTION=true"]  | true
            "not initialized" | ["-D$NATIVE_SERVICES_OPTION=false"] | true // Should be false
            "initialized"     | ["-D$NATIVE_SERVICES_OPTION=''"]    | true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 05:18:22 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/xla_launch_util.cc

          arg.definition_stack_trace = variable.definition_stack_trace();
          if (variable.var() && variable.var()->is_initialized) {
            const Tensor* value = variable.var()->tensor();
            arg.type = value->dtype();
            arg.shape = value->shape();
            arg.initialized = true;
          } else {
            // The values of uninitialized variables are not passed as inputs, since
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 00:36:08 UTC 2024
    - 40.4K bytes
    - Viewed (0)
  3. platforms/core-runtime/functional/src/main/java/org/gradle/internal/lazy/LockingLazy.java

        private volatile boolean initialized;
        // "value" does not need to be volatile;
        // visibility piggybacks on volatile read of "initialized".
        private T value;
    
        public LockingLazy(Supplier<T> supplier) {
            this.supplier = supplier;
        }
    
        @Override
        public T get() {
            // A 2-field variant of Double Checked Locking.
            if (!initialized) {
                synchronized (this) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:22:02 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  4. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultPersistentDirectoryCacheTest.groovy

            cache.open()
    
            then:
            initialized
    
            cleanup:
            cache.close()
        }
    
        def "will rebuild cache if cache.properties is missing and properties are not empty"() {
            given:
            def dir = createCacheDir()
            def initialized = false
            def init = { initialized = true } as Consumer
            def properties = [foo: 'bar']
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 16:40:49 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  5. src/vendor/golang.org/x/sys/cpu/hwcap_linux.go

    	procAuxv = "/proc/self/auxv"
    
    	uintSize = int(32 << (^uint(0) >> 63))
    )
    
    // For those platforms don't have a 'cpuid' equivalent we use HWCAP/HWCAP2
    // These are initialized in cpu_$GOARCH.go
    // and should not be changed after they are initialized.
    var hwCap uint
    var hwCap2 uint
    
    func readHWCAP() error {
    	// For Go 1.21+, get auxv from the Go runtime.
    	if a := getAuxv(); len(a) > 0 {
    		for len(a) >= 2 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 10 16:32:44 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/testplugin/testdata/issue62430/main.go

    	}
    	s, err := p.Lookup("F")
    	if err != nil {
    		panic(err)
    	}
    
    	f := s.(func(string) *unicode.RangeTable)
    	if f("C") == nil {
    		panic("unicode.Categories not properly initialized")
    	} else {
    		fmt.Println("unicode.Categories properly initialized")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 13:18:51 UTC 2023
    - 804 bytes
    - Viewed (0)
  7. scan.go

    				} else {
    					// if the slice cap is externally initialized, the externally initialized slice is directly used here
    					if reflectValue.Cap() == 0 {
    						db.Statement.ReflectValue.Set(reflect.MakeSlice(reflectValue.Type(), 0, 20))
    					} else {
    						reflectValue.SetLen(0)
    						db.Statement.ReflectValue.Set(reflectValue)
    					}
    				}
    			}
    
    			for initialized || rows.Next() {
    			BEGIN:
    				initialized = false
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:57:36 UTC 2024
    - 10K bytes
    - Viewed (0)
  8. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/msvcpp/version/AbstractVisualStudioVersionLocator.java

        private final List<VisualStudioInstallCandidate> installs = new ArrayList<>();
        private boolean initialized;
    
        @Nonnull
        @Override
        public List<VisualStudioInstallCandidate> getVisualStudioInstalls() {
            if (!initialized) {
                installs.addAll(locateInstalls());
                initialized = true;
            }
    
            return installs;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/mark_initialized_variables_test_pass.cc

     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(MarkInitializedVariablesTestPass)
    
      StringRef getArgument() const final {
        return "tf-saved-model-mark-initialized-variables-test";
      }
    
      StringRef getDescription() const final {
        return "Mark variables as initialized or not.";
      }
    
      void runOnOperation() override {
        TF::test_util::FakeSession session;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 19 00:13:50 UTC 2022
    - 2.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/endpoints/request/webhook_duration_test.go

    		_, ok := LatencyTrackersFrom(parent)
    		if ok {
    			t.Error("expected LatencyTrackersFrom to not be initialized")
    		}
    
    		clk := clocktesting.FakeClock{}
    		ctx := WithLatencyTrackersAndCustomClock(parent, &clk)
    		wd, ok := LatencyTrackersFrom(ctx)
    		if !ok {
    			t.Error("expected LatencyTrackersFrom to be initialized")
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 09:15:20 UTC 2023
    - 2.4K bytes
    - Viewed (0)
Back to top