- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 77 for makeTag (0.12 sec)
-
src/archive/tar/writer_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 38.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/term/term_plan9.go
func isTerminal(fd int) bool { path, err := plan9.Fd2path(fd) if err != nil { return false } return path == "/dev/cons" || path == "/mnt/term/dev/cons" } func makeRaw(fd int) (*State, error) { return nil, fmt.Errorf("terminal: MakeRaw not implemented on %s/%s", runtime.GOOS, runtime.GOARCH) } func getState(fd int) (*State, error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 15 19:02:39 UTC 2021 - 1.1K bytes - Viewed (0) -
src/archive/tar/reader_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 21 21:14:38 UTC 2022 - 47.1K bytes - Viewed (0) -
src/go/constant/value.go
} case unknownVal: break default: panic(fmt.Sprintf("%v not Int or Float", x)) } return unknownVal{} } // MakeImag returns the [Complex] value x*i; // x must be [Int], [Float], or [Unknown]. // If x is [Unknown], the result is [Unknown]. func MakeImag(x Value) Value { switch x.(type) { case unknownVal: return x case int64Val, intVal, ratVal, floatVal: return makeComplex(int64Val(0), x)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 34K bytes - Viewed (0) -
src/cmd/pprof/readlineui.go
if v := strings.ToLower(os.Getenv("TERM")); v == "" || v == "dumb" { return nil } // test if we can use term.ReadLine // that assumes operation in the raw mode. oldState, err := term.MakeRaw(0) if err != nil { return nil } term.Restore(0, oldState) rw := struct { io.Reader io.Writer }{os.Stdin, os.Stderr} return &readlineUI{term: term.NewTerminal(rw, "")} }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 30 18:10:36 UTC 2023 - 3.3K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/CachingClassLoader.java
private static final Object MISSING = new Object(); private final ConcurrentMap<String, Object> loadedClasses = new MapMaker().weakValues().makeMap(); private final ConcurrentMap<String, Object> resources = new MapMaker().makeMap(); private final ClassLoader parent; static { try { ClassLoader.registerAsParallelCapable(); } catch (NoSuchMethodError ignore) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 26 14:58:23 UTC 2024 - 3.6K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/modulecache/ResolvedArtifactCaches.java
private final Map<String, Map<ComponentArtifactIdentifier, ResolvableArtifact>> cachePerRepo = new MapMaker().makeMap(); private final Map<String, Map<ComponentArtifactIdentifier, ResolvableArtifact>> cachePerRepoWithVerification = new MapMaker().makeMap(); /** * For a remote repository, the only thing required is a resolved artifact cache.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 4.1K bytes - Viewed (0) -
src/go/constant/example_test.go
import ( "fmt" "go/constant" "go/token" "math" "slices" ) func Example_complexNumbers() { // Create the complex number 2.3 + 5i. ar := constant.MakeFloat64(2.3) ai := constant.MakeImag(constant.MakeInt64(5)) a := constant.BinaryOp(ar, token.ADD, ai) // Compute (2.3 + 5i) * 11. b := constant.MakeUint64(11) c := constant.BinaryOp(a, token.MUL, b) // Convert c into a complex128.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 3.5K bytes - Viewed (0) -
test/fixedbugs/issue37716.go
type K struct { a, b int32 // these get merged by the compiler into a single field, something typehash doesn't do c float64 } func main() { k := K{a: 1, b: 2, c: 3} // Make a reflect map. m := reflect.MakeMap(reflect.MapOf(reflect.TypeOf(K{}), reflect.TypeOf(true))) m.SetMapIndex(reflect.ValueOf(k), reflect.ValueOf(true)) // The binary must not contain the type map[K]bool anywhere, or reflect.MapOf
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 10 16:26:59 UTC 2020 - 872 bytes - Viewed (0) -
src/runtime/race/testdata/regression_test.go
c := make(chan bool) go func() { _ = l c <- true }() l = LogImpl{} <-c return } var _ LogImpl = NewLog() func MakeMap() map[int]int { return make(map[int]int) } func InstrumentMapLen() { _ = len(MakeMap()) } func InstrumentMapLen2() { m := make(map[int]map[int]int) _ = len(m[0]) } func InstrumentMapLen3() { m := make(map[int]*map[int]int)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 03 02:01:34 UTC 2015 - 2.7K bytes - Viewed (0)