Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for Implicits (0.17 sec)

  1. src/cmd/compile/internal/types2/api.go

    // or nil if not found.
    //
    // For dot-imports, the package name is ".".
    //
    // Precondition: the Defs and Implicts maps are populated.
    func (info *Info) PkgNameOf(imp *syntax.ImportDecl) *PkgName {
    	var obj Object
    	if imp.LocalPkgName != nil {
    		obj = info.Defs[imp.LocalPkgName]
    	} else {
    		obj = info.Implicits[imp]
    	}
    	pkgname, _ := obj.(*PkgName)
    	return pkgname
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 13:48:53 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  2. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/symbols/KtSymbol.kt

         * Declaration which do not have its PSI source and was generated, they are:
         * For regular classes, implicit default constructor is generated
         * For data classes the `copy`, `component{N}`, `toString`, `equals`, `hashCode` functions are generated
         * For enum classes the `valueOf` & `values` functions are generated
         * For lambda the `it` implicit parameter is generated
         */
        SOURCE_MEMBER_GENERATED,
    
        /**
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 09:36:27 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KaFirResolver.kt

                    // For implicit invoke, we resolve the calleeExpression of the CallExpression to the call that creates the receiver of this
                    // implicit invoke call. For example,
                    // ```
                    // fun test(f: () -> Unit) {
                    //   f() // calleeExpression `f` resolves to the local variable access, while `f()` resolves to the implicit `invoke` call.
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 73K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/FirUtils.kt

            .singleOrNull()
    }
    
    /**
     * Implicit dispatch receiver is present when an extension function declared in object
     * is imported somewhere else and used without directly referencing the object instance
     * itself:
     *
     * ```kt
     * import Foo.bar
     *
     * object Foo { fun String.bar() {} }
     *
     * fun usage() {
     *   "hello".bar() // this call has implicit 'Foo' dispatch receiver
     * }
     * ```
     */
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:43 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/utils/string_utils.h

      // buffer containing the concatenation of all added strings to be.
      // For historical reasons this is limited to 32bit length. At this files
      // inception, sizes were represented using 32bit which forced an implicit cap
      // on the size of the buffer. When this was refactored to use size_t (which
      // could be 64bit) we enforce that the buffer remains at most 32bit length to
      // avoid a change in behavior.
      const size_t max_length_;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/SerializedLambdaParametersCheckingCodec.kt

            val signature = value.implMethodSignature
            val paramTypes: Array<Type> = getArgumentTypes(signature)
    
            // Treat all parameters equally, regardless of whether they are implicit captured parameters or the lambda signature ones.
            // If any of them is of an unsupported type, a build that runs from the serialized state won't be able to provide an instance anyway.
            paramTypes.forEach { paramType ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/sparsity/sparsify_model.cc

      if (!module) {
        LOG(ERROR) << "Couldn't import flatbuffer to MLIR.";
        return absl::InternalError("Couldn't import flatbuffer to MLIR.");
      }
    
      PassManager pm((*module)->getName(), OpPassManager::Nesting::Implicit);
      pm.addPass(TFL::CreateDenseToSparsePass());
    
      if (failed(pm.run(module.get()))) {
        LOG(ERROR) << "Failed to sparsify: "
                   << statusHandler.ConsumeStatus().message();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 10 20:16:40 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/quantization/lite/quantize_model.cc

      if (!module) {
        LOG(ERROR) << "Couldn't import flatbuffer to MLIR.";
        return kTfLiteError;
      }
    
      // Apply quantization passes.
      PassManager pm((*module)->getName(), OpPassManager::Nesting::Implicit);
      if (debug_options.has_value()) {
        // Add debugging instrumentation
        tensorflow::InitPassManager(pm, debug_options.value());
      }
      quant::QuantizationSpecs quant_specs;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/quantization/lite/quantize_weights.cc

      OwningOpRef<mlir::ModuleOp> module = tflite::FlatBufferToMlir(
          serialized_model, &context, UnknownLoc::get(&context));
    
      // Apply quantization passes.
      PassManager pm((*module)->getName(), OpPassManager::Nesting::Implicit);
      quant::QuantizationSpecs quant_specs;
      quant_specs.inference_type = tflite::TflTypeToTfType(inference_type);
      quant_specs.weight_quantization = true;
      quant_specs.weight_only_quantization = weight_only_quantization;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheGroovyClosureIntegrationTest.groovy

            failure.assertHasLineNumber(5)
            failure.assertHasFailure("Could not evaluate onlyIf predicate for task ':some'.") {
                // The cause is not reported
            }
        }
    
        def "discards implicit objects for Groovy closure"() {
            given:
            createDir("buildSrc") {
                file("src/main/groovy/GroovyTask.groovy") << """
                    import ${DefaultTask.name}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.6K bytes
    - Viewed (0)
Back to top