- Sort Score
- Result 10 results
- Languages All
Results 261 - 270 of 1,215 for 2014 (0.12 sec)
-
src/strconv/makeisprint.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 ignore // // usage: // // go run makeisprint.go -output isprint.go // package main import ( "bytes" "flag" "fmt" "go/format" "log" "os" "slices" "unicode" )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 11 18:56:17 UTC 2024 - 4.3K bytes - Viewed (0) -
src/time/format_test.go
{ANSIC, "Thu Feb 4 21:00:57 @2010", `cannot parse "@2010" as "2006"`}, {ANSIC, "Thu Feb 4 21:00:60 2010", "second out of range"}, {ANSIC, "Thu Feb 4 21:61:57 2010", "minute out of range"}, {ANSIC, "Thu Feb 4 24:00:60 2010", "hour out of range"}, {"Mon Jan _2 15:04:05.000 2006", "Thu Feb 4 23:00:59x01 2010", `cannot parse "x01 2010" as ".000"`}, {"Mon Jan _2 15:04:05.000 2006", "Thu Feb 4 23:00:59.xxx 2010", `cannot parse ".xxx 2010" as ".000"`},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:58:29 UTC 2024 - 36.4K bytes - Viewed (0) -
src/net/sendfile_stub.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. //go:build !(linux || (darwin && !ios) || dragonfly || freebsd || solaris || windows) package net import "io" const supportsSendfile = false func sendFile(c *netFD, r io.Reader) (n int64, err error, handled bool) { return 0, nil, false
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 18:12:56 UTC 2024 - 403 bytes - Viewed (0) -
src/runtime/mem_plan9.go
// Copyright 2010 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 runtime import "unsafe" func sbrk(n uintptr) unsafe.Pointer { // Plan 9 sbrk from /sys/src/libc/9sys/sbrk.c bl := bloc n = memRound(n) if bl+n > blocMax { if brk_(unsafe.Pointer(bl+n)) < 0 { return nil } blocMax = bl + n } bloc += n
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 21 02:45:06 UTC 2023 - 447 bytes - Viewed (0) -
src/syscall/forkpipe.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. //go:build aix || darwin package syscall // forkExecPipe opens a pipe and non-atomically sets O_CLOEXEC on both file // descriptors. func forkExecPipe(p []int) error { err := Pipe(p) if err != nil { return err } _, err = fcntl(p[0], F_SETFD, FD_CLOEXEC) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jul 10 19:19:59 UTC 2023 - 604 bytes - Viewed (0) -
src/cmd/cgo/internal/swig/testdata/stdio/main.swig
/* 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. */ /* A trivial example of wrapping a C library using SWIG. */ %{ #include <stdio.h> #include <stdlib.h> %} %typemap(gotype) const char * "string" %typemap(in) const char * %{ $1 = malloc($input.n + 1); memcpy($1, $input.p, $input.n); $1[$input.n] = '\0'; %}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:07 UTC 2023 - 563 bytes - Viewed (0) -
src/internal/poll/export_test.go
// Copyright 2010 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. // Export guts for testing. // Since testing imports os and os imports internal/poll, // the internal/poll tests can not be in package poll. package poll var Consume = consume type XFDMutex struct { fdMutex } func (mu *XFDMutex) Incref() bool { return mu.incref() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Oct 08 03:57:40 UTC 2022 - 714 bytes - Viewed (0) -
src/net/interface_stub.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. //go:build js || wasip1 package net // If the ifindex is zero, interfaceTable returns mappings of all // network interfaces. Otherwise it returns a mapping of a specific // interface. func interfaceTable(ifindex int) ([]Interface, error) { return nil, nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 814 bytes - Viewed (0) -
src/go/types/slice.go
// Code generated by "go test -run=Generate -write=all"; DO NOT EDIT. // Source: ../../cmd/compile/internal/types2/slice.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 Slice represents a slice type. type Slice struct { elem Type } // NewSlice returns a new slice type for the given element type.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 701 bytes - Viewed (0) -
src/internal/filepathlite/path_plan9.go
// Copyright 2010 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 filepathlite import ( "internal/bytealg" "internal/stringslite" ) const ( Separator = '/' // OS-specific path separator ListSeparator = '\000' // OS-specific path list separator ) func IsPathSeparator(c uint8) bool { return Separator == c }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 23:07:50 UTC 2024 - 952 bytes - Viewed (0)