Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 1,614 for qsort (0.04 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. src/main/java/org/codelibs/fess/query/TermQueryCommand.java

    import org.opensearch.index.query.QueryBuilder;
    import org.opensearch.index.query.QueryBuilders;
    import org.opensearch.search.sort.SortOrder;
    
    public class TermQueryCommand extends QueryCommand {
        private static final Logger logger = LogManager.getLogger(TermQueryCommand.class);
    
        private static final String SORT_FIELD = "sort";
    
        @Override
        protected String getQueryClassName() {
            return TermQuery.class.getSimpleName();
        }
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  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. 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)
  10. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/options/InstanceOptionDescriptorSpec.groovy

            def values = descriptor.getAvailableValues()
    
            then:
            values == ["dynValue1", "dynValue2"] as Set
            1 * optionValueMethod.invoke(_,_) >> ["dynValue1", "dynValue2"]
        }
    
        def "should sort alphabetically by name by default"() {
            given:
            InstanceOptionDescriptor optionC = new InstanceOptionDescriptor(new SomeClass(), optionElement("optionC"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 18 15:17:44 UTC 2018
    - 2.7K bytes
    - Viewed (0)
Back to top