Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 216 for BSD (0.2 sec)

  1. src/archive/tar/stat_actime2.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 darwin || freebsd || netbsd
    
    package tar
    
    import (
    	"syscall"
    	"time"
    )
    
    func statAtime(st *syscall.Stat_t) time.Time {
    	return time.Unix(st.Atimespec.Unix())
    }
    
    func statCtime(st *syscall.Stat_t) time.Time {
    	return time.Unix(st.Ctimespec.Unix())
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Oct 28 18:17:57 GMT 2021
    - 421 bytes
    - Viewed (0)
  2. 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)
  3. src/bufio/export_test.go

    // Copyright 2013 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 bufio
    
    // Exported for testing only.
    import (
    	"unicode/utf8"
    )
    
    var IsSpace = isSpace
    
    const DefaultBufSize = defaultBufSize
    
    func (s *Scanner) MaxTokenSize(n int) {
    	if n < utf8.UTFMax || n > 1e9 {
    		panic("bad max token size")
    	}
    	if n < len(s.buf) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 17:17:44 GMT 2017
    - 597 bytes
    - Viewed (0)
  4. src/clean.bat

    L1::: Copyright 2012 The Go Authors. All rights reserved.
    L2::: Use of this source code is governed by a BSD-style
    L3::: license that can be found in the LICENSE file.
    L4:
    L5:@echo off
    L6:
    L7:setlocal
    L8:
    L9:set GOBUILDFAIL=0
    L10:
    L11:go tool dist env -w -p >env.bat
    L12:if errorlevel 1 goto fail
    L13:call .\env.bat
    L14:del env.bat
    L15:echo.
    L16:
    L17:if exist %GOTOOLDIR%\dist.exe goto distok
    L18:echo cannot find %GOTOOLDIR%\dist; nothing to clean
    L19:goto fail
    L20::distok
    L21:
    ...
    Batch File
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu May 12 16:59:17 GMT 2022
    - 600 bytes
    - Viewed (0)
  5. src/cmd/api/testdata/src/pkg/p4/p4.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 p4
    
    type Pair[T1 interface{ M() }, T2 ~int] struct {
    	f1 T1
    	f2 T2
    }
    
    func NewPair[T1 interface{ M() }, T2 ~int](v1 T1, v2 T2) Pair[T1, T2] {
    	return Pair[T1, T2]{f1: v1, f2: v2}
    }
    
    func (p Pair[X1, _]) First() X1 {
    	return p.f1
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 02 16:29:41 GMT 2022
    - 552 bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/test/callback_c_gc.c

    // Copyright 2013 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
    
    #include "_cgo_export.h"
    #include <stdint.h>
    #include <stdio.h>
    #include <stdlib.h>
    
    /* Test calling panic from C.  This is what SWIG does.  */
    
    extern void crosscall2(void (*fn)(void *, int), void *, int);
    extern void _cgo_panic(void *, int);
    C
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 592 bytes
    - Viewed (0)
  7. src/cmd/cgo/ast_go118.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 !compiler_bootstrap
    
    package main
    
    import (
    	"go/ast"
    	"go/token"
    )
    
    func (f *File) walkUnexpected(x interface{}, context astContext, visit func(*File, interface{}, astContext)) {
    	switch n := x.(type) {
    	default:
    		error_(token.NoPos, "unexpected type %T in walk", x)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Nov 30 21:45:10 GMT 2022
    - 730 bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/test/gcc68255/c.c

    // 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.
    
    static void f(void) {
    }
    
    C
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 206 bytes
    - Viewed (0)
  9. src/bytes/export_test.go

    // Copyright 2009 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 bytes
    
    // Export func for testing
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Apr 24 00:56:36 GMT 2019
    - 244 bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/test/cgo_stubs_ppc64x_internal_linking_test.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 (ppc64 || ppc64le) && internal
    
    package cgotest
    
    import "testing"
    
    // If gcc is used, and linking internally, __mulsc3 and __muldc3
    // will be linked in from libgcc which make several R_PPC64_TOC16_DS
    // relocations which may not be resolvable with the internal linker.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Feb 20 15:35:35 GMT 2024
    - 631 bytes
    - Viewed (0)
Back to top