Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 939 for Style (0.2 sec)

  1. src/cmd/vendor/golang.org/x/telemetry/internal/crashmonitor/crash_go123.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 go1.23
    // +build go1.23
    
    package crashmonitor
    
    import (
    	"os"
    	"runtime/debug"
    )
    
    func init() {
    	setCrashOutput = func(f *os.File) error { return debug.SetCrashOutput(f, debug.CrashOptions{}) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:32:04 UTC 2024
    - 367 bytes
    - Viewed (0)
  2. src/vendor/golang.org/x/crypto/sha3/hashes_noasm.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 !gc || purego || !s390x
    
    package sha3
    
    func new224() *state {
    	return new224Generic()
    }
    
    func new256() *state {
    	return new256Generic()
    }
    
    func new384() *state {
    	return new384Generic()
    }
    
    func new512() *state {
    	return new512Generic()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 409 bytes
    - Viewed (0)
  3. src/internal/syscall/unix/constants.go

    // 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.
    
    //go:build unix
    
    package unix
    
    const (
    	R_OK = 0x4
    	W_OK = 0x2
    	X_OK = 0x1
    
    	// NoFollowErrno is the error returned from open/openat called with
    	// O_NOFOLLOW flag, when the trailing component (basename) of the path
    	// is a symbolic link.
    	NoFollowErrno = noFollowErrno
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:26 UTC 2024
    - 434 bytes
    - Viewed (0)
  4. src/cmd/compile/internal/syntax/testdata/issue20789.go

    // Copyright 2018 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.
    
    // Make sure this doesn't crash the compiler.
    // Line 9 must end in EOF for this test (no newline).
    
    package e
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 326 bytes
    - Viewed (0)
  5. test/fixedbugs/issue11361.go

    // errorcheck
    
    // 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 a
    
    import "fmt"  // GC_ERROR "imported and not used"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 351 bytes
    - Viewed (0)
  6. test/fixedbugs/issue66873.go

    // compile
    
    // 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 p
    
    func f(A) {}
    
    type T int
    
    type A = T
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:09:14 UTC 2024
    - 237 bytes
    - Viewed (0)
  7. src/runtime/asm.s

    // Copyright 2014 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 "textflag.h"
    
    #ifndef GOARCH_amd64
    TEXT ·sigpanic0(SB),NOSPLIT,$0-0
    	JMP	·sigpanic<ABIInternal>(SB)
    #endif
    
    // See map.go comment on the need for this routine.
    TEXT ·mapinitnoop<ABIInternal>(SB),NOSPLIT,$0-0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 21:49:14 UTC 2024
    - 386 bytes
    - Viewed (0)
  8. test/linknameasm.dir/x.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.
    
    // Test that a linkname applied on an assembly declaration
    // does not affect stack map generation.
    
    package main
    
    import (
    	"runtime"
    	_ "unsafe"
    )
    
    //go:linkname asm
    func asm(*int)
    
    func main() {
    	x := new(int)
    	asm(x)
    }
    
    // called from asm
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 15:22:22 UTC 2024
    - 451 bytes
    - Viewed (0)
  9. src/internal/types/testdata/check/go1_13.go

    // -lang=go1.13
    
    // 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.
    
    // Check Go language version-specific errors.
    
    package p
    
    // interface embedding
    
    type I interface { m() }
    
    type _ interface {
    	m()
    	I // ERROR "duplicate method m"
    }
    
    type _ interface {
    	I
    	I // ERROR "duplicate method m"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 402 bytes
    - Viewed (0)
  10. src/syscall/linkname_openbsd.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 openbsd && !mips64
    
    package syscall
    
    import _ "unsafe"
    
    // used by internal/syscall/unix
    //go:linkname unlinkat
    //go:linkname openat
    //go:linkname fstatat
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 351 bytes
    - Viewed (0)
Back to top