Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 2,009 for bytesB (0.45 sec)

  1. internal/config/cache/remote_gen_test.go

    import (
    	"bytes"
    	"testing"
    
    	"github.com/tinylib/msgp/msgp"
    )
    
    func TestMarshalUnmarshalCondCheck(t *testing.T) {
    	v := CondCheck{}
    	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 Nov 22 21:46:17 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  2. src/crypto/subtle/xor_ppc64x.s

    #include "textflag.h"
    
    // func xorBytes(dst, a, b *byte, n int)
    TEXT ·xorBytes(SB), NOSPLIT, $0
    	MOVD	dst+0(FP), R3	// R3 = dst
    	MOVD	a+8(FP), R4	// R4 = a
    	MOVD	b+16(FP), R5	// R5 = b
    	MOVD	n+24(FP), R6	// R6 = n
    
    	CMPU	R6, $64, CR7	// Check if n ≥ 64 bytes
    	MOVD	R0, R8		// R8 = index
    	CMPU	R6, $8, CR6	// Check if 8 ≤ n < 64 bytes
    	BLE	CR6, small	// <= 8
    	BLT	CR7, xor32	// Case for 32 ≤ n < 64 bytes
    
    	// Case for n ≥ 64 bytes
    preloop64:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/events/v1/types.go

    	metav1.ObjectMeta `json:"metadata" protobuf:"bytes,1,opt,name=metadata"`
    
    	// eventTime is the time when this Event was first observed. It is required.
    	EventTime metav1.MicroTime `json:"eventTime" protobuf:"bytes,2,opt,name=eventTime"`
    
    	// series is data about the Event series this event represents or nil if it's a singleton Event.
    	// +optional
    	Series *EventSeries `json:"series,omitempty" protobuf:"bytes,3,opt,name=series"`
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. src/internal/bytealg/compare_amd64.s

    	SHRQ	CX, AX	// move a's bit to bottom
    	ANDQ	$1, AX	// mask bit
    	LEAQ	-1(AX*2), AX // 1/0 => +1/-1
    	RET
    
    	// 0-7 bytes in common
    small:
    	LEAQ	(R8*8), CX	// bytes left -> bits left
    	NEGQ	CX		//  - bits lift (== 64 - bits left mod 64)
    	JEQ	allsame
    
    	// load bytes of a into high bytes of AX
    	CMPB	SI, $0xf8
    	JA	si_high
    	MOVQ	(SI), SI
    	JMP	si_finish
    si_high:
    	MOVQ	-8(SI)(R8*1), SI
    	SHRQ	CX, SI
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 18 17:17:01 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  5. test/fixedbugs/issue22921.go

    // license that can be found in the LICENSE file.
    
    package main
    
    import "bytes"
    
    type _ struct{ bytes.nonexist } // ERROR "unexported|undefined"
    
    type _ interface{ bytes.nonexist } // ERROR "unexported|undefined|expected signature or type name"
    
    func main() {
    	var _ bytes.Buffer
    	var _ bytes.buffer // ERROR "unexported|undefined"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 05 18:46:16 UTC 2021
    - 467 bytes
    - Viewed (0)
  6. cmd/batch-handlers_gen_test.go

    import (
    	"bytes"
    	"testing"
    
    	"github.com/tinylib/msgp/msgp"
    )
    
    func TestMarshalUnmarshalBatchJobRequest(t *testing.T) {
    	v := BatchJobRequest{}
    	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: Tue Aug 29 18:27:23 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  7. cmd/storage-rest-common_gen_test.go

    import (
    	"bytes"
    	"testing"
    
    	"github.com/tinylib/msgp/msgp"
    )
    
    func TestMarshalUnmarshalnsScannerOptions(t *testing.T) {
    	v := nsScannerOptions{}
    	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: Tue Nov 21 01:09:35 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  8. internal/s3select/genmessage.go

    	buf = new(bytes.Buffer)
    	binary.Write(buf, binary.BigEndian, uint32(totalLength))
    	binary.Write(buf, binary.BigEndian, uint32(headerLength))
    	prelude := buf.Bytes()
    	binary.Write(buf, binary.BigEndian, crc32.ChecksumIEEE(prelude))
    	buf.Write(header)
    	message := buf.Bytes()
    	binary.Write(buf, binary.BigEndian, crc32.ChecksumIEEE(message))
    
    	fmt.Println(buf.Bytes())
    }
    
    func genProgressHeader() {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Aug 19 01:35:22 UTC 2021
    - 4.4K bytes
    - Viewed (0)
  9. src/runtime/memmove_ppc64x.s

    #ifdef GOPPC64_power10
    	SLD	$56, BYTES, TMP
    	LXVL	SRC, TMP, V0
    	STXVL	V0, TGT, TMP
    	RET
    #endif
    lt8:	// Move word if possible
    	CMP BYTES, $4
    	BLT lt4
    	MOVWZ 0(SRC), TMP
    	ADD $-4, BYTES
    	MOVW TMP, 0(TGT)
    	ADD $4, SRC
    	ADD $4, TGT
    lt4:	// Move halfword if possible
    	CMP BYTES, $2
    	BLT lt2
    	MOVHZ 0(SRC), TMP
    	ADD $-2, BYTES
    	MOVH TMP, 0(TGT)
    	ADD $2, SRC
    	ADD $2, TGT
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 16:47:45 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  10. platforms/core-runtime/process-services/src/test/groovy/org/gradle/process/internal/health/memory/WindowsOSMemoryInfoTest.groovy

            1 * info.getAvailablePhysicalMemory() >> MemoryAmount.ofGigaBytes(16).bytes
            2 * info.getCommitLimit() >> MemoryAmount.ofGigaBytes(64).bytes
            1 * info.getCommitTotal() >> MemoryAmount.ofGigaBytes(48).bytes
    
            and:
            snapshot.getPhysicalMemory().getTotal() == MemoryAmount.ofGigaBytes(32).bytes
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 20 23:56:19 UTC 2023
    - 2.5K bytes
    - Viewed (0)
Back to top