Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 1,614 for qsort (0.11 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/ClassDoc.groovy

        }
        void addSubClass(ClassDoc subClass) {
            subClasses.add(subClass)
        }
        ClassDoc mergeContent() {
            classProperties.sort { it.name }
            classMethods.sort { it.metaData.overrideSignature }
            classBlocks.sort { it.name }
            classExtensions.sort { it.pluginId }
            return this
        }
    
        String getStyle() {
            return classMetaData.groovy ? 'groovydoc' : 'javadoc'
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.2K bytes
    - Viewed (0)
  2. pkg/scheduler/profile/profile_test.go

    						},
    						Bind: config.PluginSet{
    							Enabled: []config.Plugin{
    								{Name: "Bind2"},
    							},
    						},
    					},
    				},
    			},
    			wantErr: "different queue sort plugins",
    		},
    		{
    			name: "different queue sort args",
    			cfgs: []config.KubeSchedulerProfile{
    				{
    					SchedulerName: "profile-1",
    					Plugins: &config.Plugins{
    						QueueSort: config.PluginSet{
    							Enabled: []config.Plugin{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 20 09:49:54 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  3. test/fixedbugs/issue57184.go

    // run
    
    // Copyright 2022 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"log"
    	"reflect"
    	"sort"
    )
    
    func main() {
    	const length = 257
    	x := make([]int64, length)
    	for i := 0; i < length; i++ {
    		x[i] = int64(i) * 27644437 % int64(length)
    	}
    
    	isLessStatic := func(i, j int) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 09 21:38:33 UTC 2022
    - 851 bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/mod/sumdb/dirhash/hash.go

    //
    // Hash1 is "h1:" followed by the base64-encoded SHA-256 hash of a summary
    // prepared as if by the Unix command:
    //
    //	sha256sum $(find . -type f | sort) | sha256sum
    //
    // More precisely, the hashed summary contains a single line for each file in the list,
    // ordered by sort.Strings applied to the file names, where each line consists of
    // the hexadecimal SHA-256 hash of the file content,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 10 18:59:52 UTC 2023
    - 4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/labels/labels.go

    func (ls Set) String() string {
    	selector := make([]string, 0, len(ls))
    	for key, value := range ls {
    		selector = append(selector, key+"="+value)
    	}
    	// Sort for determinism.
    	sort.StringSlice(selector).Sort()
    	return strings.Join(selector, ",")
    }
    
    // Has returns whether the provided label exists in the map.
    func (ls Set) Has(label string) bool {
    	_, exists := ls[label]
    	return exists
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 14 16:39:04 UTC 2022
    - 4.5K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java

        List<Entry<K, V>> entries =
            Helpers.copyToList(
                getSubjectGenerator()
                    .getSampleElements(getSubjectGenerator().getCollectionSize().getNumElements()));
        Collections.sort(entries, Helpers.<K, V>entryComparator(navigableMap.comparator()));
    
        // some tests assume SEVERAL == 3
        if (entries.size() >= 1) {
          a = entries.get(0);
          if (entries.size() >= 3) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  7. manifests/addons/dashboards/istio-performance-dashboard.json

            "legend": {
              "calcs": [],
              "displayMode": "list",
              "placement": "bottom",
              "showLegend": true
            },
            "tooltip": {
              "mode": "multi",
              "sort": "none"
            }
          },
          "pluginVersion": "10.1.5",
          "targets": [
            {
              "datasource": {
                "type": "prometheus",
                "uid": "${datasource}"
              },
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 03:47:04 UTC 2024
    - 39.6K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/TestBuildCache.groovy

        }
    
        List<TestFile> listCacheFailedFiles() {
            cacheDir.listFiles().findAll { it.name.endsWith(DirectoryBuildCacheServiceFactory.FAILED_READ_SUFFIX) }.sort()
        }
    
        List<TestFile> listCacheFiles() {
            cacheDir.listFiles().findAll { it.name ==~ /\p{XDigit}{${Hashing.defaultFunction().hexDigits}}/ }.sort()
        }
    
        void deleteCacheEntry(String cacheKey) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/projection/AbstractCollectionModelProjectionTest.groovy

        }
    
        def "can sort within mutate block"() {
            when:
            mutate {
                add 'foo'
                add 'bar'
                add 'baz'
                sort()
            }
    
    
            then:
            def list = registry.realize(collectionPath, collectionType)
            list == checkable(['bar', 'baz', 'foo'])
        }
    
        def "can sort within mutate block using custom comparator"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  10. cmd/kube-apiserver/app/options/globalflags_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package options
    
    import (
    	"flag"
    	"reflect"
    	"sort"
    	"strings"
    	"testing"
    
    	"github.com/spf13/pflag"
    
    	cliflag "k8s.io/component-base/cli/flag"
    	"k8s.io/component-base/cli/globalflag"
    	"k8s.io/component-base/logs"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Sep 30 11:46:49 UTC 2021
    - 1.8K bytes
    - Viewed (0)
Back to top