Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 2,009 for bytesB (0.1 sec)

  1. src/os/user/listgroups_unix.go

    		//	tcpdump:x:72:
    		listIdx := bytes.LastIndexByte(line, ':')
    		if listIdx == -1 || listIdx == len(line)-1 {
    			// No commas, or empty group list.
    			continue
    		}
    		if bytes.Count(line[:listIdx], colon) != 2 {
    			// Incorrect number of colons.
    			continue
    		}
    		list := line[listIdx+1:]
    		// Check the list for user without splitting or copying.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 07 23:34:21 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  2. src/cmd/internal/test2json/test2json_test.go

    				c = NewConverter(&buf, "", 0)
    				in = bytes.ReplaceAll(orig, []byte("\n"), []byte("\r\n"))
    				writeAndKill(c, in)
    				c.Close()
    				diffJSON(t, bytes.ReplaceAll(buf.Bytes(), []byte(`\r\n`), []byte(`\n`)), want)
    			})
    
    			// Write 2 bytes at a time on even boundaries.
    			t.Run("even2", func(t *testing.T) {
    				buf.Reset()
    				c = NewConverter(&buf, "", 0)
    				in = append([]byte{}, orig...)
    				for i := 0; i < len(in); i += 2 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 19:50:36 UTC 2022
    - 7.2K bytes
    - Viewed (0)
  3. src/encoding/binary/varint.go

    func AppendUvarint(buf []byte, x uint64) []byte {
    	for x >= 0x80 {
    		buf = append(buf, byte(x)|0x80)
    		x >>= 7
    	}
    	return append(buf, byte(x))
    }
    
    // PutUvarint encodes a uint64 into buf and returns the number of bytes written.
    // If the buffer is too small, PutUvarint will panic.
    func PutUvarint(buf []byte, x uint64) int {
    	i := 0
    	for x >= 0x80 {
    		buf[i] = byte(x) | 0x80
    		x >>= 7
    		i++
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  4. src/internal/bytealg/indexbyte_ppc64x.s

    	ISEL	CR0GT,R8,R9,R8		// R8 = len(s) <= 48 ? R9 : R8
    
    	// Bytes 33 - 47
    	LXVD2X	(R0)(R8),V2
    	VCMPEQUBCC	V2,V1,V6
    	BNE	CR6,foundat0		// match found at R8+32 bytes, jump out
    
    	BLE	notfound
    
    	// Bytes 48 - 63
    	MOVD	R9,R8			// R9 holds the final check.
    	LXVD2X	(R0)(R9),V2
    	VCMPEQUBCC	V2,V1,V6
    	BNE	CR6,foundat0		// Match found at R8+48 bytes, jump out
    
    	BR	notfound
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 16:10:29 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/apidiscovery/v2/types.go

    	// +optional
    	v1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
    	// items is the list of groups for discovery. The groups are listed in priority order.
    	Items []APIGroupDiscovery `json:"items" protobuf:"bytes,2,rep,name=items"`
    }
    
    // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
    // +k8s:prerelease-lifecycle-gen:introduced=1.30
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/group_version.go

    //
    // +protobuf.options.(gogoproto.goproto_stringer)=false
    type GroupVersionResource struct {
    	Group    string `json:"group" protobuf:"bytes,1,opt,name=group"`
    	Version  string `json:"version" protobuf:"bytes,2,opt,name=version"`
    	Resource string `json:"resource" protobuf:"bytes,3,opt,name=resource"`
    }
    
    func (gvr *GroupVersionResource) String() string {
    	if gvr == nil {
    		return "<nil>"
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Sep 04 09:55:26 UTC 2021
    - 4.8K bytes
    - Viewed (0)
  7. cmd/storage-datatypes_test.go

    		MountPath: "/tmp/drive1",
    		ID:        "uuid",
    		Error:     "",
    	}
    
    	var buf bytes.Buffer
    	gob.NewEncoder(&buf).Encode(v)
    	encoded := buf.Bytes()
    	b.Log("Size:", buf.Len(), "bytes")
    	b.SetBytes(1)
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		dec := gob.NewDecoder(bytes.NewBuffer(encoded))
    		err := dec.Decode(&v)
    		if err != nil {
    			b.Fatal(err)
    		}
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 9.4K bytes
    - Viewed (0)
  8. pkg/kube/apimirror/probe.go

    	// +optional
    	Host string `json:"host,omitempty" protobuf:"bytes,3,opt,name=host"`
    	// Scheme to use for connecting to the host.
    	// Defaults to HTTP.
    	// +optional
    	Scheme URIScheme `json:"scheme,omitempty" protobuf:"bytes,4,opt,name=scheme"`
    	// Custom headers to set in the request. HTTP allows repeated headers.
    	// +optional
    	HTTPHeaders []HTTPHeader `json:"httpHeaders,omitempty" protobuf:"bytes,5,rep,name=httpHeaders"`
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  9. internal/s3select/simdj/reader_amd64_test.go

    					t.Error(err)
    				}
    				err = want.WriteCSV(&wantB, opts)
    				if err != nil {
    					t.Error(err)
    				}
    
    				if !bytes.Equal(gotB.Bytes(), wantB.Bytes()) {
    					t.Errorf("CSV output mismatch.\nwant: %s(%x)\ngot:  %s(%x)", wantB.String(), wantB.Bytes(), gotB.String(), gotB.Bytes())
    				}
    				gotB.Reset()
    				wantB.Reset()
    
    				err = rec.WriteJSON(&gotB)
    				if err != nil {
    					t.Error(err)
    				}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/ByteArrayDataInput.java

      @Override
      byte readByte();
    
      @CanIgnoreReturnValue // to skip a byte
      @Override
      int readUnsignedByte();
    
      @CanIgnoreReturnValue // to skip some bytes
      @Override
      short readShort();
    
      @CanIgnoreReturnValue // to skip some bytes
      @Override
      int readUnsignedShort();
    
      @CanIgnoreReturnValue // to skip some bytes
      @Override
      char readChar();
    
      @CanIgnoreReturnValue // to skip some bytes
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 2.8K bytes
    - Viewed (0)
Back to top