Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 346 for sameId (2.86 sec)

  1. test/fixedbugs/issue28268.go

    package p
    
    type T struct {
    	a, b, c int
    	E
    }
    
    type E struct{}
    
    func (T) b()  {} // ERROR "field and method named b|redeclares struct field name|field and method with the same name b"
    func (*T) E() {} // ERROR "field and method named E|redeclares struct field name|field and method with the same name E"
    
    func _() {
    	var x T
    	_ = x.a
    	_ = x.b // no follow-on error here
    	x.b()   // no follow-on error here
    	_ = x.c
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 764 bytes
    - Viewed (0)
  2. src/runtime/debug/example_monitor_test.go

    			log.Fatal(err)
    		}
    		if _, err := f.Write(crash); err != nil {
    			log.Fatal(err)
    		}
    		if err := f.Close(); err != nil {
    			log.Fatal(err)
    		}
    		log.Fatalf("saved crash report at %s", f.Name())
    	}
    
    	// This is the application process.
    	// Fork+exec the same executable in monitor mode.
    	exe, err := os.Executable()
    	if err != nil {
    		log.Fatal(err)
    	}
    	cmd := exec.Command(exe, "-test.run=ExampleSetCrashOutput_monitor")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 15:19:04 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/KtFirNamedClassOrObjectSymbolBase.kt

            }
            return symbolEquals(other)
        }
    
        /**
         * All kinds of non-local named class or object symbols must have the same kind of hash code. The class ID is the best option, as the
         * same class/object may be represented by multiple different symbols.
         */
        override fun hashCode(): Int = classId?.hashCode() ?: symbolHashCode()
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 09:59:11 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. src/structs/hostlayout.go

    // the type system. The main consequence of this is that a user can give
    // the type a new name and it will still have the same properties, e.g.,
    //
    //	type HL structs.HostLayout
    //
    // It also prevents unintentional conversion of struct{} to a named marker type.
    type hostLayout struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 21:19:39 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfrt/tests/ifrt/sink_variable_as_named_array.mlir

    // -----
    // Basic test: all variables tensors are for devices and sinked as named ifrt arrays
    //
    //
    // CHECK-LABEL:  func.func @serving_default(%arg0: tensor<1x3xf32>) -> tensor<1x1xf32> {
    // CHECK-NEXT:   [[HANDLE2:%.*]] = "tf.VarHandleOp"
    // CHECK-NEXT:   [[KEY:%.*]], [[FUTURE:%.*]] = "tf.IfrtLoadVariable"([[HANDLE2]])
    // CHECK-SAME:       used_by_host = false 
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 15:33:17 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/dependencyManagement/modelingFeatures-crossProjectPublications-advanced/groovy/producer/build.gradle

            canBeConsumed = true
            canBeResolved = false
            attributes {
                attribute(Category.CATEGORY_ATTRIBUTE, objects.named(Category, Category.LIBRARY))
                attribute(Usage.USAGE_ATTRIBUTE, objects.named(Usage, Usage.JAVA_RUNTIME))
                attribute(Bundling.BUNDLING_ATTRIBUTE, objects.named(Bundling, Bundling.EXTERNAL))
                attribute(TargetJvmVersion.TARGET_JVM_VERSION_ATTRIBUTE, JavaVersion.current().majorVersionNumber)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 1K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/dependencyManagement/modelingFeatures-crossProjectPublications-advanced-published/kotlin/buildSrc/src/main/kotlin/com/acme/InstrumentedJarsPlugin.kt

                isCanBeResolved = false
                attributes {
                    attribute(Category.CATEGORY_ATTRIBUTE, objects.named(Category.LIBRARY))
                    attribute(Usage.USAGE_ATTRIBUTE, objects.named(Usage.JAVA_RUNTIME))
                    attribute(Bundling.BUNDLING_ATTRIBUTE, objects.named(Bundling.EXTERNAL))
                    attribute(TargetJvmVersion.TARGET_JVM_VERSION_ATTRIBUTE, JavaVersion.current().majorVersionNumber)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  8. testing/public-api-tests/build.gradle.kts

        attributes {
            attribute(Usage.USAGE_ATTRIBUTE, project.objects.named(Usage.JAVA_RUNTIME))
            attribute(Category.CATEGORY_ATTRIBUTE, project.objects.named(Category.LIBRARY))
            attribute(LibraryElements.LIBRARY_ELEMENTS_ATTRIBUTE, project.objects.named("gradle-local-repository"))
            attribute(Bundling.BUNDLING_ATTRIBUTE, project.objects.named(Bundling.EMBEDDED))
        }
        extendsFrom(testRepo.get())
    }
    
    dependencies {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 11:35:59 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. src/io/ioutil/ioutil.go

    // as an error to be reported.
    //
    // Deprecated: As of Go 1.16, this function simply calls [io.ReadAll].
    func ReadAll(r io.Reader) ([]byte, error) {
    	return io.ReadAll(r)
    }
    
    // ReadFile reads the file named by filename and returns the contents.
    // A successful call returns err == nil, not err == EOF. Because ReadFile
    // reads the whole file, it does not treat an EOF from Read as an error
    // to be reported.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/dependencies/sub-dependencies.md

    query_or_cookie_extractor(["query_or_cookie_extractor"])
    
    read_query["/items/"]
    
    query_extractor --> query_or_cookie_extractor --> read_query
    ```
    
    ## Using the same dependency multiple times
    
    If one of your dependencies is declared multiple times for the same *path operation*, for example, multiple dependencies have a common sub-dependency, **FastAPI** will know to call that sub-dependency only once per request.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top