Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for bots (0.13 sec)

  1. src/archive/zip/struct.go

    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
    fields. The 64 bit fields will always contain the correct value and
    for normal archives both fields will be the same. For files requiring
    the ZIP64 format the 32 bit fields will be 0xffffffff and the 64 bit
    fields must be used instead.
    
    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)
  2. src/bytes/bytes_test.go

    	{"aaa", "a", 0},
    	{"abc", "xyz", -1},
    	{"abc", "xcz", 2},
    	{"ab☺c", "x☺yz", 2},
    	{"a☺b☻c☹d", "cx", len("a☺b☻")},
    	{"a☺b☻c☹d", "uvw☻xyz", len("a☺b")},
    	{"aRegExp*", ".(|)*+?^$[]", 7},
    	{dots + dots + dots, " ", -1},
    	{"012abcba210", "\xffb", 4},
    	{"012\x80bcb\x80210", "\xffb", 3},
    	{"0123456\xcf\x80abc", "\xcfb\x80", 10},
    }
    
    var lastIndexAnyTests = []BinOpTest{
    	{"", "", -1},
    	{"", "a", -1},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  3. src/archive/zip/reader.go

    	if _, err := io.ReadFull(r, buf[off:12]); err != nil {
    		return err
    	}
    	b := readBuf(buf[:12])
    	if b.uint32() != f.CRC32 {
    		return ErrChecksum
    	}
    
    	// The two sizes that follow here can be either 32 bits or 64 bits
    	// but the spec is not very clear on this and different
    	// interpretations has been made causing incompatibilities. We
    	// already have the sizes from the central directory so we can
    	// just ignore these.
    
    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)
  4. src/archive/tar/format.go

    	field[7] = ' '
    }
    
    // computeChecksum computes the checksum for the header block.
    // POSIX specifies a sum of the unsigned byte values, but the Sun tar used
    // signed byte values.
    // We compute and return both.
    func (b *block) computeChecksum() (unsigned, signed int64) {
    	for i, c := range b {
    		if 148 <= i && i < 156 {
    			c = ' ' // Treat the checksum field itself as all spaces.
    		}
    		unsigned += int64(c)
    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)
  5. src/bufio/scan.go

    		if s.err != nil {
    			// Shut it down.
    			s.start = 0
    			s.end = 0
    			return false
    		}
    		// Must read more data.
    		// First, shift data to beginning of buffer if there's lots of empty space
    		// or space is needed.
    		if s.start > 0 && (s.end == len(s.buf) || s.start > len(s.buf)/2) {
    			copy(s.buf, s.buf[s.start:s.end])
    			s.end -= s.start
    			s.start = 0
    		}
    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)
  6. src/builtin/builtin.go

    // not nil. Values of string type are immutable.
    type string string
    
    // int is a signed integer type that is at least 32 bits in size. It is a
    // distinct type, however, and not an alias for, say, int32.
    type int int
    
    // uint is an unsigned integer type that is at least 32 bits in size. It is a
    // distinct type, however, and not an alias for, say, uint32.
    type uint uint
    
    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)
  7. src/cmd/asm/internal/asm/parse.go

    				if bits&(1<<lo) != 0 {
    					p.errorf("register R%d already in list", lo)
    				}
    				bits |= 1 << lo
    				lo++
    			}
    		default:
    			p.errorf("unexpected register list")
    		}
    		if p.peek() != ']' {
    			p.get(',')
    		}
    	}
    	a.Type = obj.TYPE_REGLIST
    	switch p.arch.Family {
    	case sys.ARM:
    		a.Offset = int64(bits)
    	case sys.ARM64:
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  8. src/bytes/bytes.go

    }
    
    // asciiSet is a 32-byte value, where each bit represents the presence of a
    // given ASCII character in the set. The 128-bits of the lower 16 bytes,
    // starting with the least-significant bit of the lowest word to the
    // most-significant bit of the highest word, map to the full range of all
    // 128 ASCII characters. The 128-bits of the upper 16 bytes will be zeroed,
    // ensuring that any non-ASCII character will be reported as not in the set.
    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)
  9. src/cmd/cgo/doc.go

    must support both internal and external linking, depending on the
    circumstances: if net is the only cgo-using package, then internal
    linking is probably fine, but if other packages are involved, so that there
    are dependencies on libraries beyond libc, external linking is likely
    to work better. The compilation of a package records the relevant
    information to support both linking modes, leaving the decision
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  10. src/archive/zip/reader_test.go

    		// Corrupt foo.txt's final crc32 byte, in both
    		// the file header and TOC. (0x7e -> 0x7f)
    		b[0x11]++
    		b[0x9d]++
    
    		// TODO(bradfitz): add a new test that only corrupts
    		// one of these values, and verify that that's also an
    		// error. Currently, the reader code doesn't verify the
    		// fileheader and TOC's crc32 match if they're both
    		// non-zero and only the second line above, the TOC,
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
Back to top