Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 64 for switches$ (0.18 sec)

  1. src/internal/types/testdata/check/typeparams.go

    // 	return b[0], err
    // }
    //
    // // type assertions and type switches over generic types are strict
    // type I3 interface {
    //         m(int)
    // }
    //
    // type I4 interface {
    //         m() int // different signature from I3.m
    // }
    //
    // func _[T I3](x I3, p T) {
    //         // type assertions and type switches over interfaces are not strict
    //         _ = x.(I4)
    //         switch x.(type) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 01:56:58 UTC 2023
    - 15.2K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/runtime/stubs.go

    // systemstack calls fn directly and returns.
    // Otherwise, systemstack is being called from the limited stack
    // of an ordinary goroutine. In this case, systemstack switches
    // to the per-OS-thread stack, calls fn, and switches back.
    // It is common to use a func literal as the argument, in order
    // to share inputs and outputs with the code around the call
    // to system stack:
    //
    //	... set up y ...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  7. src/math/big/arith_arm64.s

    	STP.P	(R4, R5), 32(R3);			\
    	STP	(R6, R7), -16(R3);			\
    	SUB	$4, counter;
    
    // func addVW(z, x []Word, y Word) (c Word)
    // The 'large' branch handles large 'z'. It checks the carry flag on every iteration
    // and switches to copy if we are done with carries. The copying is skipped as well
    // if 'x' and 'z' happen to share the same underlying storage.
    // The overhead of the checking and branching is visible when 'z' are small (~5%),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/walk/switch.go

    // A typeSwitch walks a type switch.
    type typeSwitch struct {
    	// Temporary variables (i.e., ONAMEs) used by type switch dispatch logic:
    	srcName  ir.Node // value being type-switched on
    	hashName ir.Node // type hash of the value being type-switched on
    	okName   ir.Node // boolean used for comma-ok type assertions
    	itabName ir.Node // itab value to use for first word of non-empty interface
    }
    
    type typeClause struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  9. src/cmd/go/internal/toolchain/select.go

    var counterSelectExec = telemetry.NewCounter("go/toolchain/select-exec")
    
    // TestVersionSwitch is set in the test go binary to the value in $TESTGO_VERSION_SWITCH.
    // Valid settings are:
    //
    //	"switch" - simulate version switches by reinvoking the test go binary with a different TESTGO_VERSION.
    //	"mismatch" - like "switch" but forget to set TESTGO_VERSION, so it looks like we invoked a mismatched toolchain
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:25:05 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  10. src/runtime/race_s390x.s

    // are no arguments.
    TEXT	runtime·racecall(SB), NOSPLIT, $0-0
    	MOVD	fn+0(FP), R1
    	MOVD	arg0+8(FP), R2
    	MOVD	arg1+16(FP), R3
    	MOVD	arg2+24(FP), R4
    	MOVD	arg3+32(FP), R5
    	JMP	racecall<>(SB)
    
    // Switches SP to g0 stack and calls R1. Arguments are already set.
    TEXT	racecall<>(SB), NOSPLIT, $0-0
    	BL	runtime·save_g(SB)		// Save g for callbacks.
    	MOVD	R15, R7				// Save SP.
    	MOVD	g_m(g), R8			// R8 = thread.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 13.1K bytes
    - Viewed (0)
Back to top