- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 216 for BSD (0.13 sec)
-
src/arena/arena_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. //go:build goexperiment.arenas package arena_test import ( "arena" "testing" ) type T1 struct { n int } type T2 [1 << 20]byte // 1MiB func TestSmoke(t *testing.T) { a := arena.NewArena() defer a.Free() tt := arena.New[T1](a) tt.n = 1
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Oct 12 20:23:36 GMT 2022 - 742 bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue26430/a.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. package a // typedef struct S ST; // static ST* F() { return 0; } import "C" func F1() { C.F()
Go - Registered: Tue Mar 26 11:13:08 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 260 bytes - Viewed (0) -
src/cmd/cgo/internal/test/callstub_linux_ppc64le.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. package cgotest // extern int notoc_func(void); // int TestPPC64Stubs(void) { // return notoc_func(); // } import "C" import "testing" func testPPC64CallStubs(t *testing.T) { // Verify the trampolines run on the testing machine. If they
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri Sep 22 15:06:17 GMT 2023 - 540 bytes - Viewed (0) -
src/cmd/asm/internal/asm/testdata/duperror.s
// 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. TEXT foo(SB), 0, $0 RET TEXT foo(SB), 0, $0 // ERROR "symbol foo redeclared" RET GLOBL bar(SB), 0, $8 GLOBL bar(SB), 0, $8 // ERROR "symbol bar redeclared" DATA bar+0(SB)/8, $0
Others - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Dec 05 23:21:07 GMT 2022 - 404 bytes - Viewed (0) -
src/archive/tar/stat_actime1.go
// 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. //go:build aix || linux || dragonfly || openbsd || solaris package tar import ( "syscall" "time" ) func statAtime(st *syscall.Stat_t) time.Time { return time.Unix(st.Atim.Unix()) } func statCtime(st *syscall.Stat_t) time.Time { return time.Unix(st.Ctim.Unix())
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Oct 28 18:17:57 GMT 2021 - 431 bytes - Viewed (0) -
src/cmd/cgo/internal/test/callback_c.c
// 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. #include <string.h> #include "_cgo_export.h" void callback(void *f) { // use some stack space volatile char data[64*1024]; data[0] = 0; goCallback(f); data[sizeof(data)-1] = 0; } void callGoFoo(void) { extern void goFoo(void);
C - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 933 bytes - Viewed (0) -
src/archive/tar/reader_test.go
Format: FormatGNU, }}, }, { // BSD tar v3.1.2 and GNU tar v1.27.1 both rejects PAX records // with NULs in the key. file: "testdata/pax-nul-xattrs.tar", err: ErrHeader, }, { // BSD tar v3.1.2 rejects a PAX path with NUL in the value, while // GNU tar v1.27.1 simply truncates at first NUL. // We emulate the behavior of BSD since it is strange doing NUL
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Nov 21 21:14:38 GMT 2022 - 47.1K bytes - Viewed (0) -
src/cmd/cgo/internal/test/cgo_thread_lock.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. //go:build linux package cgotest /* #include <unistd.h> #include <stdbool.h> #include <sys/syscall.h> void Gosched(void); static bool Ctid(void) { long tid1 = syscall(SYS_gettid); Gosched(); return tid1 == syscall(SYS_gettid); } */ import "C" import (
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Thu May 18 16:55:07 GMT 2023 - 939 bytes - Viewed (0) -
src/all.bat
if...
Batch File - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Apr 19 14:36:22 GMT 2023 - 543 bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue24161e1/main.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. //go:build darwin package issue24161e1 /* #cgo CFLAGS: -x objective-c #cgo LDFLAGS: -framework CoreFoundation -framework Security #include <TargetConditionals.h> #include <CoreFoundation/CoreFoundation.h> #include <Security/Security.h>
Go - Registered: Tue Mar 26 11:13:08 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 1K bytes - Viewed (0)