Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for Ball (0.13 sec)

  1. src/archive/tar/format.go

    	for i, c := range b {
    		if 148 <= i && i < 156 {
    			c = ' ' // Treat the checksum field itself as all spaces.
    		}
    		unsigned += int64(c)
    		signed += int64(int8(c))
    	}
    	return unsigned, signed
    }
    
    // reset clears the block with all zeros.
    func (b *block) reset() {
    	*b = block{}
    }
    
    type headerV7 [blockSize]byte
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 11.3K bytes
    - Viewed (0)
  2. src/bufio/scan.go

    	}
    	return s.err
    }
    
    // Bytes returns the most recent token generated by a call to [Scanner.Scan].
    // The underlying array may point to data that will be overwritten
    // by a subsequent call to Scan. It does no allocation.
    func (s *Scanner) Bytes() []byte {
    	return s.token
    }
    
    // Text returns the most recent token generated by a call to [Scanner.Scan]
    // as a newly allocated string holding its bytes.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/arch/arch.go

    	}
    	return nil
    }
    
    func jumpX86(word string) bool {
    	return word[0] == 'J' || word == "CALL" || strings.HasPrefix(word, "LOOP") || word == "XBEGIN"
    }
    
    func jumpRISCV(word string) bool {
    	switch word {
    	case "BEQ", "BEQZ", "BGE", "BGEU", "BGEZ", "BGT", "BGTU", "BGTZ", "BLE", "BLEU", "BLEZ",
    		"BLT", "BLTU", "BLTZ", "BNE", "BNEZ", "CALL", "JAL", "JALR", "JMP":
    		return true
    	}
    	return false
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Mar 21 06:51:28 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  4. src/archive/zip/struct.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 zip provides support for reading and writing ZIP archives.
    
    See the [ZIP specification] for details.
    
    This package does not support disk spanning.
    
    A note about ZIP64:
    
    To be backwards compatible the FileHeader has both 32 and 64 bit Size
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  5. src/bytes/example_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.
    
    package bytes_test
    
    import (
    	"bytes"
    	"encoding/base64"
    	"fmt"
    	"io"
    	"os"
    	"sort"
    	"strconv"
    	"unicode"
    )
    
    func ExampleBuffer() {
    	var b bytes.Buffer // A Buffer needs no initialization.
    	b.Write([]byte("Hello "))
    	fmt.Fprintf(&b, "world!")
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 15:54:40 GMT 2024
    - 15K bytes
    - Viewed (1)
  6. src/archive/zip/reader.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 zip
    
    import (
    	"bufio"
    	"encoding/binary"
    	"errors"
    	"hash"
    	"hash/crc32"
    	"internal/godebug"
    	"io"
    	"io/fs"
    	"os"
    	"path"
    	"path/filepath"
    	"sort"
    	"strings"
    	"sync"
    	"time"
    )
    
    var zipinsecurepath = godebug.New("zipinsecurepath")
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  7. src/builtin/builtin.go

    	false = 0 != 0 // Untyped bool.
    )
    
    // uint8 is the set of all unsigned 8-bit integers.
    // Range: 0 through 255.
    type uint8 uint8
    
    // uint16 is the set of all unsigned 16-bit integers.
    // Range: 0 through 65535.
    type uint16 uint16
    
    // uint32 is the set of all unsigned 32-bit integers.
    // Range: 0 through 4294967295.
    type uint32 uint32
    
    // uint64 is the set of all unsigned 64-bit integers.
    // Range: 0 through 18446744073709551615.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  8. src/archive/tar/writer.go

    	ReadFrom(io.Reader) (int64, error)
    }
    
    // Flush finishes writing the current file's block padding.
    // The current file must be fully written before Flush can be called.
    //
    // This is unnecessary as the next call to [Writer.WriteHeader] or [Writer.Close]
    // will implicitly flush out the file's padding.
    func (tw *Writer) Flush() error {
    	if tw.err != nil {
    		return tw.err
    	}
    	if nb := tw.curr.logicalRemaining(); nb > 0 {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  9. src/archive/zip/zip_test.go

    func TestRLEBuffer(t *testing.T) {
    	b := new(rleBuffer)
    	var all []byte
    	writes := []string{"abcdeee", "eeeeeee", "eeeefghaaiii"}
    	for _, w := range writes {
    		b.Write([]byte(w))
    		all = append(all, w...)
    	}
    	if len(b.buf) != 10 {
    		t.Fatalf("len(b.buf) = %d; want 10", len(b.buf))
    	}
    
    	for i := 0; i < len(all); i++ {
    		for j := 0; j < len(all)-i; j++ {
    			buf := make([]byte, j)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  10. src/bytes/bytes.go

    }
    
    // TrimSpace returns a subslice of s by slicing off all leading and
    // trailing white space, as defined by Unicode.
    func TrimSpace(s []byte) []byte {
    	// Fast path for ASCII: look for the first ASCII non-space byte
    	start := 0
    	for ; start < len(s); start++ {
    		c := s[start]
    		if c >= utf8.RuneSelf {
    			// If we run into a non-ASCII byte, fall back to the
    			// slower unicode-aware method on the remaining bytes
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
Back to top