Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 2,212 for xoring (0.23 sec)

  1. src/runtime/runtime_unix_test.go

    package runtime_test
    
    import (
    	"runtime"
    	"sync"
    	"sync/atomic"
    	"syscall"
    	"testing"
    )
    
    func TestGoroutineProfile(t *testing.T) {
    	// GoroutineProfile used to use the wrong starting sp for
    	// goroutines coming out of system calls, causing possible
    	// crashes.
    	defer runtime.GOMAXPROCS(runtime.GOMAXPROCS(100))
    
    	var stop uint32
    	defer atomic.StoreUint32(&stop, 1) // in case of panic
    
    	var wg sync.WaitGroup
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 1.2K bytes
    - Viewed (0)
  2. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerMechanicalFailureIntegrationTest.groovy

            t.cause.cause.class.name == GradleException.name // not the same class because it's coming from the tooling client
            t.cause.cause.message.startsWith("Unable to start the daemon process.")
        }
    
        @NoDebug
        @HideEnvVariableValuesInDaemonLog
        def "daemon dies during build execution"() {
            given:
            buildFile << """
                task helloWorld {
                    doLast {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  3. src/crypto/internal/boring/bbig/big.go

    // license that can be found in the LICENSE file.
    
    package bbig
    
    import (
    	"crypto/internal/boring"
    	"math/big"
    	"unsafe"
    )
    
    func Enc(b *big.Int) boring.BigInt {
    	if b == nil {
    		return nil
    	}
    	x := b.Bits()
    	if len(x) == 0 {
    		return boring.BigInt{}
    	}
    	return unsafe.Slice((*uint)(&x[0]), len(x))
    }
    
    func Dec(b boring.BigInt) *big.Int {
    	if b == nil {
    		return nil
    	}
    	if len(b) == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 29 14:23:28 UTC 2022
    - 603 bytes
    - Viewed (0)
  4. src/crypto/ecdsa/notboring.go

    // license that can be found in the LICENSE file.
    
    //go:build !boringcrypto
    
    package ecdsa
    
    import "crypto/internal/boring"
    
    func boringPublicKey(*PublicKey) (*boring.PublicKeyECDSA, error) {
    	panic("boringcrypto: not available")
    }
    func boringPrivateKey(*PrivateKey) (*boring.PrivateKeyECDSA, error) {
    	panic("boringcrypto: not available")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 29 14:23:22 UTC 2022
    - 451 bytes
    - Viewed (0)
  5. src/crypto/rsa/notboring.go

    // license that can be found in the LICENSE file.
    
    //go:build !boringcrypto
    
    package rsa
    
    import "crypto/internal/boring"
    
    func boringPublicKey(*PublicKey) (*boring.PublicKeyRSA, error) {
    	panic("boringcrypto: not available")
    }
    func boringPrivateKey(*PrivateKey) (*boring.PrivateKeyRSA, error) {
    	panic("boringcrypto: not available")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 29 14:23:22 UTC 2022
    - 445 bytes
    - Viewed (0)
  6. src/crypto/sha256/sha256.go

    // state of the hash.
    func New() hash.Hash {
    	if boring.Enabled {
    		return boring.NewSHA256()
    	}
    	d := new(digest)
    	d.Reset()
    	return d
    }
    
    // New224 returns a new hash.Hash computing the SHA224 checksum.
    func New224() hash.Hash {
    	if boring.Enabled {
    		return boring.NewSHA224()
    	}
    	d := new(digest)
    	d.is224 = true
    	d.Reset()
    	return d
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:50:58 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. src/crypto/boring/boring_test.go

    //go:build boringcrypto
    
    package boring_test
    
    import (
    	"crypto/boring"
    	"runtime"
    	"testing"
    )
    
    func TestEnabled(t *testing.T) {
    	supportedPlatform := runtime.GOOS == "linux" && (runtime.GOARCH == "amd64" || runtime.GOARCH == "arm64")
    	if supportedPlatform && !boring.Enabled() {
    		t.Error("Enabled returned false on a supported platform")
    	} else if !supportedPlatform && boring.Enabled() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 18 21:28:09 UTC 2022
    - 620 bytes
    - Viewed (0)
  8. src/crypto/internal/boring/doc.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Package boring provides access to BoringCrypto implementation functions.
    // Check the constant Enabled to find out whether BoringCrypto is available.
    // If BoringCrypto is not available, the functions in this package all panic.
    package boring
    
    // Enabled reports whether BoringCrypto is available.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 07 05:28:51 UTC 2023
    - 826 bytes
    - Viewed (0)
  9. cmd/object-api-common.go

    	blockSizeV1 = 10 * humanize.MiByte
    
    	// Block size used in erasure coding version 2.
    	blockSizeV2 = 1 * humanize.MiByte
    
    	// Buckets meta prefix.
    	bucketMetaPrefix = "buckets"
    
    	// Deleted Buckets prefix.
    	deletedBucketsPrefix = ".deleted"
    
    	// ETag (hex encoded md5sum) of empty string.
    	emptyETag = "d41d8cd98f00b204e9800998ecf8427e"
    )
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  10. src/crypto/rand/rand_unix.go

    // Unix cryptographically secure pseudorandom number
    // generator.
    
    package rand
    
    import (
    	"crypto/internal/boring"
    	"errors"
    	"io"
    	"os"
    	"sync"
    	"sync/atomic"
    	"syscall"
    	"time"
    )
    
    const urandomDevice = "/dev/urandom"
    
    func init() {
    	if boring.Enabled {
    		Reader = boring.RandReader
    		return
    	}
    	Reader = &reader{}
    }
    
    // A reader satisfies reads by reading from urandomDevice
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Oct 01 08:32:46 UTC 2022
    - 1.8K bytes
    - Viewed (0)
Back to top