Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,045 for bytesB (0.12 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/crypto/internal/edwards25519/scalar_test.go

    			return false
    		}
    		repr := sc.Bytes()
    		return bytes.Equal(in[:], repr) && isReduced(repr)
    	}
    	if err := quick.Check(f1, quickCheckConfig(1024)); err != nil {
    		t.Errorf("failed bytes->scalar->bytes round-trip: %v", err)
    	}
    
    	f2 := func(sc1, sc2 Scalar) bool {
    		if _, err := sc2.SetCanonicalBytes(sc1.Bytes()); err != nil {
    			return false
    		}
    		return sc1 == sc2
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 17:26:17 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  5. platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/launcher/daemon/protocol/ForwardInput.java

     * Carries some text that should be made available via the daemon's System.in
     */
    public class ForwardInput extends InputMessage {
        private final byte[] bytes;
    
        public ForwardInput(byte[] bytes) {
            this.bytes = bytes;
        }
    
        public byte[] getBytes() {
            return bytes;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 04:50:46 UTC 2024
    - 966 bytes
    - Viewed (0)
  6. src/crypto/internal/edwards25519/scalar_alias_test.go

    		if out := f(&v, &x, &y); out != &v || !isReduced(out.Bytes()) {
    			return false
    		}
    
    		// Test aliasing the first argument and the receiver.
    		v1 = x
    		if out := f(&v1, &v1, &y); out != &v1 || v1 != v || !isReduced(out.Bytes()) {
    			return false
    		}
    		// Test aliasing the second argument and the receiver.
    		v1 = y
    		if out := f(&v1, &x, &v1); out != &v1 || v1 != v || !isReduced(out.Bytes()) {
    			return false
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 17:26:17 UTC 2023
    - 3K bytes
    - Viewed (0)
  7. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/Encoder.java

         * Writes the given raw bytes to the stream. Does not encode any length information.
         */
        void writeBytes(byte[] bytes) throws IOException;
    
        /**
         * Writes the given raw bytes to the stream. Does not encode any length information.
         */
        void writeBytes(byte[] bytes, int offset, int count) throws IOException;
    
        /**
         * Writes the given byte array to the stream. Encodes the bytes and length information.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/imagepolicy/v1alpha1/types.go

    	// +optional
    	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
    
    	// Spec holds information about the pod being evaluated
    	Spec ImageReviewSpec `json:"spec" protobuf:"bytes,2,opt,name=spec"`
    
    	// Status is filled in by the backend and indicates whether the pod should be allowed.
    	// +optional
    	Status ImageReviewStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:29 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  9. src/cmd/vendor/rsc.io/markdown/break.go

    func (x *HardBreak) PrintHTML(buf *bytes.Buffer) {
    	buf.WriteString("<br />\n")
    }
    
    func (x *HardBreak) printMarkdown(buf *bytes.Buffer) {
    	buf.WriteString("\\\n")
    }
    
    func (x *HardBreak) PrintText(buf *bytes.Buffer) {
    	buf.WriteString("\n")
    }
    
    type SoftBreak struct{}
    
    func (*SoftBreak) Inline() {}
    
    func (x *SoftBreak) PrintHTML(buf *bytes.Buffer) {
    	buf.WriteString("\n")
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. cmd/bootstrap-peer-server_gen_test.go

    import (
    	"bytes"
    	"testing"
    
    	"github.com/tinylib/msgp/msgp"
    )
    
    func TestMarshalUnmarshalServerSystemConfig(t *testing.T) {
    	v := ServerSystemConfig{}
    	bts, err := v.MarshalMsg(nil)
    	if err != nil {
    		t.Fatal(err)
    	}
    	left, err := v.UnmarshalMsg(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jan 24 21:36:44 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top