- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of about 10,000 for nfound (0.14 sec)
-
test/fixedbugs/issue4470.go
// errorcheck // Copyright 2012 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. // Issue 4470: parens are not allowed around .(type) "expressions" package main func main() { var i interface{} switch (i.(type)) { // ERROR "outside type switch" default: } _ = i
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Dec 09 23:59:57 UTC 2020 - 364 bytes - Viewed (0) -
src/cmd/compile/internal/noder/stencil.go
// Copyright 2021 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. // This file will evolve, since we plan to do a mix of stenciling and passing // around dictionaries. package noder import ( "cmd/compile/internal/base" ) func assert(p bool) { base.Assert(p)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 26 21:52:50 UTC 2023 - 359 bytes - Viewed (0) -
src/runtime/cgo/gcc_stack_darwin.c
// 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. #include <pthread.h> #include "libcgo.h" void x_cgo_getstackbound(uintptr bounds[2]) { void* addr; size_t size; pthread_t p; p = pthread_self(); addr = pthread_get_stackaddr_np(p); // high address (!) size = pthread_get_stacksize_np(p);
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 01:32:45 UTC 2024 - 617 bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/ambient/waypoints.go
} else if tt, found := gatewayClass.Labels[constants.AmbientWaypointForTrafficTypeLabel]; found { // Check for a declared traffic type that is allowed to pass through the Waypoint's GatewayClass trafficType = tt } // Check for a declared traffic type that is allowed to pass through the Waypoint if tt, found := gateway.Labels[constants.AmbientWaypointForTrafficTypeLabel]; found {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 18:02:28 UTC 2024 - 11.1K bytes - Viewed (0) -
src/internal/types/testdata/fixedbugs/issue48619.go
// Copyright 2021 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 p func f[P any](a, _ P) { var x int // TODO(gri) these error messages, while correct, could be better f(a, x /* ERROR "type int of x does not match inferred type P for P" */) f(x, a /* ERROR "type P of a does not match inferred type int for P" */) } func g[P any](a, b P) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:54:25 UTC 2023 - 575 bytes - Viewed (0) -
src/net/sock_cloexec.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // This file implements sysSocket for platforms that provide a fast path for // setting SetNonblock and CloseOnExec. //go:build dragonfly || freebsd || linux || netbsd || openbsd package net import ( "os" "syscall" ) // Wrapper around the socket system call that marks the returned file
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 14 18:17:25 UTC 2024 - 730 bytes - Viewed (0) -
test/fixedbugs/bug300.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main type T struct { x, y *T } func main() { // legal composite literals _ = struct{}{} _ = [42]int{} _ = [...]int{} _ = []int{} _ = map[int]int{} _ = T{} // illegal composite literals: parentheses not allowed around literal type _ = (struct{}){} // ERROR "parenthesize"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 697 bytes - Viewed (0) -
src/internal/poll/sock_cloexec.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // This file implements accept for platforms that provide a fast path for // setting SetNonblock and CloseOnExec. //go:build dragonfly || freebsd || (linux && !arm) || netbsd || openbsd package poll import "syscall" // Wrapper around the accept system call that marks the returned file
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 14 18:17:25 UTC 2024 - 712 bytes - Viewed (0) -
src/net/sys_cloexec.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // This file implements sysSocket for platforms that do not provide a fast path // for setting SetNonblock and CloseOnExec. //go:build aix || darwin package net import ( "internal/poll" "os" "syscall" ) // Wrapper around the socket system call that marks the returned file
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 03 14:38:32 UTC 2022 - 962 bytes - Viewed (0) -
src/cmd/internal/obj/dwarf.go
precursor: make(map[*LSym]fnState), } } func (ft *DwarfFixupTable) GetPrecursorFunc(s *LSym) Func { if fnstate, found := ft.precursor[s]; found { return fnstate.precursor } return nil } func (ft *DwarfFixupTable) SetPrecursorFunc(s *LSym, fn Func) { if _, found := ft.precursor[s]; found { ft.ctxt.Diag("internal error: DwarfFixupTable.SetPrecursorFunc double call on %v", s) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 01 20:40:28 UTC 2023 - 22K bytes - Viewed (0)