Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,622 for bytesB (0.2 sec)

  1. src/io/io.go

    // It returns the number of bytes copied and an error if fewer bytes were read.
    // The error is EOF only if no bytes were read.
    // If an EOF happens after reading fewer than min bytes,
    // ReadAtLeast returns [ErrUnexpectedEOF].
    // If min is greater than the length of buf, ReadAtLeast returns [ErrShortBuffer].
    // On return, n >= min if and only if err == nil.
    // If r returns an error having read at least min bytes, the error is dropped.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:34:10 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  2. src/encoding/asn1/marshal.go

    		nMinus1.Sub(nMinus1, bigOne)
    		bytes := nMinus1.Bytes()
    		for i := range bytes {
    			bytes[i] ^= 0xff
    		}
    		if len(bytes) == 0 || bytes[0]&0x80 == 0 {
    			return multiEncoder([]encoder{byteFFEncoder, bytesEncoder(bytes)}), nil
    		}
    		return bytesEncoder(bytes), nil
    	} else if n.Sign() == 0 {
    		// Zero is written as a single 0 zero rather than no bytes.
    		return byte00Encoder, nil
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/admission/v1/types.go

    	Result *metav1.Status `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
    
    	// The patch body. Currently we only support "JSONPatch" which implements RFC 6902.
    	// +optional
    	Patch []byte `json:"patch,omitempty" protobuf:"bytes,4,opt,name=patch"`
    
    	// The type of Patch. Currently we only allow "JSONPatch".
    	// +optional
    	PatchType *PatchType `json:"patchType,omitempty" protobuf:"bytes,5,opt,name=patchType"`
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/coordination/v1/types.go

    	// +optional
    	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
    
    	// spec contains the specification of the Lease.
    	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
    	// +optional
    	Spec LeaseSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
    }
    
    // LeaseSpec is a specification of a Lease.
    type LeaseSpec struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. maven-embedder/src/main/java/org/apache/maven/cli/transfer/FileSizeFormat.java

                @Override
                public long bytes() {
                    return KILOBYTE.bytes() * KILOBYTE.bytes();
                }
    
                @Override
                public String symbol() {
                    return "MB";
                }
            },
            GIGABYTE {
                @Override
                public long bytes() {
                    return MEGABYTE.bytes() * KILOBYTE.bytes();
                }
                ;
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 21:48:41 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. src/cmd/dist/testjson.go

    	variant string    // Add ":variant" to Package field
    
    	lineBuf bytes.Buffer // Buffer for incomplete lines
    }
    
    func (f *testJSONFilter) Write(b []byte) (int, error) {
    	bn := len(b)
    
    	// Process complete lines, and buffer any incomplete lines.
    	for len(b) > 0 {
    		nl := bytes.IndexByte(b, '\n')
    		if nl < 0 {
    			f.lineBuf.Write(b)
    			break
    		}
    		var line []byte
    		if f.lineBuf.Len() > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 20:46:32 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/types.go

    	// reason is a unique, one-word, CamelCase reason for the condition's last transition.
    	// +optional
    	Reason string `json:"reason,omitempty" protobuf:"bytes,4,opt,name=reason"`
    	// message is a human-readable message indicating details about last transition.
    	// +optional
    	Message string `json:"message,omitempty" protobuf:"bytes,5,opt,name=message"`
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/types.go

    	Group string `json:"group" protobuf:"bytes,1,opt,name=group"`
    	// names specify the resource and kind names for the custom resource.
    	Names CustomResourceDefinitionNames `json:"names" protobuf:"bytes,3,opt,name=names"`
    	// scope indicates whether the defined custom resource is cluster- or namespace-scoped.
    	// Allowed values are `Cluster` and `Namespaced`.
    	Scope ResourceScope `json:"scope" protobuf:"bytes,4,opt,name=scope,casttype=ResourceScope"`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  9. fastapi/datastructures.py

        headers: Annotated[Headers, Doc("The headers of the request.")]
        content_type: Annotated[
            Optional[str], Doc("The content type of the request, from the headers.")
        ]
    
        async def write(
            self,
            data: Annotated[
                bytes,
                Doc(
                    """
                    The bytes to write to the file.
                    """
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Apr 02 02:48:51 UTC 2024
    - 5.6K bytes
    - Viewed (1)
  10. src/crypto/ecdh/ecdh_test.go

    		if err != nil {
    			t.Error(err)
    		}
    		if !bytes.Equal(aliceKey.PublicKey().Bytes(), alicePubKey.Bytes()) {
    			t.Error("encoded and decoded public keys are different")
    		}
    		if !aliceKey.PublicKey().Equal(alicePubKey) {
    			t.Error("encoded and decoded public keys are different")
    		}
    
    		alicePrivKey, err := curve.NewPrivateKey(aliceKey.Bytes())
    		if err != nil {
    			t.Error(err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:23:49 UTC 2024
    - 18K bytes
    - Viewed (0)
Back to top