Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 687 for isInitialized (0.24 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/cmd/covdata/argsmerge.go

    	"strconv"
    )
    
    type argvalues struct {
    	osargs []string
    	goos   string
    	goarch string
    }
    
    type argstate struct {
    	state       argvalues
    	initialized bool
    }
    
    func (a *argstate) Merge(state argvalues) {
    	if !a.initialized {
    		a.state = state
    		a.initialized = true
    		return
    	}
    	if !slices.Equal(a.state.osargs, state.osargs) {
    		a.state.osargs = nil
    	}
    	if state.goos != a.state.goos {
    		a.state.goos = ""
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 10 10:18:37 UTC 2023
    - 1K bytes
    - Viewed (0)
  10. tensorflow/c/kernels_experimental.cc

                                   *(*ptr)->tensor() = value;
                                   (*ptr)->is_initialized = true;
                                   return absl::OkStatus();
                                 }));
      tensorflow::mutex_lock ml(*variable->mu());
    
      if (validate_shape) {
        OP_REQUIRES(cc_ctx,
                    (!variable->is_initialized ||
                     variable->tensor()->shape().IsSameSize(value.shape())),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 23 06:12:29 UTC 2024
    - 30.9K bytes
    - Viewed (0)
Back to top