- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 3,760 for package_a (0.24 sec)
-
src/context/context.go
// Context.Value. A key can be any type that supports equality; // packages should define keys as an unexported type to avoid // collisions. // // Packages that define a Context key should provide type-safe accessors // for the values stored using that key: // // // Package user defines a User type that's stored in Contexts. // package user // // import "context" //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 23.7K bytes - Viewed (0) -
src/cmd/compile/internal/types2/scope.go
// The result is guaranteed to be valid only if the type-checked // AST has complete position information. func (s *Scope) Innermost(pos syntax.Pos) *Scope { // Package scopes do not have extents since they may be // discontiguous, so iterate over the package's files. if s.parent == Universe { for _, s := range s.children { if inner := s.Innermost(pos); inner != nil { return inner } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 9.8K bytes - Viewed (0) -
src/go/types/scope.go
// The result is guaranteed to be valid only if the type-checked // AST has complete position information. func (s *Scope) Innermost(pos token.Pos) *Scope { // Package scopes do not have extents since they may be // discontiguous, so iterate over the package's files. if s.parent == Universe { for _, s := range s.children { if inner := s.Innermost(pos); inner != nil { return inner } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 9.9K bytes - Viewed (0) -
platforms/jvm/jvm-services/src/main/java/org/gradle/api/internal/artifacts/JavaEcosystemAttributesDescriber.java
} private static void describeLibraryElements(Object le, StringBuilder sb) { String name = toName(le); switch (name) { case LibraryElements.JAR: sb.append("packaged as a jar"); break; case LibraryElements.CLASSES: sb.append("preferably in the form of class files"); break; case LibraryElements.RESOURCES:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 25 19:13:00 UTC 2024 - 14.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/analysisinternal/analysis.go
default: return false } } // TypeExpr returns syntax for the specified type. References to // named types from packages other than pkg are qualified by an appropriate // package name, as defined by the import environment of file. func TypeExpr(f *ast.File, pkg *types.Package, typ types.Type) ast.Expr { switch t := typ.(type) { case *types.Basic: switch t.Kind() { case types.UnsafePointer:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 11.7K bytes - Viewed (0) -
misc/go_android_exec/main.go
// Binary names can conflict. // E.g. template.test from the {html,text}/template packages. binName := filepath.Base(os.Args[1]) deviceGotmp := fmt.Sprintf(deviceRoot+"/%s-%d", binName, os.Getpid()) deviceGopath := deviceGotmp + "/gopath" defer adb("exec-out", "rm", "-rf", deviceGotmp) // Clean up. // Determine the package by examining the current working // directory, which will look something like
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 21 17:46:57 UTC 2023 - 15.3K bytes - Viewed (0) -
src/go/doc/testdata/testing.go
// Copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Package testing provides support for automated testing of Go packages. // It is intended to be used in concert with the “go test” utility, which automates // execution of any function of the form // func TestXxx(*testing.T) // where Xxx can be any alphanumeric string (but the first letter must not be in
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Oct 02 02:28:27 UTC 2022 - 11.8K bytes - Viewed (0) -
src/runtime/slice.go
msanread(from, copymem) } if asanenabled { asanread(from, copymem) } memmove(to, from, copymem) return to } // makeslice should be an internal detail, // but widely used packages access it using linkname. // Notable members of the hall of shame include: // - github.com/bytedance/sonic // // Do not remove or change the type signature. // See go.dev/issue/67401. // //go:linkname makeslice
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 12.2K bytes - Viewed (0) -
src/runtime/sys_darwin.go
return args.r1, args.r2, args.err } func syscallX() // golang.org/x/sys linknames syscall.syscall6 // (in addition to standard package syscall). // Do not remove or change the type signature. // // syscall.syscall6 is meant for package syscall (and x/sys), // but widely used packages access it using linkname. // Notable members of the hall of shame include: // - github.com/tetratelabs/wazero // // See go.dev/issue/67401.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:17:26 UTC 2024 - 23.9K bytes - Viewed (0) -
src/net/conf.go
defer func() { if confVal.dnsDebugLevel > 1 { println("go package net: confVal.netCgo =", confVal.netCgo, " netGo =", confVal.netGo) } switch { case confVal.netGo: if netGoBuildTag { println("go package net: built with netgo build tag; using Go's DNS resolver") } else { println("go package net: GODEBUG setting forcing use of Go's resolver") } case !cgoAvailable:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 18 03:13:26 UTC 2024 - 15.5K bytes - Viewed (0)