Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 199 for Wright (0.22 sec)

  1. misc/cgo/gmp/gmp.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.
    
    /*
    An example of wrapping a C library in Go. This is the GNU
    multiprecision library gmp's integer type mpz_t wrapped to look like
    the Go package big's integer type Int.
    
    This is a syntactically valid Go program—it can be parsed with the Go
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 9.5K bytes
    - Viewed (0)
  2. src/bufio/scan_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_test
    
    import (
    	. "bufio"
    	"bytes"
    	"errors"
    	"io"
    	"strings"
    	"testing"
    	"unicode"
    	"unicode/utf8"
    )
    
    const smallMaxTokenSize = 256 // Much smaller for more efficient testing.
    
    // Test white space table matches the Unicode definition.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Sep 22 16:22:42 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  3. misc/go_android_exec/main.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.
    
    // This wrapper uses syscall.Flock to prevent concurrent adb commands,
    // so for now it only builds on platforms that support that system call.
    // TODO(#33974): use a more portable library for file locking.
    
    //go:build darwin || dragonfly || freebsd || illumos || linux || netbsd || openbsd
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  4. src/archive/zip/writer.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 zip
    
    import (
    	"bufio"
    	"encoding/binary"
    	"errors"
    	"hash"
    	"hash/crc32"
    	"io"
    	"io/fs"
    	"strings"
    	"unicode/utf8"
    )
    
    var (
    	errLongName  = errors.New("zip: FileHeader.Name too long")
    	errLongExtra = errors.New("zip: FileHeader.Extra too long")
    )
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  5. src/archive/tar/tar_test.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.
    
    package tar
    
    import (
    	"bytes"
    	"errors"
    	"fmt"
    	"internal/testenv"
    	"io"
    	"io/fs"
    	"math"
    	"os"
    	"path"
    	"path/filepath"
    	"reflect"
    	"strings"
    	"testing"
    	"time"
    )
    
    type testError struct{ error }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24K bytes
    - Viewed (0)
  6. src/bufio/bufio.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 bufio implements buffered I/O. It wraps an io.Reader or io.Writer
    // object, creating another object (Reader or Writer) that also implements
    // the interface but provides buffering and some help for textual I/O.
    package bufio
    
    import (
    	"bytes"
    	"errors"
    	"io"
    	"strings"
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Oct 12 14:39:08 GMT 2023
    - 21.8K bytes
    - Viewed (0)
  7. internal/config/config.go

    	}
    
    	return subSys, inputs, tgt, e
    }
    
    // kvFields - converts an input string of form "k1=v1 k2=v2" into
    // fields of ["k1=v1", "k2=v2"], the tokenization of each `k=v`
    // happens with the right number of input keys, if keys
    // input is empty returned value is empty slice as well.
    func kvFields(input string, keys []string) []string {
    	valueIndexes := make([]int, 0, len(keys))
    	for _, key := range keys {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  8. src/cmd/api/main_test.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.
    
    // This package computes the exported API of a set of Go packages.
    // It is only a test, not a command, nor a usefully importable package.
    
    package main
    
    import (
    	"bufio"
    	"bytes"
    	"encoding/json"
    	"fmt"
    	"go/ast"
    	"go/build"
    	"go/parser"
    	"go/token"
    	"go/types"
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  9. src/archive/tar/writer_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 tar
    
    import (
    	"bytes"
    	"encoding/hex"
    	"errors"
    	"io"
    	"io/fs"
    	"os"
    	"path"
    	"reflect"
    	"sort"
    	"strings"
    	"testing"
    	"testing/fstest"
    	"testing/iotest"
    	"time"
    )
    
    func bytediff(a, b []byte) string {
    	const (
    		uniqueA  = "-  "
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 27 16:39:23 GMT 2024
    - 38.7K bytes
    - Viewed (0)
  10. src/arena/arena.go

    safe. Typically, a use-after-free bug will result in a fault and a helpful
    error message, but this package reserves the right to not force a fault on
    freed memory. That means a valid implementation of this package is to just
    allocate all memory the way the runtime normally would, and in fact, it
    reserves the right to occasionally do so for some Go values.
    */
    package arena
    
    import (
    	"internal/reflectlite"
    	"unsafe"
    )
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Oct 12 20:23:36 GMT 2022
    - 4.3K bytes
    - Viewed (0)
Back to top