- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 150 for switches$ (0.16 sec)
-
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) -
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) -
src/runtime/msan_arm64.s
MOVD dst+0(FP), RARG0 MOVD src+8(FP), RARG1 MOVD sz+16(FP), RARG2 // void __msan_memmove(void *dst, void *src, uintptr_t sz); MOVD $__msan_memmove(SB), FARG JMP msancall<>(SB) // Switches SP to g0 stack and calls (FARG). Arguments already set. TEXT msancall<>(SB), NOSPLIT, $0-0 MOVD RSP, R19 // callee-saved CBZ g, g0stack // no g, still on a system stack MOVD g_m(g), R10
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 09 01:36:54 UTC 2024 - 2K bytes - Viewed (0) -
src/cmd/compile/internal/ir/type.go
// ITab is an expression that yields a *runtime.itab value // representing the asserted type within the assertee expression's // original interface type. // // ITab is only used for assertions (including type switches) from // non-empty interface type to a concrete (i.e., non-interface) // type. For all other assertions, ITab is nil. ITab Node } func NewDynamicType(pos src.XPos, rtype Node) *DynamicType {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Aug 20 05:56:49 UTC 2023 - 1.7K bytes - Viewed (0) -
src/runtime/asan_arm64.s
MOVD addr+0(FP), RARG0 MOVD n+8(FP), RARG1 // void __asan_register_globals_go(void *addr, uintptr_t n); MOVD $__asan_register_globals_go(SB), FARG JMP asancall<>(SB) // Switches SP to g0 stack and calls (FARG). Arguments already set. TEXT asancall<>(SB), NOSPLIT, $0-0 MOVD RSP, R19 // callee-saved CBZ g, g0stack // no g, still on a system stack MOVD g_m(g), R10
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 22 02:20:04 UTC 2023 - 2.1K bytes - Viewed (0) -
src/runtime/msan_loong64.s
MOVV dst+0(FP), RARG0 MOVV src+8(FP), RARG1 MOVV sz+16(FP), RARG2 // void __msan_memmove(void *dst, void *src, uintptr_t sz); MOVV $__msan_memmove(SB), FARG JMP msancall<>(SB) // Switches SP to g0 stack and calls (FARG). Arguments already set. TEXT msancall<>(SB), NOSPLIT, $0-0 MOVV R3, R23 // callee-saved BEQ g, g0stack // no g, still on a system stack MOVV g_m(g), R14 MOVV m_g0(R14), R15
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 09 01:36:54 UTC 2024 - 2K bytes - Viewed (0) -
src/runtime/asan_loong64.s
MOVV addr+0(FP), RARG0 MOVV n+8(FP), RARG1 // void __asan_register_globals_go(void *addr, uintptr_t n); MOVV $__asan_register_globals_go(SB), FARG JMP asancall<>(SB) // Switches SP to g0 stack and calls (FARG). Arguments already set. TEXT asancall<>(SB), NOSPLIT, $0-0 MOVV R3, R23 // callee-saved BEQ g, g0stack // no g, still on a system stack MOVV g_m(g), R14 MOVV m_g0(R14), R15
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 22 02:20:04 UTC 2023 - 2.1K bytes - Viewed (0) -
guava/src/com/google/common/io/FileBackedOutputStream.java
import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import javax.annotation.CheckForNull; /** * An {@link OutputStream} that starts buffering to a byte array, but switches to file buffering * once the data reaches a configurable size. * * <p>When this stream creates a temporary file, it restricts the file's permissions to the current
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 17:40:56 UTC 2024 - 8.2K bytes - Viewed (0) -
src/runtime/msan_amd64.s
MOVQ dst+0(FP), RARG0 MOVQ src+8(FP), RARG1 MOVQ sz+16(FP), RARG2 // void __msan_memmove(void *dst, void *src, uintptr_t sz); MOVQ $__msan_memmove(SB), AX JMP msancall<>(SB) // Switches SP to g0 stack and calls (AX). Arguments already set. TEXT msancall<>(SB), NOSPLIT, $0-0 get_tls(R12) MOVQ g(R12), R14 MOVQ SP, R12 // callee-saved, preserved across the CALL CMPQ R14, $0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 09 01:36:54 UTC 2024 - 2.3K bytes - Viewed (0) -
android/guava/src/com/google/common/io/FileBackedOutputStream.java
import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import javax.annotation.CheckForNull; /** * An {@link OutputStream} that starts buffering to a byte array, but switches to file buffering * once the data reaches a configurable size. * * <p>When this stream creates a temporary file, it restricts the file's permissions to the current
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 17:40:56 UTC 2024 - 8.2K bytes - Viewed (0)