Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 169 for var2 (0.04 sec)

  1. subprojects/core/src/test/groovy/org/gradle/process/internal/JavaExecHandleBuilderTest.groovy

            given:
            File jar1 = new File("file1.jar").canonicalFile
            File jar2 = new File("file2.jar").canonicalFile
    
            builder.classpath(jar1)
    
            when:
            builder.classpath(jar2)
    
            then:
            builder.classpath.contains(jar1)
            builder.classpath.contains(jar2)
        }
    
        def "can replace classpath"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 15 17:11:21 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  2. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/changes/ClasspathCompareStrategyTest.groovy

                [jar1: jar(1234), jar2: jar(3456), jar3: jar(4568), jar4: jar(5678)]
            ) == [modified("jar2"), modified("jar3")]
        }
    
        def "jar never modified for different paths"() {
            expect:
            changes(
                [jar1: jar(1234), 'new-jar2': jar(2345), jar3: jar(4567), jar4: jar(5678)],
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/marshal_test.go

    		{JSONSchemaPropsOrBoolHolder{JSPoBOmitEmpty: &JSONSchemaPropsOrBool{Schema: &JSONSchemaProps{Type: "string"}}}, `{"val1":false,"val2":{"type":"string"}}`},
    		{JSONSchemaPropsOrBoolHolder{JSPoBOmitEmpty: &JSONSchemaPropsOrBool{}}, `{"val1":false,"val2":false}`},
    		{JSONSchemaPropsOrBoolHolder{JSPoBOmitEmpty: &JSONSchemaPropsOrBool{Allows: true}}, `{"val1":false,"val2":true}`},
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 10 12:12:24 UTC 2018
    - 7.1K bytes
    - Viewed (0)
  4. pkg/util/labels/labels_test.go

    package labels
    
    import (
    	"reflect"
    	"testing"
    
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    )
    
    func TestCloneAndAddLabel(t *testing.T) {
    	labels := map[string]string{
    		"foo1": "bar1",
    		"foo2": "bar2",
    		"foo3": "bar3",
    	}
    
    	cases := []struct {
    		labels     map[string]string
    		labelKey   string
    		labelValue string
    		want       map[string]string
    	}{
    		{
    			labels: labels,
    			want:   labels,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 11 17:34:12 UTC 2017
    - 4.1K bytes
    - Viewed (0)
  5. platforms/software/platform-base/src/integTest/groovy/org/gradle/api/plugins/BasePluginIntegrationTest.groovy

                    id("base")
                }
    
                task jar1(type: Jar) {}
                task jar2(type: Jar) {}
    
                configurations {
                    named("default") {
                        outgoing.artifact(tasks.jar1)
                    }
                    archives {
                        outgoing.artifact(tasks.jar2)
                    }
                }
            """
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. operator/pkg/tpath/tree_test.go

    `,
    		},
    		{
    			desc:     "overwrite",
    			baseYAML: testTreeYAML,
    			path:     "a.b.c",
    			value:    "val2",
    			want: `
    a:
      b:
        c: val2
        list1:
        - i1: val1
        - i2: val2
        - i3a: key1
          i3b:
            list2:
            - i1: val1
            - i2: val2
            - i3a: key1
              i3b:
                i1: va11
    `,
    		},
    		{
    			desc:     "partial create",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 15.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/freeze_variables.mlir

    // Test case: Basic freezing.
    
    module {
      // CHECK: func @main()
      func.func @main() -> tensor<0xf32> {
        %handle = "tf.VarHandleOp"() {container="", shared_name="var1", device = "/job:worker/replica:0/task:1/device:CPU:0"} : () -> tensor<!tf_type.resource<tensor<0xf32>>>
        %val = "tf.ReadVariableOp"(%handle) : (tensor<!tf_type.resource<tensor<0xf32>>>) -> tensor<0xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 23.6K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/testshared/testdata/issue47837/main/main.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"testshared/issue47837/a"
    )
    
    func main() {
    	var vara a.ImplA
    	a.TheFuncWithArgA(&vara)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 273 bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssagen/phi.go

    					v.AddArg(w)
    					continue
    				}
    			}
    
    			if _, ok := s.varnum[var_]; ok {
    				continue
    			}
    			s.varnum[var_] = int32(len(vartypes))
    			if debugPhi {
    				fmt.Printf("var%d = %v\n", len(vartypes), var_)
    			}
    			vars = append(vars, var_)
    			vartypes = append(vartypes, v.Type)
    		}
    	}
    
    	if len(vartypes) == 0 {
    		return
    	}
    
    	// Find all definitions of the variables we need to process.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 17:59:44 UTC 2022
    - 15.2K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/api/internal/attributes/DefaultImmutableAttributesFactoryTest.groovy

            def set2 = factory.of(BAR, "bar2")
    
            when:
            def concat = factory.concat(set1, set2)
    
            then:
            concat.keySet() == [FOO, BAR] as Set
            concat.getAttribute(FOO) == "foo1"
            concat.getAttribute(BAR) == "bar2"
        }
    
        def "can replace attribute with same name and different type"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 07 17:59:06 UTC 2022
    - 8.9K bytes
    - Viewed (0)
Back to top