Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 342 for overloads (0.21 sec)

  1. staging/src/k8s.io/apiserver/pkg/cel/library/urls.go

    			cel.UnaryBinding(getQuery))},
    	"isURL": {
    		cel.Overload("is_url_string", []*cel.Type{cel.StringType}, cel.BoolType,
    			cel.UnaryBinding(isURL))},
    }
    
    func (*urls) CompileOptions() []cel.EnvOption {
    	options := []cel.EnvOption{}
    	for name, overloads := range urlLibraryDecls {
    		options = append(options, cel.Function(name, overloads...))
    	}
    	return options
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 23 21:31:27 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/internal/classpath/intercept/Invocation.java

         * This method is useful for handling optional arguments represented as "telescopic" overloads, like the one of the {@code Runtime.exec}:
         * <pre>
         *     Runtime.exec("/usr/bin/echo")
         *     Runtime.exec("/usr/bin/echo", new String[] {"FOO=BAR"})
         * </pre>
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 08 05:57:27 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/cel/library/quantity.go

    var quantityLibraryDecls = map[string][]cel.FunctionOpt{
    	"quantity": {
    		cel.Overload("string_to_quantity", []*cel.Type{cel.StringType}, apiservercel.QuantityType, cel.UnaryBinding((stringToQuantity))),
    	},
    	"isQuantity": {
    		cel.Overload("is_quantity_string", []*cel.Type{cel.StringType}, cel.BoolType, cel.UnaryBinding(isQuantity)),
    	},
    	"sign": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 23 21:31:27 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/cel/library/ip.go

    	options := []cel.EnvOption{cel.Types(apiservercel.IPType),
    		cel.Variable(apiservercel.IPType.TypeName(), types.NewTypeTypeWithParam(apiservercel.IPType)),
    	}
    	for name, overloads := range ipLibraryDecls {
    		options = append(options, cel.Function(name, overloads...))
    	}
    	return options
    }
    
    func (*ip) ProgramOptions() []cel.ProgramOption {
    	return []cel.ProgramOption{}
    }
    
    func stringToIP(arg ref.Val) ref.Val {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 11:02:34 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  5. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/groovy/SignatureTree.java

                    // TODO better diagnostics reporting
                    throw new IllegalStateException("vararg overloads are not supported yet");
                }
                current = current.childrenByMatchEntry.computeIfAbsent(matchEntry, key -> new SignatureTree());
            }
            if (current.leaf != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 02 15:44:14 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/api/internal/project/taskfactory/DefaultTaskClassInfoStore.java

                    }
                    if (previousDeclaringClass == declaringClass) {
                        throw new GradleException(String.format(
                            "Cannot use @TaskAction annotation on multiple overloads of method %s.%s()",
                            declaringClass.getSimpleName(), method.getName()
                        ));
                    } else if (previousDeclaringClass != null) {
                        continue;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 14:04:47 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/ProcessInstrumentationInJavaIntegrationTest.groovy

            fromString()      | "ProcessGroovyMethods.execute(command, (String[]) null, project.file(\"$pwd\"))"                  | pwd               | ""
    
            // Runtime.exec() overloads
            fromString()      | "Runtime.getRuntime().exec(command)"                                                              | ""                | ""
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/ProcessInstrumentationInKotlinIntegrationTest.groovy

            fromString()      | "ProcessGroovyMethods.execute(command, null as Array<String>?, file(\"$pwd\"))"     | pwd               | ""
    
            // Runtime.exec() overloads
            fromString()      | "Runtime.getRuntime().exec(command)"                                                | ""                | ""
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/LongRunningOperation.java

         * </p>
         *
         * @param listener The listener
         * @return this
         * @since 1.0-milestone-7
         */
        @SuppressWarnings("overloads")
        LongRunningOperation addProgressListener(ProgressListener listener);
    
        /**
         * Adds a progress listener which will receive progress events of all types as the operation runs.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 14K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheLambdaIntegrationTest.groovy

                        @Inject
                        public TaskB() { }
                    }
    
                    public class LambdaPlugin implements Plugin<Project> {
                        // Use these overloads as lambda implementation methods - they should appear in SerializedLambda
                        static void foo(TaskA taskA) { }
                        static void foo(TaskB taskB) { }
    
                        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 11.7K bytes
    - Viewed (0)
Back to top