Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 291 for valueDoc (0.52 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/polyglot/AbstractDependenciesBuilder.groovy

                    Object last = Array.get(notation, len - 1)
                    if (len==2 && last instanceof Closure) {
                        // configuration pattern
                        String notation = String.valueOf(Array.get(notation, 0))
                        switch (dsl) {
                            case GradleDsl.GROOVY:
                                notation = "('$notation')"
                                break
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. platforms/core-runtime/time/src/main/java/org/gradle/internal/time/TimeFormatting.java

                result.append(minutes);
                result.append("m");
            }
            int secondsScale = result.length() > 0 ? 2 : 3;
            result.append(BigDecimal.valueOf(duration).divide(BigDecimal.valueOf(MILLIS_PER_SECOND)).setScale(secondsScale, RoundingMode.HALF_UP));
            result.append("s");
            return result.toString();
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:20:17 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. test/alias2.go

    	var _ A5 = Value{} // ERROR "cannot use Value{} \(value of type reflect\.Value\) as A5 value in variable declaration"
    }
    
    // Invalid type alias declarations.
    
    type _ = reflect.ValueOf // ERROR "reflect.ValueOf .*is not a type|expected type"
    
    func (A1) m() {} // ERROR "cannot define new methods on non-local type|may not define methods on non-local type"
    func (A2) m() {} // ERROR "invalid receiver type"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:09:14 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java

        public BigInteger apply(Integer from) {
          BigInteger v = BigInteger.valueOf(from);
          // Math.sin is very slow for values outside 4*pi
          // Need to take absolute value to avoid inverting the value.
          for (double i = 0; i < 100; i += 20) {
            v =
                v.add(
                    v.multiply(
                        BigInteger.valueOf(((Double) Math.abs(Math.sin(i) * 10.0)).longValue())));
          }
          return v;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/SystemPropertyRead.groovy

            return new SystemPropertyRead() {
                @Override
                String getJavaExpression() {
                    return "Integer.getInteger(\"$name\", Integer.valueOf($defaultValue))"
                }
    
                @Override
                String getGroovyExpression() {
                    return "Integer.getInteger(\"$name\", $defaultValue as Integer)"
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. platforms/software/build-init/src/main/java/org/gradle/api/tasks/wrapper/internal/WrapperGenerator.java

            if (networkTimeout != null) {
                wrapperProperties.put(WrapperExecutor.NETWORK_TIMEOUT_PROPERTY, String.valueOf(networkTimeout));
            }
            wrapperProperties.put(WrapperExecutor.VALIDATE_DISTRIBUTION_URL, String.valueOf(validateDistributionUrl));
    
            GFileUtils.parentMkdirs(propertiesFileDestination);
            try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 15 00:45:32 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  7. test/fixedbugs/issue58300.go

    import (
    	"reflect"
    	"runtime"
    )
    
    func f(n int) int {
    	return n % 2
    }
    
    func g(n int) int {
    	return f(n)
    }
    
    func name(fn any) (res string) {
    	return runtime.FuncForPC(uintptr(reflect.ValueOf(fn).Pointer())).Name()
    }
    
    func main() {
    	println(name(f))
    	println(name(g))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 06 20:39:54 UTC 2023
    - 450 bytes
    - Viewed (0)
  8. pkg/kubelet/util/util_windows_test.go

    	}
    }
    
    func npipeDial(ctx context.Context, addr string) (net.Conn, error) {
    	return winio.DialPipeContext(ctx, addr)
    }
    
    func TestLocalEndpointRoundTrip(t *testing.T) {
    	npipeDialPointer := reflect.ValueOf(npipeDial).Pointer()
    	expectedDialerName := runtime.FuncForPC(npipeDialPointer).Name()
    	expectedAddress := "//./pipe/kubelet-pod-resources"
    
    	fullPath, err := LocalEndpoint(`pod-resources`, "kubelet")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 08:58:18 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/admission/testing/helpers.go

    			if deepCopyInto, ok := reflect.TypeOf(a.GetObject()).MethodByName("DeepCopyInto"); ok {
    				deepCopyInto.Func.Call([]reflect.Value{
    					reflect.ValueOf(a.GetObject().DeepCopyObject()),
    					reflect.ValueOf(a.GetObject()),
    				})
    			}
    		}
    	}
    	for i := 1; i < len(outputs); i++ {
    		if !apiequality.Semantic.DeepEqual(outputs[0], outputs[i]) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  10. test/fixedbugs/issue58300b.go

    func f(t *T) int {
    	if t != nil {
    		return t.b
    	}
    	return 0
    }
    
    func g(t *T) int {
    	return f(t) + 5
    }
    
    func main() {
    	x(f)
    	x(g)
    }
    func x(v any) {
    	println(runtime.FuncForPC(reflect.ValueOf(v).Pointer()).Name())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 03 16:35:00 UTC 2023
    - 458 bytes
    - Viewed (0)
Back to top