Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of about 10,000 for sget (0.05 sec)

  1. platforms/documentation/docs/src/snippets/ant/properties/groovy/build.gradle

    // tag::set-property[]
    ant.buildDir = buildDir
    ant.properties.buildDir = buildDir
    ant.properties['buildDir'] = buildDir
    ant.property(name: 'buildDir', location: buildDir)
    // end::set-property[]
    
    ant.importBuild 'build.xml'
    
    // tag::get-property[]
    println ant.antProp
    println ant.properties.antProp
    println ant.properties['antProp']
    // end::get-property[]
    
    // tag::set-reference[]
    ant.path(id: 'classpath', location: 'libs')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 673 bytes
    - Viewed (0)
  2. pkg/typemap/map_test.go

    	tm := typemap.NewTypeMap()
    	typemap.Set(tm, 1)
    	typemap.Set(tm, int32(2))
    	typemap.Set(tm, "old")
    	typemap.Set(tm, "string")
    	typemap.Set(tm, TestStruct{Field: "inner"})
    	typemap.Set(tm, &TestStruct{Field: "pointer"})
    	typemap.Set[TestInterface[string]](tm, TestStruct{Field: "interface"})
    
    	assert.Equal(t, typemap.Get[int](tm), ptr.Of(1))
    	assert.Equal(t, typemap.Get[int32](tm), ptr.Of(int32(2)))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 16:38:40 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/code/DefaultUserCodeApplicationContext.java

                currentApplication.set(current);
            }
        }
    
        @Override
        public void gradleRuntime(Runnable runnable) {
            CurrentApplication current = currentApplication.get();
            //noinspection ThreadLocalSetWithNull
            currentApplication.set(null);
            try {
                runnable.run();
            } finally {
                currentApplication.set(current);
            }
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. src/mdo/model-version.vm

    #set ( $String = $model.getClass().forName("java.lang.String") )
    #set ( $Comparator = $model.getClass().forName("java.util.Comparator") )
    #set ( $LinkedHashSet = $model.getClass().forName("java.util.LinkedHashSet") )
    #set ( $HashMap = $model.getClass().forName("java.util.HashMap") )
    #set ( $TreeSet = $model.getClass().forName("java.util.TreeSet") )
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Oct 16 13:44:33 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/util/cache/expiring_test.go

    	c := NewExpiringWithClock(fc)
    
    	c.Set("a", "a", time.Second)
    
    	fc.Step(500 * time.Millisecond)
    	if _, ok := c.Get("a"); !ok {
    		t.Fatalf("we should have found a key")
    	}
    
    	fc.Step(time.Second)
    	if _, ok := c.Get("a"); ok {
    		t.Fatalf("we should not have found a key")
    	}
    
    	c.Set("a", "a", time.Second)
    
    	fc.Step(500 * time.Millisecond)
    	if _, ok := c.Get("a"); !ok {
    		t.Fatalf("we should have found a key")
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 22 15:51:23 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  6. src/internal/bytealg/compare_wasm.s

    	// len = min(alen, blen)
    	Get R1
    	Get R3
    	Get R1
    	Get R3
    	I64LtU
    	Select
    	Set R4
    
    	Get R0
    	I32WrapI64
    	Get R2
    	I32WrapI64
    	Get R4
    	I32WrapI64
    	Call memcmp<>(SB)
    	I64ExtendI32S
    	Tee R5
    
    	I64Eqz
    	If
    		// check length
    		Get R1
    		Get R3
    		I64Sub
    		Set R5
    	End
    
    	I64Const $0
    	I64Const $-1
    	I64Const $1
    	Get R5
    	I64Const $0
    	I64LtS
    	Select
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 11 04:00:35 UTC 2019
    - 1.4K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/internal/component/DefaultSoftwareComponentContainerIntegrationTest.groovy

                    }
                }
    
                tasks.register("verify") {
                    assert(components.named<TestComponent>("comp1").get().name == "comp1")
                    assert(components.named<TestComponent>("comp1").get().value.get() == 2)
                    assert(components.named<TestComponent>("comp1").get() is DefaultTestComponent)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 14 22:59:22 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  8. tensorflow/cc/experimental/libtf/tests/object_test.cc

      EXPECT_EQ(child.Get<Integer>(String("test1"))->get(), 1);
      EXPECT_EQ(child.Get<Integer>(String("test2"))->get(), 2);
      EXPECT_EQ(child.Get<Integer>(String("test3"))->get(), 3);
      ASSERT_FALSE(child.Get<Integer>(String("test4")).status().ok());
      TF_ASSERT_OK(child.Get(String("test3")).status());
    }
    
    TEST(ObjectTest, CallFunctionOnObject) {
      Object module;
      module.Set(String("add"), Callable(TaggedValue(AddIntegers)));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jul 28 21:37:07 UTC 2021
    - 5.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/cache/CacheBuilderFactory.java

                    (Integer) combination.get(0),
                    (Integer) combination.get(1),
                    (Integer) combination.get(2),
                    (DurationSpec) combination.get(3),
                    (DurationSpec) combination.get(4),
                    (DurationSpec) combination.get(5),
                    (Strength) combination.get(6),
                    (Strength) combination.get(7));
              }
            });
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java

        SettableFuture<Integer> future = SettableFuture.create();
        assertTrue(future.set(42));
        // Later attempts to set the future should return false.
        assertFalse(future.set(23));
        assertFalse(future.setException(new Exception("bar")));
        assertFalse(future.setFuture(SettableFuture.<Integer>create()));
        // Check that the future has been set properly.
        assertTrue(future.isDone());
        assertFalse(future.isCancelled());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 7.3K bytes
    - Viewed (0)
Back to top