Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for fastTest (0.29 sec)

  1. platforms/core-runtime/stdlib-java-extensions/src/test/groovy/org/gradle/internal/CastTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal
    
    import spock.lang.Specification
    
    import static Cast.cast
    
    class CastTest extends Specification {
    
        def "casting"() {
            given:
            def arg = "1"
    
            when:
            cast(Integer, arg)
    
            then:
            def e = thrown(ClassCastException)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  2. internal/config/scanner/help.go

    	}
    
    	// Help provides help for config values
    	Help = config.HelpKVS{
    		config.HelpKV{
    			Key:         Speed,
    			Description: `customize scanner speed (default|slowest|slow|fast|fastest)` + defaultHelpPostfix(Speed),
    			Optional:    true,
    			Type:        "string",
    		},
    		config.HelpKV{
    			Key:         ExcessVersions,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 12 07:41:53 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

        @J2ObjCIncompatible // ClassValue
        enum ClassValueValidator implements GetCheckedTypeValidator {
          INSTANCE;
    
          /*
           * Static final fields are presumed to be fastest, based on our experience with
           * UnsignedBytesBenchmark. TODO(cpovirk): benchmark this
           */
          private static final ClassValue<Boolean> isValidClass =
              new ClassValue<Boolean>() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  4. maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/FarthestConflictResolverTest.java

    class FarthestConflictResolverTest extends AbstractConflictResolverTest {
        // constructors -----------------------------------------------------------
    
        public FarthestConflictResolverTest() throws Exception {
            super("farthest");
        }
    
        // tests ------------------------------------------------------------------
    
        /**
         * Tests that <code>a:2.0</code> wins in the scenario:
         * <pre>
         * a:1.0
         * b:1.0 -&gt; a:2.0
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. internal/config/scanner/scanner.go

    			if err = lookupDeprecatedScannerConfig(kvs, &cfg); err != nil {
    				return cfg, err
    			}
    		}
    	}
    
    	switch speed := env.Get(EnvSpeed, kvs.GetWithDefault(Speed, DefaultKVS)); speed {
    	case "fastest":
    		cfg.Delay, cfg.MaxWait, cfg.Cycle = 0, 0, time.Second
    	case "fast":
    		cfg.Delay, cfg.MaxWait, cfg.Cycle = 1, 100*time.Millisecond, time.Minute
    	case "default":
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. tests/integration/ambient/untaint/main_test.go

    		Setup(func(t resource.Context) error {
    			t.Settings().Ambient = true
    			return nil
    		}).
    		Setup(istio.Setup(&i, func(ctx resource.Context, cfg *istio.Config) {
    			// can't deploy VMs without eastwest gateway
    			ctx.Settings().SkipVMs()
    			cfg.DeployEastWestGW = false
    			cfg.ControlPlaneValues = `
    components:
      cni:
        namespace: "kube-system"
    values:
      pilot:
        taint:
          enabled: true
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 14:58:41 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. src/testing/fstest/mapfs_test.go

    // Copyright 2020 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package fstest
    
    import (
    	"fmt"
    	"io/fs"
    	"strings"
    	"testing"
    )
    
    func TestMapFS(t *testing.T) {
    	m := MapFS{
    		"hello":             {Data: []byte("hello, world\n")},
    		"fortune/k/ken.txt": {Data: []byte("If a program is too slow, it must have a loop.\n")},
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 14:59:55 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  8. pilot/pkg/serviceregistry/kube/controller/network_test.go

    	ipType := v1beta1.IPAddressType
    	hostnameType := v1beta1.HostnameAddressType
    	clienttest.Wrap(t, kclient.New[*v1beta1.Gateway](c.client)).CreateOrUpdate(&v1beta1.Gateway{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "eastwest-gwapi",
    			Namespace: "istio-system",
    			Labels:    map[string]string{label.TopologyNetwork.Name: "nw2"},
    		},
    		Spec: v1beta1.GatewaySpec{
    			GatewayClassName: "istio",
    			Addresses: []v1beta1.GatewayAddress{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 19:09:43 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  9. docs/en/docs/benchmarks.md

    But when checking benchmarks and comparisons you should keep the following in mind.
    
    ## Benchmarks and speed
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

        }
    
        @Test
        void testScopeUpdate() throws InvalidVersionSpecificationException, ArtifactResolutionException {
            /* farthest = compile */
            checkScopeUpdate(Artifact.SCOPE_COMPILE, Artifact.SCOPE_COMPILE, Artifact.SCOPE_COMPILE);
            checkScopeUpdate(Artifact.SCOPE_COMPILE, Artifact.SCOPE_PROVIDED, Artifact.SCOPE_COMPILE);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 42.5K bytes
    - Viewed (0)
Back to top