Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 2,009 for bytesB (0.14 sec)

  1. istioctl/pkg/writer/envoy/configdump/ecds_test.go

    	assert.NoError(t, err)
    
    	util.CompareContent(t, gotOut.Bytes(), "testdata/ecds/output.txt")
    }
    
    func TestPrintEcdsYaml(t *testing.T) {
    	gotOut := &bytes.Buffer{}
    	cw := &ConfigWriter{Stdout: gotOut}
    	cd, _ := os.ReadFile("testdata/ecds/configdump.json")
    	cw.Prime(cd)
    	err := cw.PrintEcds("yaml")
    	assert.NoError(t, err)
    
    	util.CompareContent(t, gotOut.Bytes(), "testdata/ecds/output.yaml")
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 13 01:08:07 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  2. src/crypto/internal/nistec/fiat/p256.go

    func (e *P256Element) Equal(t *P256Element) int {
    	eBytes := e.Bytes()
    	tBytes := t.Bytes()
    	return subtle.ConstantTimeCompare(eBytes, tBytes)
    }
    
    // IsZero returns 1 if e == 0, and zero otherwise.
    func (e *P256Element) IsZero() int {
    	zero := make([]byte, p256ElementLen)
    	eBytes := e.Bytes()
    	return subtle.ConstantTimeCompare(eBytes, zero)
    }
    
    // Set sets e = t, and returns e.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 12 00:04:29 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. src/crypto/internal/nistec/fiat/p384.go

    func (e *P384Element) Equal(t *P384Element) int {
    	eBytes := e.Bytes()
    	tBytes := t.Bytes()
    	return subtle.ConstantTimeCompare(eBytes, tBytes)
    }
    
    // IsZero returns 1 if e == 0, and zero otherwise.
    func (e *P384Element) IsZero() int {
    	zero := make([]byte, p384ElementLen)
    	eBytes := e.Bytes()
    	return subtle.ConstantTimeCompare(eBytes, zero)
    }
    
    // Set sets e = t, and returns e.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 12 00:04:29 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  6. src/crypto/internal/nistec/fiat/p521.go

    func (e *P521Element) Equal(t *P521Element) int {
    	eBytes := e.Bytes()
    	tBytes := t.Bytes()
    	return subtle.ConstantTimeCompare(eBytes, tBytes)
    }
    
    // IsZero returns 1 if e == 0, and zero otherwise.
    func (e *P521Element) IsZero() int {
    	zero := make([]byte, p521ElementLen)
    	eBytes := e.Bytes()
    	return subtle.ConstantTimeCompare(eBytes, zero)
    }
    
    // Set sets e = t, and returns e.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 12 00:04:29 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  7. 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)
  8. src/runtime/memmove_arm64.s

    // copies of up to 128 bytes, and large copies. The overhead of the overlap
    // check is negligible since it is only required for large copies.
    //
    // Large copies use a software pipelined loop processing 64 bytes per iteration.
    // The destination pointer is 16-byte aligned to minimize unaligned accesses.
    // The loop tail is handled by always copying 64 bytes from the end.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 18 18:26:13 UTC 2022
    - 6K bytes
    - Viewed (0)
  9. cmd/background-newdisks-heal-ops_gen_test.go

    import (
    	"bytes"
    	"testing"
    
    	"github.com/tinylib/msgp/msgp"
    )
    
    func TestMarshalUnmarshalhealingTracker(t *testing.T) {
    	v := healingTracker{}
    	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: Fri Apr 23 18:58:53 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  10. src/testing/slogtest/example_test.go

    // format when given a pointer to a map[string]any.
    func Example_parsing() {
    	var buf bytes.Buffer
    	h := slog.NewJSONHandler(&buf, nil)
    
    	results := func() []map[string]any {
    		var ms []map[string]any
    		for _, line := range bytes.Split(buf.Bytes(), []byte{'\n'}) {
    			if len(line) == 0 {
    				continue
    			}
    			var m map[string]any
    			if err := json.Unmarshal(line, &m); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 04 18:32:54 UTC 2023
    - 1.1K bytes
    - Viewed (0)
Back to top