Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 190 for evalTo (0.1 sec)

  1. staging/src/k8s.io/apiserver/pkg/cel/mutation/typeprovider_test.go

    				t.Fatalf("unexpected issues during compilation: %v", issues)
    			}
    			program, err := env.Program(ast)
    			if err != nil {
    				t.Fatalf("unexpected error while creating program: %v", err)
    			}
    			r, _, err := program.Eval(map[string]any{})
    			if err != nil {
    				t.Fatalf("unexpected error during evaluation: %v", err)
    			}
    			if v := r.Value(); !reflect.DeepEqual(tc.expectedValue, v) {
    				t.Errorf("expected %v but got %v", tc.expectedValue, v)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 24 00:01:35 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. maven-core/src/test/resources-project-builder/boolean-interpolation/pom.xml

              </expressions>
            </configuration>
            <executions>
              <execution>
                <id>test</id>
                <phase>validate</phase>
                <goals>
                  <goal>eval</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Mar 29 19:02:56 UTC 2020
    - 2.5K bytes
    - Viewed (0)
  3. tests/integration/ambient/baseline_test.go

    			// Need waypoint proxy and HTTP
    			if opt.Scheme != scheme.HTTP {
    				return
    			}
    			t.NewSubTest("set header").Run(func(t framework.TestContext) {
    				t.ConfigIstio().Eval(apps.Namespace.Name(), map[string]string{
    					"Destination": dst.Config().Service,
    				}, `apiVersion: networking.istio.io/v1alpha3
    kind: VirtualService
    metadata:
      name: route
    spec:
      hosts:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 78.4K bytes
    - Viewed (0)
  4. tests/integration/pilot/label_test.go

    apiVersion: networking.istio.io/v1alpha3
    kind: DestinationRule
    metadata:
      name: {{.Destination}}
    spec:
      host: {{.Destination}}
      subsets:
      - name: my-subset
        labels:
          subset: my-subset`
    			t.ConfigIstio().Eval(apps.Namespace.Name(), map[string]string{
    				"Destination": "a",
    			}, cfg).ApplyOrFail(t)
    			from := apps.B[0]
    			to := apps.A
    
    			// First, expect to fail. Subset does not match
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 18:27:40 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. tests/integration/security/file_mounted_certs/p2p_mtls_test.go

    spec:
      mtls:
        mode: STRICT
    `
    )
    
    func createObject(ctx framework.TestContext, serviceNamespace string, yamlManifest string) {
    	args := map[string]string{"AppNamespace": serviceNamespace}
    	ctx.ConfigIstio().Eval(serviceNamespace, args, yamlManifest).ApplyOrFail(ctx)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. tensorflow/c/generate-pc.sh

        echo -e "-h, --help\tdisplay this message"
    }
    
    [ $# == 0 ] && usage && exit 0
    
    # read the options
    ARGS=$(getopt -o p:l:v:h --long prefix:,libdir:,version:,help -n $0 -- "$@")
    eval set -- "$ARGS"
    
    # extract options and their arguments into variables.
    while true ; do
        case "$1" in
            -h|--help) usage ; exit ;;
            -p|--prefix)
                case "$2" in
                    "") shift 2 ;;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Aug 04 07:01:14 UTC 2019
    - 2.7K bytes
    - Viewed (0)
  7. maven-core/src/test/resources-project-builder/jdk-activation/pom.xml

            <artifactId>maven-it-plugin-expression</artifactId>
            <version>2.1-SNAPSHOT</version>
            <executions>
              <execution>
                <phase>validate</phase>
                <goals>
                  <goal>eval</goal>
                </goals>
                <configuration>
                  <outputFile>target/jdk.properties</outputFile>
                  <expressions>
                    <expression>project/properties</expression>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Mar 29 19:02:56 UTC 2020
    - 2.8K bytes
    - Viewed (0)
  8. src/crypto/internal/boring/Dockerfile

    ARG GOARCH
    ENV GoV=1.16.5
    ENV GoHamd64=b12c23023b68de22f74c0524f10b753e7b08b1504cb7e417eccebdd3fae49061
    ENV GoHarm64=d5446b46ef6f36fdffa852f73dfbbe78c1ddf010b99fa4964944b9ae8b4d6799
    RUN \
    	eval GoH=\${GoH$GOARCH} && \
    	wget https://golang.org/dl/go$GoV.linux-$GOARCH.tar.gz && \
    	echo "$GoH go$GoV.linux-$GOARCH.tar.gz" >sha && sha256sum -c sha && \
    	tar -C /usr/local -xzf go$GoV.linux-$GOARCH.tar.gz && \
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 26 22:52:27 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. src/go/types/index.go

    		// determine and check index
    		validIndex := false
    		eval := e
    		if kv, _ := e.(*ast.KeyValueExpr); kv != nil {
    			if typ, i := check.index(kv.Key, length); isValid(typ) {
    				if i >= 0 {
    					index = i
    					validIndex = true
    				} else {
    					check.errorf(e, InvalidLitIndex, "index %s must be integer constant", kv.Key)
    				}
    			}
    			eval = kv.Value
    		} else if length >= 0 && index >= length {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:17:05 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  10. src/go/build/constraint/expr_test.go

    				wantTags[tag] = true
    			}
    			hasTag := func(tag string) bool {
    				tags[tag] = true
    				return tag == "yes"
    			}
    			ok := x.Eval(hasTag)
    			if ok != tt.ok || !reflect.DeepEqual(tags, wantTags) {
    				t.Errorf("Eval(%#q):\nhave ok=%v, tags=%v\nwant ok=%v, tags=%v",
    					tt.in, ok, tags, tt.ok, wantTags)
    			}
    		})
    	}
    }
    
    var parsePlusBuildExprTests = []struct {
    	in string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 18 22:36:55 UTC 2021
    - 7.6K bytes
    - Viewed (0)
Back to top