Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 870 for Arbitrary (0.13 sec)

  1. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/platform/internal/DefaultArchitectureTest.groovy

            "aarch64"   | false | false | false | false | true
            "arbitrary" | false | false | false | false | false
        }
    
        def "can create arbitrary operating system"() {
            def arch = new DefaultArchitecture("arbitrary")
    
            expect:
            arch.name == "arbitrary"
            arch.toString() == "architecture 'arbitrary'"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/platform/internal/DefaultOperatingSystemTest.groovy

            "solaris" | OperatingSystem.SOLARIS
            "freebsd" | OperatingSystem.FREE_BSD
        }
    
        def "can create arbitrary operating system"() {
            def os = new DefaultOperatingSystem("arbitrary")
    
            expect:
            os.name == "arbitrary"
            os.toString() == "operating system 'arbitrary'"
    
            os.internalOs == OperatingSystem.UNIX
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  3. src/testing/quick/quick.go

    func randInt64(rand *rand.Rand) int64 {
    	return int64(rand.Uint64())
    }
    
    // complexSize is the maximum length of arbitrary values that contain other
    // values.
    const complexSize = 50
    
    // Value returns an arbitrary value of the given type.
    // If the type implements the [Generator] interface, that will be used.
    // Note: To create arbitrary values for structs, all the fields must be exported.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:47 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  4. src/go/types/lookup_test.go

    // LookupFieldOrMethod is a performance hotspot for both type-checking and
    // external API calls.
    func BenchmarkLookupFieldOrMethod(b *testing.B) {
    	// Choose an arbitrary, large package.
    	path := filepath.Join(runtime.GOROOT(), "src", "net", "http")
    
    	fset := token.NewFileSet()
    	files, err := pkgFiles(fset, path)
    	if err != nil {
    		b.Fatal(err)
    	}
    
    	conf := Config{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 13 15:31:43 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/internal/typeconversion/DefaultTypeConverterTest.groovy

            LARGE               | _
            LARGE as BigDecimal | _
            LARGE as String     | _
            12.123              | _
            "0.123"             | _
        }
    
        def "cannot convert arbitrary type to Long"() {
            when:
            def cl = {}
            converter.convert(cl, Long.class, false)
    
            then:
            def e = thrown(UnsupportedNotationException)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:56:08 UTC 2021
    - 13.3K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/util/wait/delay.go

    type DelayFunc func() time.Duration
    
    // Timer takes an arbitrary delay function and returns a timer that can handle arbitrary interval changes.
    // Use Backoff{...}.Timer() for simple delays and more efficient timers.
    func (fn DelayFunc) Timer(c clock.Clock) Timer {
    	return &variableTimer{fn: fn, new: c.NewTimer}
    }
    
    // Until takes an arbitrary delay function and runs until cancelled or the condition indicates exit. This
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 19:14:11 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  7. cni/pkg/log/uds.go

    	}
    	delete(raw, "msg")
    	delete(raw, "level")
    	delete(raw, "time")
    	msg.Arbitrary = make(map[string]any, len(raw))
    	for k, v := range raw {
    		var res any
    		if err := json.Unmarshal(v, &res); err != nil {
    			log.Debugf("Failed to unmarshal CNI plugin log entry: %v", err)
    			continue
    		}
    		msg.Arbitrary[k] = res
    	}
    	msg.Msg = strings.TrimSpace(msg.Msg)
    	return msg, true
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 16:26:28 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/lookup_test.go

    // LookupFieldOrMethod is a performance hotspot for both type-checking and
    // external API calls.
    func BenchmarkLookupFieldOrMethod(b *testing.B) {
    	// Choose an arbitrary, large package.
    	path := filepath.Join(runtime.GOROOT(), "src", "net", "http")
    
    	files, err := pkgFiles(path)
    	if err != nil {
    		b.Fatal(err)
    	}
    
    	conf := Config{
    		Importer: defaultImporter(),
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 13 15:31:35 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/configuration/project/ProjectConfigurationActionContainer.java

        /**
         * Registers an action to execute to configure the project. Actions are executed in an arbitrary order.
         */
        void add(Action<? super ProjectInternal> action);
    
        /**
         * Registers an action to execute to configure the project. Actions are executed in an arbitrary order.
         */
        void add(@DelegatesTo(ProjectInternal.class) Closure action);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 06 22:26:55 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  10. src/vendor/golang.org/x/crypto/sha3/shake.go

    		return NewShake256()
    	}
    	return newCShake(N, S, rate256, 64, dsbyteCShake)
    }
    
    // ShakeSum128 writes an arbitrary-length digest of data into hash.
    func ShakeSum128(hash, data []byte) {
    	h := NewShake128()
    	h.Write(data)
    	h.Read(hash)
    }
    
    // ShakeSum256 writes an arbitrary-length digest of data into hash.
    func ShakeSum256(hash, data []byte) {
    	h := NewShake256()
    	h.Write(data)
    	h.Read(hash)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top