Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for Jones (0.27 sec)

  1. src/bytes/buffer_test.go

    			t.Fatalf("ReadRune(%U) after UnreadRune got %U,%d not %U,%d (err=%s)", r, r2, nbytes, r, size, err)
    		}
    	}
    }
    
    func TestWriteInvalidRune(t *testing.T) {
    	// Invalid runes, including negative ones, should be written as
    	// utf8.RuneError.
    	for _, r := range []rune{-1, utf8.MaxRune + 1} {
    		var buf Buffer
    		buf.WriteRune(r)
    		check(t, fmt.Sprintf("TestWriteInvalidRune (%d)", r), &buf, "\uFFFD")
    	}
    }
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 20 01:07:29 GMT 2023
    - 18.1K bytes
    - Viewed (0)
  2. src/bufio/bufio_test.go

    			t.Fatalf("ReadRune(0x%x) got 0x%x,%d not 0x%x,%d (err=%s)", r1, nr, nbytes, r1, size, err)
    		}
    	}
    }
    
    func TestWriteInvalidRune(t *testing.T) {
    	// Invalid runes, including negative ones, should be written as the
    	// replacement character.
    	for _, r := range []rune{-1, utf8.MaxRune + 1} {
    		var buf strings.Builder
    		w := NewWriter(&buf)
    		w.WriteRune(r)
    		w.Flush()
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  3. lib/time/update.bash

    rm -rf work
    mkdir work
    go build -o work/mkzip mkzip.go # build now for correct paths in build errors
    cd work
    mkdir zoneinfo
    curl -sS -L -O https://www.iana.org/time-zones/repository/releases/tzcode$CODE.tar.gz
    curl -sS -L -O https://www.iana.org/time-zones/repository/releases/tzdata$DATA.tar.gz
    tar xzf tzcode$CODE.tar.gz
    tar xzf tzdata$DATA.tar.gz
    
    if ! make CFLAGS=-DSTD_INSPIRED AWK=awk TZDIR=zoneinfo posix_only >make.out 2>&1; then
    Shell Script
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Feb 02 18:20:41 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  4. src/cmd/cgo/gcc.go

    	// Keep a list of all the functions, to remove the ones
    	// only used as expressions and avoid generating bridge
    	// code for them.
    	functions := make(map[string]bool)
    
    	for _, n := range f.Name {
    		if n.Kind == "func" {
    			functions[n.Go] = false
    		}
    	}
    
    	// Now that we have all the name types filled in,
    	// scan through the Refs to identify the ones that
    	// are trying to do a ,err call. Also check that
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  5. lib/time/README

    the code and data maintained as part of the IANA Time Zone Database.
    The IANA asserts that the database is in the public domain.
    
    For more information, see
    https://www.iana.org/time-zones
    ftp://ftp.iana.org/tz/code/tz-link.html
    https://datatracker.ietf.org/doc/html/rfc6557
    
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Sun Aug 15 02:18:46 GMT 2021
    - 390 bytes
    - Viewed (0)
  6. src/bufio/scan.go

    // in the tests.
    func isSpace(r rune) bool {
    	if r <= '\u00FF' {
    		// Obvious ASCII ones: \t through \r plus space. Plus two Latin-1 oddballs.
    		switch r {
    		case ' ', '\t', '\n', '\v', '\f', '\r':
    			return true
    		case '\u0085', '\u00A0':
    			return true
    		}
    		return false
    	}
    	// High-valued ones.
    	if '\u2000' <= r && r <= '\u200a' {
    		return true
    	}
    	switch r {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  7. src/cmd/api/main_test.go

    )
    
    // tagKey returns the tag-based key to use in the pkgCache.
    // It is a comma-separated string; the first part is dir, the rest tags.
    // The satisfied tags are derived from context but only those that
    // matter (the ones listed in the tags argument plus GOOS and GOARCH) are used.
    // The tags list, which came from go/build's Package.AllTags,
    // is known to be sorted.
    func tagKey(dir string, context *build.Context, tags []string) string {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  8. doc/go_mem.html

    published in PLDI 2008.
    The definition of data-race-free programs and the guarantee of sequential consistency
    for race-free programs are equivalent to the ones in that work.
    </p>
    
    <p>
    The memory model describes the requirements on program executions,
    which are made up of goroutine executions,
    which in turn are made up of memory operations.
    </p>
    
    <p>
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Mar 04 15:54:42 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  9. src/archive/tar/writer_test.go

    		// but does not do the following properly:
    		//	* It does not treat an empty record as deletion.
    		//	* It does not use subsequent global headers to update previous ones.
    		//
    		//	$ gnutar -tvf pax-global-records.tar
    		//	---------- 0/0               0 2017-07-13 19:40 global1
    		//	---------- 0/0               0 2017-07-13 19:40 file2
    		//	gnutar: Substituting `.' for empty member name
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Feb 27 16:39:23 GMT 2024
    - 38.7K bytes
    - Viewed (0)
Back to top