Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 30 for is_initialized (0.23 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. 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)
  3. tensorflow/compiler/mlir/tensorflow/tests/promote_resources_to_args.mlir

      func.return %4 : tensor<2xf32>
    }
    
    // -----
    
    // One resource, one read. _is_initialized is false, shouldn't be promoted.
    // CHECK-LABEL: func @main()
    func.func @main() -> tensor<f32> {
      // CHECK: "tf.VarHandleOp"
      %1 = "tf.VarHandleOp"() {container = "", shared_name = "x", _is_initialized = false} : () -> tensor<!tf_type.resource<tensor<f32>>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 18.2K 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.Sync()
    	}
    }
    
    // OnEndpointSliceUpdate is called whenever modification of an existing endpoint
    // slice object is observed.
    func (proxier *Proxier) OnEndpointSliceUpdate(_, endpointSlice *discovery.EndpointSlice) {
    	if proxier.endpointsChanges.EndpointSliceUpdate(endpointSlice, false) && proxier.isInitialized() {
    		proxier.Sync()
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 59K bytes
    - Viewed (0)
  8. 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)
  9. pkg/proxy/nftables/proxier.go

    		proxier.Sync()
    	}
    }
    
    // OnEndpointSliceUpdate is called whenever modification of an existing endpoint
    // slice object is observed.
    func (proxier *Proxier) OnEndpointSliceUpdate(_, endpointSlice *discovery.EndpointSlice) {
    	if proxier.endpointsChanges.EndpointSliceUpdate(endpointSlice, false) && proxier.isInitialized() {
    		proxier.Sync()
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  10. pkg/proxy/iptables/proxier.go

    		proxier.Sync()
    	}
    }
    
    // OnEndpointSliceUpdate is called whenever modification of an existing endpoint
    // slice object is observed.
    func (proxier *Proxier) OnEndpointSliceUpdate(_, endpointSlice *discovery.EndpointSlice) {
    	if proxier.endpointsChanges.EndpointSliceUpdate(endpointSlice, false) && proxier.isInitialized() {
    		proxier.Sync()
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 65.1K bytes
    - Viewed (0)
Back to top