Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of about 10,000 for Returns (0.19 sec)

  1. pkg/scheduler/testing/framework/fake_plugins.go

    		return &FakeFilterPlugin{
    			FailedNodeReturnCodeMap: failedNodeReturnCodeMap,
    		}, nil
    	}
    }
    
    // MatchFilterPlugin is a filter plugin which return Success when the evaluated pod and node
    // have the same name; otherwise return Unschedulable.
    type MatchFilterPlugin struct{}
    
    // Name returns name of the plugin.
    func (pl *MatchFilterPlugin) Name() string {
    	return "MatchFilter"
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 19:07:19 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/cel/library/lists.go

    // Returns the sum of the elements of the provided list. Supports CEL number (int, uint, double) and duration types.
    //
    //	<list<T>>.sum() <T>, T must be a numeric type or a duration
    //
    // Examples:
    //
    //	[1, 3].sum() // returns 4
    //	[1.0, 3.0].sum() // returns 4.0
    //	['1m', '1s'].sum() // returns '1m1s'
    //	emptyIntList.sum() // returns 0
    //	emptyDoubleList.sum() // returns 0.0
    //	[].sum() // returns 0
    //
    // min / max
    //
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 23 21:31:27 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/util.go

    func ExprString(x syntax.Node) string { return syntax.String(x) }
    
    // startPos returns the start position of node n.
    func startPos(n syntax.Node) syntax.Pos { return syntax.StartPos(n) }
    
    // endPos returns the position of the first character immediately after node n.
    func endPos(n syntax.Node) syntax.Pos { return syntax.EndPos(n) }
    
    // makeFromLiteral returns the constant value for the given literal string and kind.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/cpumanager/topology/topology.go

    		return 0
    	}
    	return topo.NumCPUs / topo.NumSockets
    }
    
    // CPUCoreID returns the physical core ID which the given logical CPU
    // belongs to.
    func (topo *CPUTopology) CPUCoreID(cpu int) (int, error) {
    	info, ok := topo.CPUDetails[cpu]
    	if !ok {
    		return -1, fmt.Errorf("unknown CPU ID: %d", cpu)
    	}
    	return info.CoreID, nil
    }
    
    // CPUCoreID returns the socket ID which the given logical CPU belongs to.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 03 16:26:09 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/common/lift_as_function_call.td

    // wrap the section between arguments and results.
    //
    // The `returns` number indicates the number of results the function returns.
    class LiftAsTFPartitionedCall<string func_name, int returns = 1> :
      NativeCodeCall<"LiftAsFunctionCall($_builder, $_loc, "
                        "FunctionCallOpType::TFPartitionedCallOp, "
                        "\""# func_name #"\", $0...)", returns>;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 25 00:32:20 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/PathType.java

         * Returns the unique name of this path type, including the module to patch if any.
         * For example, if this type is {@link JavaPathType#MODULES}, then this method returns {@code "MODULES"}.
         * But if this type was created by {@code JavaPathType.patchModule("foo.bar")}, then this method returns
         * {@code "PATCH_MODULE:foo.bar"}.
         *
         * @return the programmatic name together with the module name on which it applies
         * @see #toString()
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon May 13 09:53:45 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. pkg/scheduler/testing/framework/framework_helpers.go

    	switch extension {
    	case "QueueSort":
    		return &plugins.QueueSort
    	case "Filter":
    		return &plugins.Filter
    	case "PreFilter":
    		return &plugins.PreFilter
    	case "PreScore":
    		return &plugins.PreScore
    	case "Score":
    		return &plugins.Score
    	case "Bind":
    		return &plugins.Bind
    	case "Reserve":
    		return &plugins.Reserve
    	case "Permit":
    		return &plugins.Permit
    	case "PreBind":
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  8. migrator/column_type.go

    	if ct.DataTypeValue.Valid {
    		return ct.DataTypeValue.String
    	}
    	return ct.SQLColumnType.DatabaseTypeName()
    }
    
    // ColumnType returns the database type of the column. like `varchar(16)`
    func (ct ColumnType) ColumnType() (columnType string, ok bool) {
    	return ct.ColumnTypeValue.String, ct.ColumnTypeValue.Valid
    }
    
    // PrimaryKey returns the column is primary key or not.
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Thu Mar 24 01:31:58 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/external/model/ivy/IvyModuleResolveMetadata.java

        /**
         * Returns the branch attribute for the module.
         *
         * @return the branch attribute for the module
         */
        @Nullable
        String getBranch();
    
        /**
         * Returns the Ivy definitions for the configurations of this module.
         */
        ImmutableMap<String, Configuration> getConfigurationDefinitions();
    
        /**
         * Returns the Ivy definitions for artifacts of this module.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/model/gradle/BasicGradleProject.java

         *
         * @return The path of this project.
         */
        String getPath();
    
        /**
         * Returns the project directory for this project.
         *
         * @return The project directory.
         */
        File getProjectDirectory();
    
        /**
         * Returns the parent of this project, or {@code null} if this is the root project.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2.6K bytes
    - Viewed (0)
Back to top