Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 939 for Style (0.04 sec)

  1. src/runtime/badlinkname_linux.go

    // Copyright 2024 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.
    
    //go:build amd64 || arm64
    
    package runtime
    
    import _ "unsafe"
    
    // As of Go 1.22, the symbols below are found to be pulled via
    // linkname in the wild. We provide a push linkname here, to
    // keep them accessible with pull linknames.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 14:47:42 UTC 2024
    - 506 bytes
    - Viewed (0)
  2. 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)
  3. src/structs/doc.go

    // Copyright 2024 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 structs defines marker types that can be used as struct fields
    // to modify the properties of a struct.
    //
    // By convention, a marker type should be used as the type of a field
    // named "_", placed at the beginning of a struct type definition.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 21:19:39 UTC 2024
    - 431 bytes
    - Viewed (0)
  4. src/internal/types/testdata/fixedbugs/issue50779.go

    // -gotypesalias=0
    
    // Copyright 2022 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
    
    type AC interface {
    	C
    }
    
    type ST []int
    
    type R[S any, P any] struct{}
    
    type SR = R[SS, ST]
    
    type SS interface {
    	NSR(any) *SR // ERROR "invalid use of type alias SR in recursive type"
    }
    
    type C interface {
    	NSR(any) *SR
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 414 bytes
    - Viewed (0)
  5. src/internal/syscall/unix/sysnum_linux_s390x.go

    // Copyright 2016 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 unix
    
    const (
    	getrandomTrap       uintptr = 349
    	copyFileRangeTrap   uintptr = 375
    	pidfdSendSignalTrap uintptr = 424
    	pidfdOpenTrap       uintptr = 434
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 01:23:00 UTC 2024
    - 324 bytes
    - Viewed (0)
  6. src/syscall/linkname_libc.go

    // Copyright 2024 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.
    
    //go:build aix || darwin || (openbsd && !mips64) || solaris
    
    package syscall
    
    import _ "unsafe"
    
    // used by internal/poll
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 303 bytes
    - Viewed (0)
  7. src/syscall/linkname_unix.go

    // Copyright 2024 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.
    
    //go:build unix
    
    package syscall
    
    import _ "unsafe" // for linkname
    
    // mmap should be an internal detail,
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    //   - modernc.org/memory
    //   - github.com/ncruces/go-sqlite3
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 532 bytes
    - Viewed (0)
  8. src/go/types/type.go

    // Copyright 2011 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 types
    
    // A Type represents a type of Go.
    // All types implement the Type interface.
    type Type interface {
    	// Underlying returns the underlying type of a type.
    	// Underlying types are never Named, TypeParam, or Alias types.
    	//
    	// See https://go.dev/ref/spec#Underlying_types.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 541 bytes
    - Viewed (0)
  9. src/cmd/go/internal/script/cmds_nonunix.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.
    
    //go:build !unix
    
    package script
    
    func isETXTBSY(err error) bool {
    	// syscall.ETXTBSY is only meaningful on Unix platforms.
    	return false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 00:12:01 UTC 2024
    - 301 bytes
    - Viewed (0)
  10. src/cmd/go/internal/telemetrystats/version_other.go

    // Copyright 2024 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.
    
    //go:build !cmd_go_bootstrap && !unix && !windows
    
    package telemetrystats
    
    import "cmd/internal/telemetry"
    
    func incrementVersionCounters() {
    	telemetry.Inc("go/platform:version-not-supported")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:09:11 UTC 2024
    - 356 bytes
    - Viewed (0)
Back to top