Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for linaro (0.14 sec)

  1. internal/grid/connection.go

    	case f.Header.Length <= len7:
    		bts[1] = byte(f.Header.Length)
    		n = 2
    
    	case f.Header.Length <= len16:
    		bts[1] = 126
    		binary.BigEndian.PutUint16(bts[2:4], uint16(f.Header.Length))
    		n = 4
    
    	case f.Header.Length <= len64:
    		bts[1] = 127
    		binary.BigEndian.PutUint64(bts[2:10], uint64(f.Header.Length))
    		n = 10
    
    	default:
    		return ws.ErrHeaderLengthUnexpected
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  2. src/archive/zip/reader.go

    	v := (*b)[0]
    	*b = (*b)[1:]
    	return v
    }
    
    func (b *readBuf) uint16() uint16 {
    	v := binary.LittleEndian.Uint16(*b)
    	*b = (*b)[2:]
    	return v
    }
    
    func (b *readBuf) uint32() uint32 {
    	v := binary.LittleEndian.Uint32(*b)
    	*b = (*b)[4:]
    	return v
    }
    
    func (b *readBuf) uint64() uint64 {
    	v := binary.LittleEndian.Uint64(*b)
    	*b = (*b)[8:]
    	return v
    }
    
    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)
  3. cmd/peer-rest-client.go

    	conn := client.gridConn()
    	if conn == nil {
    		return nil
    	}
    
    	_, err := reloadSiteReplicationConfigRPC.Call(ctx, conn, grid.NewMSS())
    	return err
    }
    
    // VerifyBinary - sends verify binary message to remote peers.
    func (client *peerRESTClient) VerifyBinary(ctx context.Context, u *url.URL, sha256Sum []byte, releaseInfo string, reader io.Reader) error {
    	values := make(url.Values)
    	values.Set(peerRESTURL, u.String())
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  4. src/archive/tar/format.go

    //	ChangeTime        |    n/a | unlimited |     int89
    //	Devmajor/Devminor | uint21 |    uint21 |    uint57
    //	------------------+--------+-----------+----------
    //	string encoding   |  ASCII |     UTF-8 |    binary
    //	sub-second times  |     no |       yes |        no
    //	sparse files      |     no |       yes |       yes
    //
    // The table's upper portion shows the [Header] fields, where each format reports
    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/bytes/example_test.go

    	}
    
    	// Prefer Equal to Compare for equality comparisons.
    	if bytes.Equal(a, b) {
    		// a equal b
    	}
    	if !bytes.Equal(a, b) {
    		// a not equal b
    	}
    }
    
    func ExampleCompare_search() {
    	// Binary search to find a matching byte slice.
    	var needle []byte
    	var haystack [][]byte // Assume sorted
    	i := sort.Search(len(haystack), func(i int) bool {
    		// Return haystack[i] >= needle.
    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/cmd/asm/internal/arch/arch.go

    	// (Details in arm.go). Here we add the instruction so parse will find
    	// it, but give it an opcode number known only to us.
    	instructions["MCR"] = aMCR
    
    	return &Arch{
    		LinkArch:       &arm.Linkarm,
    		Instructions:   instructions,
    		Register:       register,
    		RegisterPrefix: registerPrefix,
    		RegisterNumber: armRegisterNumber,
    		IsJump:         jumpArm,
    	}
    }
    
    func archArm64() *Arch {
    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)
  7. src/cmd/asm/internal/asm/endtoend_test.go

    	data, err := os.ReadFile(input)
    	if err != nil {
    		t.Error(err)
    		return
    	}
    	lineno := 0
    	lines := strings.Split(string(data), "\n")
    	for _, line := range lines {
    		lineno++
    
    		fileline := fmt.Sprintf("%s:%d", input, lineno)
    		if m := errRE.FindStringSubmatch(line); m != nil {
    			all := m[1]
    			mm := errQuotesRE.FindAllStringSubmatch(all, -1)
    			if len(mm) != 1 {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Dec 07 18:42:59 GMT 2023
    - 11.6K bytes
    - Viewed (0)
  8. cmd/tier.go

    func (config *TierConfigMgr) Bytes() ([]byte, error) {
    	config.RLock()
    	defer config.RUnlock()
    	data := make([]byte, 4, config.Msgsize()+4)
    
    	// Initialize the header.
    	binary.LittleEndian.PutUint16(data[0:2], tierConfigFormat)
    	binary.LittleEndian.PutUint16(data[2:4], tierConfigVersion)
    
    	// Marshal the tier config
    	return config.MarshalMsg(data)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  9. cmd/erasure-server-pool-decom.go

    	}
    	// Read header
    	switch binary.LittleEndian.Uint16(data[0:2]) {
    	case poolMetaFormat:
    	default:
    		return fmt.Errorf("poolMeta: unknown format: %d", binary.LittleEndian.Uint16(data[0:2]))
    	}
    	switch binary.LittleEndian.Uint16(data[2:4]) {
    	case poolMetaVersion:
    	default:
    		return fmt.Errorf("poolMeta: unknown version: %d", binary.LittleEndian.Uint16(data[2:4]))
    	}
    
    	// OK, parse data.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 41.5K bytes
    - Viewed (1)
  10. cni/pkg/iptables/iptables.go

    	if err != nil {
    		return nil, err
    	}
    
    	log.Debugf("found iptables binary: %+v", iptVer)
    
    	configurator.iptV = iptVer
    
    	ipt6Ver, err := ext.DetectIptablesVersion(true)
    	if err != nil {
    		return nil, err
    	}
    
    	log.Debugf("found iptables v6 binary: %+v", iptVer)
    
    	configurator.ipt6V = ipt6Ver
    
    	return configurator, nil
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue May 07 19:54:50 GMT 2024
    - 19.7K bytes
    - Viewed (0)
Back to top