Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 789 for isInitialized (0.16 sec)

  1. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/mappingToJvm/EmptyBlocksTest.kt

            )
    
            val result = runtimeInstanceFromResult(schema, resolution, kotlinFunctionAsConfigureLambda, RuntimeCustomAccessors.none, ::TopLevel)
    
            assertTrue { result.configuredLazy.isInitialized() }
        }
    
        @Test
        fun `configuring function with no block for Kotlin default param leads to object access`() {
            val resolution = schema.resolve(
                """
                configuring()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 11:58:18 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/mark_initialized_variables.cc

      auto* var_ptr = GetVariableFromSession(var_handle_op, device_name, mgr);
      if (!var_ptr) return false;
      auto* tensor = var_ptr->tensor();
      bool is_initialized = tensor && tensor->IsInitialized();
      var_ptr->Unref();
      return is_initialized;
    }
    
    LogicalResult MarkInitializedVariablesInFunction(func::FuncOp function,
                                                     tensorflow::Session* session) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 13 19:14:56 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  3. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/concurrent/BuildServices.kt

            private
            fun checkForFailure() {
                failure.getAndSet(null)?.let { throw it }
            }
        }
    
        override fun close() {
            executorService.apply {
                if (isInitialized()) {
                    value.shutdown()
                }
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/CacheCorruptionTest.kt

            .cache(cache)
            .cookieJar(JavaNetCookieJar(cookieManager))
            .build()
      }
    
      @AfterEach
      fun tearDown() {
        ResponseCache.setDefault(null)
        if (this::cache.isInitialized) {
          cache.delete()
        }
      }
    
      @Test
      fun corruptedCipher() {
        val response =
          testCorruptingCache {
            corruptMetadata {
              // mess with cipher suite
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 6K bytes
    - Viewed (0)
  5. tensorflow/c/tf_tensor.cc

    }
    
    namespace tensorflow {
    
    AbstractTensorInterface* TensorInterfaceFromTensor(const Tensor& src,
                                                       Status* status) {
      *status = absl::OkStatus();
      if (!src.IsInitialized()) {
        *status = FailedPrecondition(
            "attempt to use a tensor with an uninitialized value");
        return nullptr;
      }
      if (src.NumElements() == 0) {
        auto* emptyTensor =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 21:57:32 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  6. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/mappingToJvm/AccessorTest.kt

            val resolution = schema.resolve("configureCustomInstance { }")
            assertTrue(runtimeInstanceFromResult(schema, resolution, configureLambdas, runtimeCustomAccessors, ::MyReceiver).myHiddenInstance.isInitialized())
        }
    
    
        @Test
        fun `accesses receiver from runtime lambda argument mapping to JVM`() {
            val resolution = schema.resolve(
                """
                configureLambdaArgument {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 11:58:18 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. pkg/proxy/winkernel/proxier.go

    	proxier.syncRunner.Loop(wait.NeverStop)
    }
    
    func (proxier *Proxier) setInitialized(value bool) {
    	var initialized int32
    	if value {
    		initialized = 1
    	}
    	atomic.StoreInt32(&proxier.initialized, initialized)
    }
    
    func (proxier *Proxier) isInitialized() bool {
    	return atomic.LoadInt32(&proxier.initialized) > 0
    }
    
    // OnServiceAdd is called whenever creation of new service object
    // is observed.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 59K bytes
    - Viewed (0)
  8. pkg/proxy/nftables/proxier.go

    	proxier.syncRunner.Loop(wait.NeverStop)
    }
    
    func (proxier *Proxier) setInitialized(value bool) {
    	var initialized int32
    	if value {
    		initialized = 1
    	}
    	atomic.StoreInt32(&proxier.initialized, initialized)
    }
    
    func (proxier *Proxier) isInitialized() bool {
    	return atomic.LoadInt32(&proxier.initialized) > 0
    }
    
    // OnServiceAdd is called whenever creation of new service object
    // is observed.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/set_tpu_infeed_layout.cc

      xla::Shape old_shape = xla::TypeToShape(t);
      XLA_Shape old_shape_c = {};
      XLA_Shape new_shape_c = {};
      TfTpu_ExecutorApiFn *executor = stream_executor::tpu::ExecutorApiFn();
      if (!stream_executor::tpu::IsInitialized(executor)) {
        return failure();
      }
      ApiConverter::ToC(old_shape, &old_shape_c);
      executor->TpuTransferManager_GetInfeedLayoutFn(&old_shape_c, &new_shape_c);
      xla::Shape new_shape = ApiConverter::FromC(&new_shape_c);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java

        }
    
        public String getSettingsIndexName() {
            return settingsIndexName;
        }
    
        public boolean isInitialized() {
            return initialized;
        }
    
        public String getSettingsId() {
            return settingsId;
        }
    
        private Map<String, Object> defaultSettings() {
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 11.7K bytes
    - Viewed (0)
Back to top