Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 425 for spec (0.13 sec)

  1. android/guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

      }
    
      public void testParse_initialCapacity() {
        CacheBuilderSpec spec = parse("initialCapacity=10");
        assertEquals(10, spec.initialCapacity.intValue());
        assertNull(spec.maximumSize);
        assertNull(spec.maximumWeight);
        assertNull(spec.concurrencyLevel);
        assertNull(spec.keyStrength);
        assertNull(spec.valueStrength);
        assertNull(spec.writeExpirationTimeUnit);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/net/HostSpecifierTest.java

          assertBad(spec);
        }
      }
    
      public void testEquality() {
        new EqualsTester()
            .addEqualityGroup(spec("1.2.3.4"), spec("1.2.3.4"))
            .addEqualityGroup(spec("2001:db8::1"), spec("2001:db8::1"), spec("[2001:db8::1]"))
            .addEqualityGroup(spec("2001:db8::2"))
            .addEqualityGroup(spec("google.com"), spec("google.com"))
            .addEqualityGroup(spec("www.google.com"))
            .testEquals();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Feb 18 15:33:20 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/net/HostSpecifierTest.java

          assertBad(spec);
        }
      }
    
      public void testEquality() {
        new EqualsTester()
            .addEqualityGroup(spec("1.2.3.4"), spec("1.2.3.4"))
            .addEqualityGroup(spec("2001:db8::1"), spec("2001:db8::1"), spec("[2001:db8::1]"))
            .addEqualityGroup(spec("2001:db8::2"))
            .addEqualityGroup(spec("google.com"), spec("google.com"))
            .addEqualityGroup(spec("www.google.com"))
            .testEquals();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Feb 18 15:33:20 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  4. istioctl/pkg/describe/describe_test.go

    		},
    		{
    			k8sConfigs: []runtime.Object{
    				&corev1.Service{
    					ObjectMeta: metav1.ObjectMeta{
    						Name:      "productpage",
    						Namespace: "default",
    					},
    					Spec: corev1.ServiceSpec{
    						Selector: map[string]string{
    							"app": "productpage",
    						},
    						Ports: []corev1.ServicePort{
    							{
    								Name:       "http",
    								Port:       9080,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 20:04:20 UTC 2024
    - 30.8K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleKotlinDslReferencePlugin.java

            kotlinSourceSet.register("kotlin_dsl", spec -> {
                spec.getDisplayName().set("DSL");
                spec.getSourceRoots().from(extension.getKotlinDslSource());
                spec.getSourceRoots().from(runtimeExtensions.flatMap(GradleKotlinDslRuntimeGeneratedSources::getGeneratedSources));
                spec.getClasspath().from(extension.getClasspath());
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:07:24 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

      }
    
      public void testParse_initialCapacity() {
        CacheBuilderSpec spec = parse("initialCapacity=10");
        assertEquals(10, spec.initialCapacity.intValue());
        assertNull(spec.maximumSize);
        assertNull(spec.maximumWeight);
        assertNull(spec.concurrencyLevel);
        assertNull(spec.keyStrength);
        assertNull(spec.valueStrength);
        assertNull(spec.writeExpirationTimeUnit);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  7. cni/pkg/plugin/plugin_test.go

    	pod, ns := buildFakePodAndNSForClient()
    
    	pod.Spec.Containers[0].Name = "mockContainer"
    	pod.Spec.Containers[1].Name = "istio-proxy"
    	pod.ObjectMeta.Annotations[injectAnnotationKey] = "false"
    
    	testDoAddRun(t, buildMockConf(true), testNSName, pod, ns)
    }
    
    func TestCmdAddTwoContainersWithLabel(t *testing.T) {
    	pod, ns := buildFakePodAndNSForClient()
    	pod.Spec.Containers[0].Name = "mockContainer"
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  8. istioctl/pkg/describe/describe.go

    	}
    
    	if matches == 0 {
    		if len(vs.Spec.Http) > 0 {
    			fmt.Fprintf(writer, "%sWARNING: No destinations match pod subsets (checked %d HTTP routes)\n",
    				printSpaces(initPrintNum+printLevel1), len(vs.Spec.Http))
    		}
    		if len(vs.Spec.Tcp) > 0 {
    			fmt.Fprintf(writer, "%sWARNING: No destinations match pod subsets (checked %d TCP routes)\n",
    				printSpaces(initPrintNum+printLevel1), len(vs.Spec.Tcp))
    		}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
  9. istioctl/pkg/workload/workload.go

    		return err
    	}
    	// fill empty structs
    	if wg.Spec.Metadata == nil {
    		wg.Spec.Metadata = &networkingv1alpha3.WorkloadGroup_ObjectMeta{}
    	}
    	if wg.Spec.Template == nil {
    		wg.Spec.Template = &networkingv1alpha3.WorkloadEntry{}
    	}
    	// default service account for an empty field is "default"
    	if wg.Spec.Template.ServiceAccount == "" {
    		wg.Spec.Template.ServiceAccount = "default"
    	}
    	return nil
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 16:31:46 UTC 2024
    - 25.3K bytes
    - Viewed (0)
  10. istioctl/pkg/validate/validate_test.go

    kind: Service
    metadata:
      name: hello
    spec:
      ports:
        -
          protocol: udp`
    	skippedService = `
    kind: Service
    metadata:
      name: hello
      namespace: istio-system
    spec:
      ports:
        -
          name: http
          port: 9080`
    	validPortNamingSvc = `
    apiVersion: v1
    kind: Service
    metadata:
      name: hello
    spec:
      ports:
        - name: http
          port: 9080`
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 02 16:18:14 UTC 2024
    - 21.4K bytes
    - Viewed (0)
Back to top