- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 68 for switches$ (0.23 sec)
-
src/cmd/go/internal/toolchain/switch.go
// Otherwise Switch prints all the errors using base.Error. // // See https://go.dev/doc/toolchain#switch. type Switcher struct { TooNew *gover.TooNewError // max go requirement observed Errors []error // errors collected so far } // Error reports the error to the Switcher, // which saves it for processing during Switch. func (s *Switcher) Error(err error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 18:15:22 UTC 2024 - 7K bytes - Viewed (0) -
src/runtime/coro.go
mcall(coroswitch_m) } //go:linkname coroswitch // coroswitch switches to the goroutine blocked on c // and then blocks the current goroutine on c. func coroswitch(c *coro) { gp := getg() gp.coroarg = c mcall(coroswitch_m) } // coroswitch_m is the implementation of coroswitch // that runs on the m stack. // // Note: Coroutine switches are expected to happen at // an order of magnitude (or more) higher frequency
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:09:18 UTC 2024 - 7.4K bytes - Viewed (0) -
src/internal/abi/iface.go
// is implementing (Inter), and some ancillary information. // // allocated in non-garbage-collected memory type ITab struct { Inter *InterfaceType Type *Type Hash uint32 // copy of Type.Hash. Used for type switches. Fun [1]uintptr // variable sized. fun[0]==0 means Type does not implement Inter. } // EmptyInterface describes the layout of a "interface{}" or a "any."
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 17 21:09:59 UTC 2024 - 895 bytes - Viewed (0) -
src/sync/mutex.go
// already running on CPU and there can be lots of them, so a woken up // waiter has good chances of losing. In such case it is queued at front // of the wait queue. If a waiter fails to acquire the mutex for more than 1ms, // it switches mutex to the starvation mode. // // In starvation mode ownership of the mutex is directly handed off from // the unlocking goroutine to the waiter at the front of the queue.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 21:14:51 UTC 2024 - 8.4K bytes - Viewed (0) -
src/internal/trace/testdata/testprog/iter-pull.go
// Copyright 2023 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. // Tests coroutine switches. //go:build ignore package main import ( "iter" "log" "os" "runtime/trace" "sync" ) func main() { // Start tracing. if err := trace.Start(os.Stdout); err != nil { log.Fatalf("failed to start tracing: %v", err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 1.4K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/authoring-builds/logging.adoc
== Choosing a log level You can choose different log levels from the command line switches shown in <<#logLevelCommandLineOptions, Log level command-line options>>. You can also configure the log level using <<build_environment.adoc#sec:gradle_configuration_properties,`gradle.properties`>>. In <<#stacktraces,Stacktrace command-line options>> you can find the command line switches which affect stacktrace logging. [[logLevelCommandLineOptions]]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 23 18:32:47 UTC 2024 - 10.3K bytes - Viewed (0) -
src/cmd/go/internal/work/gccgo.go
} else if b.gccSupportsFlag(compiler, "-fdebug-prefix-map=a=b") { defs = append(defs, "-fdebug-prefix-map="+b.WorkDir+"=/tmp/go-build") } if b.gccSupportsFlag(compiler, "-gno-record-gcc-switches") { defs = append(defs, "-gno-record-gcc-switches") } return b.Shell(a).run(p.Dir, p.ImportPath, nil, compiler, "-Wall", "-g", "-I", a.Objdir, "-I", inc, "-o", ofile, defs, "-c", cfile) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 02 22:18:34 UTC 2024 - 19K bytes - Viewed (0) -
src/runtime/iface.go
m.Inter = inter m.Type = typ // The hash is used in type switches. However, compiler statically generates itab's // for all interface/type pairs used in switches (which are added to itabTable // in itabsinit). The dynamically-generated itab's never participate in type switches, // and thus the hash is irrelevant. // Note: m.Hash is _not_ the hash used for the runtime itabTable hash table.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 22.5K bytes - Viewed (0) -
src/runtime/cgocall.go
// // runtime.cgocall (below) calls entersyscall so as not to block // other goroutines or the garbage collector, and then calls // runtime.asmcgocall(_cgo_Cfunc_f, frame). // // runtime.asmcgocall (in asm_$GOARCH.s) switches to the m->g0 stack // (assumed to be an operating system-allocated stack, so safe to run // gcc-compiled code on) and calls _cgo_Cfunc_f(frame). // // _cgo_Cfunc_f invokes the actual C function f with arguments
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:47 UTC 2024 - 24.2K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/running-builds/introduction/gradle_optimizations.adoc
If a developer continuously changes a single file, there is likely no need to rebuild all the other files in the project. However, what happens when the same developer switches to a new branch created last week? The files are rebuilt, even though the developer is building something that has been built before. This is where a *build cache* is helpful.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 09:28:20 UTC 2024 - 4.8K bytes - Viewed (0)