Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for mybytes (0.17 sec)

  1. src/go/internal/gcimporter/iimport.go

    	case types.Int32, types.Uint32:
    		maxBytes = 4
    	default:
    		maxBytes = 8
    	}
    
    	return
    }
    
    func (r *importReader) mpint(x *big.Int, typ *types.Basic) {
    	signed, maxBytes := intSize(typ)
    
    	maxSmall := 256 - maxBytes
    	if signed {
    		maxSmall = 256 - 2*maxBytes
    	}
    	if maxBytes == 1 {
    		maxSmall = 256
    	}
    
    	n, _ := r.declReader.ReadByte()
    	if uint(n) < maxSmall {
    		v := int64(n)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  2. pkg/controlplane/controller/clusterauthenticationtrust/cluster_authentication_trust_controller.go

    	if authenticationInfo.ClientCA != nil {
    		if caBytes := authenticationInfo.ClientCA.CurrentCABundleContent(); len(caBytes) > 0 {
    			data["client-ca-file"] = string(caBytes)
    		}
    	}
    
    	if authenticationInfo.RequestHeaderCA == nil {
    		return data, nil
    	}
    
    	if caBytes := authenticationInfo.RequestHeaderCA.CurrentCABundleContent(); len(caBytes) > 0 {
    		var err error
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  3. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/TransformReplacer.java

         * If some versioned directories of the JAR haven't been processed, then these directories must contain presiding (overriding) resource with the same name but with
         * {@code NOT_TRANSFORMED.asBytes()} as body.
         * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  4. src/crypto/tls/key_schedule_test.go

    			c := cipherSuitesTLS13[0]
    			if got := c.extract(tt.args.newSecret, tt.args.currentSecret); !bytes.Equal(got, tt.want) {
    				t.Errorf("cipherSuiteTLS13.extract() = % x, want % x", got, tt.want)
    			}
    		})
    	}
    }
    
    func TestKyberDecapsulate(t *testing.T) {
    	// From https://pq-crystals.org/kyber/data/kyber-submission-nist-round3.zip
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 14:56:25 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  5. src/bytes/buffer_test.go

    	for r := rune(0); r < NRune; r++ {
    		size := utf8.EncodeRune(b[n:], r)
    		nbytes, err := buf.WriteRune(r)
    		if err != nil {
    			t.Fatalf("WriteRune(%U) error: %s", r, err)
    		}
    		if nbytes != size {
    			t.Fatalf("WriteRune(%U) expected %d, got %d", r, size, nbytes)
    		}
    		n += size
    	}
    	b = b[0:n]
    
    	// Check the resulting bytes
    	if !Equal(buf.Bytes(), b) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:31:36 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  6. src/database/sql/convert.go

    			reflect.Float32, reflect.Float64:
    			*d = asString(src)
    			return nil
    		}
    	case *[]byte:
    		sv = reflect.ValueOf(src)
    		if b, ok := asBytes(nil, sv); ok {
    			*d = b
    			return nil
    		}
    	case *RawBytes:
    		sv = reflect.ValueOf(src)
    		if b, ok := asBytes(rows.rawbuf(), sv); ok {
    			*d = rows.setrawbuf(b)
    			return nil
    		}
    	case *bool:
    		bv, err := driver.Bool.ConvertValue(src)
    		if err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  7. src/crypto/internal/mlkem768/mlkem768.go

    	// private key format.
    	dk.dk = [DecapsulationKeySize]byte(dkBytes)
    
    	dkPKE := dkBytes[:decryptionKeySize]
    	if err := parseDK(&dk.decryptionKey, dkPKE); err != nil {
    		return nil, err
    	}
    
    	ekPKE := dkBytes[decryptionKeySize : decryptionKeySize+encryptionKeySize]
    	if err := parseEK(&dk.encryptionKey, ekPKE); err != nil {
    		return nil, err
    	}
    
    	return dk, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  8. src/crypto/internal/mlkem768/mlkem768_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	if !bytes.Equal(Ke, Kd) {
    		t.Fail()
    	}
    
    	dk1, err := GenerateKey()
    	if err != nil {
    		t.Fatal(err)
    	}
    	if bytes.Equal(dk.EncapsulationKey(), dk1.EncapsulationKey()) {
    		t.Fail()
    	}
    	if bytes.Equal(dk.Bytes(), dk1.Bytes()) {
    		t.Fail()
    	}
    	if bytes.Equal(dk.Bytes()[EncapsulationKeySize-32:], dk1.Bytes()[EncapsulationKeySize-32:]) {
    		t.Fail()
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 15:27:18 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  9. src/runtime/tracestack.go

    	// but one we're about to create (with ensure).
    	n := fpunwindExpand(stackBuf, stack)
    	frames := makeTraceFrames(w.gen, stackBuf[:n])
    
    	// The maximum number of bytes required to hold the encoded stack, given that
    	// it contains N frames.
    	maxBytes := 1 + (2+4*len(frames))*traceBytesPerNumber
    
    	// Estimate the size of this record. This
    	// bound is pretty loose, but avoids counting
    	// lots of varint sizes.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 14:38:56 UTC 2024
    - 11K bytes
    - Viewed (0)
  10. cmd/sftp-server.go

    	}
    
    	if userCaKeyFile != "" {
    		keyBytes, err := os.ReadFile(userCaKeyFile)
    		if err != nil {
    			logger.Fatal(fmt.Errorf("invalid arguments passed, trusted user certificate authority public key file is not accessible: %v", err), "unable to start SFTP server")
    		}
    
    		caPublicKey, _, _, _, err = ssh.ParseAuthorizedKey(keyBytes)
    		if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 16K bytes
    - Viewed (0)
Back to top