Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 4,034 for Sort (0.11 sec)

  1. pkg/config/analysis/analyzers/telemetry/util.go

    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    // See the License for the specific language governing permissions and
    // limitations under the License.
    package telemetry
    
    import (
    	"sort"
    
    	"istio.io/api/mesh/v1alpha1"
    	"istio.io/istio/pkg/config/analysis"
    	"istio.io/istio/pkg/config/analysis/analyzers/util"
    	"istio.io/istio/pkg/config/resource"
    	"istio.io/istio/pkg/config/schema/gvk"
    )
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun May 05 03:44:57 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. clause/set_test.go

    package clause_test
    
    import (
    	"fmt"
    	"sort"
    	"strings"
    	"testing"
    
    	"gorm.io/gorm/clause"
    )
    
    func TestSet(t *testing.T) {
    	results := []struct {
    		Clauses []clause.Interface
    		Result  string
    		Vars    []interface{}
    	}{
    		{
    			[]clause.Interface{
    				clause.Update{},
    				clause.Set([]clause.Assignment{{clause.PrimaryColumn, 1}}),
    			},
    			"UPDATE `users` SET `users`.`id`=?",
    			[]interface{}{1},
    		},
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/mod/semver/semver.go

    	cmp := Compare(vs[i], vs[j])
    	if cmp != 0 {
    		return cmp < 0
    	}
    	return vs[i] < vs[j]
    }
    
    // Sort sorts a list of semantic version strings using [ByVersion].
    func Sort(list []string) {
    	sort.Sort(ByVersion(list))
    }
    
    func parse(v string) (p parsed, ok bool) {
    	if v == "" || v[0] != 'v' {
    		return
    	}
    	p.major, v, ok = parseInt(v[1:])
    	if !ok {
    		return
    	}
    	if v == "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 12 20:38:21 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  4. pkg/test/loadbalancersim/loadbalancer/edf.go

    	weight   float64
    }
    
    // priorityQueue is a queue that always pop the highest priority item
    type priorityQueue []*Entry
    
    // Len implements heap.Interface/sort.Interface
    func (pq priorityQueue) Len() int { return len(pq) }
    
    // Less implements heap.Interface/sort.Interface
    func (pq priorityQueue) Less(i, j int) bool {
    	// Flip logic to make this a min queue.
    	if pq[i].deadline == pq[j].deadline {
    		return pq[i].index < pq[j].index
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 20 19:13:32 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  5. platforms/ide/ide-native/src/main/groovy/org/gradle/ide/visualstudio/tasks/internal/VisualStudioSolutionFile.groovy

            }
            builder << """
    Global
    	GlobalSection(SolutionConfigurationPlatforms) = preSolution"""
            Set<String> configurationNames = Sets.newLinkedHashSet(projectConfigurations.values().flatten().collect({ it.name }).sort())
            configurationNames.each { String configurationName ->
                builder << """\n\t\t${configurationName} = ${configurationName}"""
            }
            builder << """
    	EndGlobalSection
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/utils/topological_sort.h

    // (Unlike nullptr, this also works inside the ternary operator)
    extern ExtraDependenciesFunction no_extra_dependencies;
    
    // Sort a block topologically, so that for all ops, all operands are
    // available at the time of execution.  This is similar to MLIR's topological
    // sort (lib/Transforms/TopologicalSort.cpp) but also takes a priority
    // function to determine the next op to emit in the case of ambiguity. This
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Nov 08 17:01:11 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/query/QueryCommand.java

    import org.opensearch.index.query.BoolQueryBuilder;
    import org.opensearch.index.query.QueryBuilder;
    import org.opensearch.index.query.QueryBuilders;
    import org.opensearch.search.sort.SortBuilder;
    import org.opensearch.search.sort.SortBuilders;
    import org.opensearch.search.sort.SortOrder;
    
    public abstract class QueryCommand {
    
        public abstract QueryBuilder execute(final QueryContext context, final Query query, final float boost);
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. docs/metrics/prometheus/grafana/minio-dashboard.json

              "calcs": [
                "lastNotNull"
              ],
              "fields": "",
              "values": false
            },
            "tooltip": {
              "mode": "single",
              "sort": "none"
            }
          },
          "pluginVersion": "8.2.1",
          "targets": [
            {
              "datasource": {
                "type": "prometheus",
                "uid": "${DS_PROMETHEUS}"
              },
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Apr 15 10:03:01 UTC 2024
    - 93K bytes
    - Viewed (0)
  9. pkg/credentialprovider/keyring.go

    	return parsed, nil
    }
    
    // SplitURL splits the host name into parts, as well as the port
    func SplitURL(url *url.URL) (parts []string, port string) {
    	host, port, err := net.SplitHostPort(url.Host)
    	if err != nil {
    		// could not parse port
    		host, port = url.Host, ""
    	}
    	return strings.Split(host, "."), port
    }
    
    // URLsMatchStr is wrapper for URLsMatch, operating on strings instead of URLs.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 9.2K bytes
    - Viewed (0)
  10. pkg/kubelet/pod_container_deletor.go

    			candidates = append(candidates, containerStatus)
    		}
    	}
    
    	if len(candidates) <= containersToKeep {
    		return containerStatusbyCreatedList{}
    	}
    	sort.Sort(candidates)
    	return candidates[containersToKeep:]
    }
    
    // deleteContainersInPod issues container deletion requests for containers selected by getContainersToDeleteInPod.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Nov 05 13:02:13 UTC 2022
    - 4K bytes
    - Viewed (0)
Back to top