Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,887 for styled (0.96 sec)

  1. src/cmd/link/internal/ld/outbuf_linux.go

    // Copyright 2020 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 ld
    
    import "syscall"
    
    func (out *OutBuf) fallocate(size uint64) error {
    	return syscall.Fallocate(int(out.f.Fd()), 0, 0, int64(size))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 11 14:21:36 UTC 2020
    - 304 bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/term/term_unix_other.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.
    
    //go:build aix || linux || solaris || zos
    
    package term
    
    import "golang.org/x/sys/unix"
    
    const ioctlReadTermios = unix.TCGETS
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 324 bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/testnocgo/nocgo_test.go

    // 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.
    
    package nocgo
    
    import "testing"
    
    func TestNop(t *testing.T) {
    	i := NoCgo()
    	if i != 42 {
    		t.Errorf("got %d, want %d", i, 42)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 292 bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/testplugin/testdata/iface_a/a.go

    // Copyright 2017 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 main
    
    import "testplugin/iface_i"
    
    //go:noinline
    func F() interface{} {
    	return (*iface_i.T)(nil)
    }
    
    //go:noinline
    func G() iface_i.I {
    	return (*iface_i.T)(nil)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 332 bytes
    - Viewed (0)
  5. src/cmd/compile/internal/syntax/testdata/issue46558.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(s string) {
    	switch s[0] {
    	case 'a':
    		case s[2] { // ERROR unexpected {
    		case 'b':
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 30 18:02:18 UTC 2022
    - 308 bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/_gen/decOps.go

    // Copyright 2015 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 main
    
    var decOps = []opData{}
    
    var decBlocks = []blockData{}
    
    func init() {
    	archs = append(archs, arch{
    		name:    "dec",
    		ops:     decOps,
    		blocks:  decBlocks,
    		generic: true,
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 04 19:35:46 UTC 2022
    - 355 bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/cgocall/cgocall_go120.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 !go1.21
    
    package cgocall
    
    import "go/types"
    
    func setGoVersion(tc *types.Config, pkg *types.Package) {
    	// no types.Package.GoVersion until Go 1.21
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 12 20:38:21 UTC 2023
    - 321 bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/testsanitizers/empty_test.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.
    
    // All of the actual test files have limited build constraints. This file
    // ensures there's at least one test file on every platform.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 19:43:56 UTC 2023
    - 320 bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/testdata/deadcode/typedesc.go

    // Copyright 2020 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 live variable doesn't bring its type
    // descriptor live.
    
    package main
    
    type T [10]string
    
    var t T
    
    func main() {
    	println(t[8])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 01 18:04:59 UTC 2020
    - 306 bytes
    - Viewed (0)
  10. src/cmd/link/testdata/linkname/coro2.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.
    
    // Linkname corostart is not allowed, as it doesn't have
    // a linknamed definition.
    
    package main
    
    import _ "unsafe"
    
    //go:linkname corostart runtime.corostart
    func corostart()
    
    func main() {
    	corostart()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 367 bytes
    - Viewed (0)
Back to top