Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 3,633 for Sort (0.04 sec)

  1. staging/src/k8s.io/apimachinery/pkg/labels/selector.go

    func parse(selector string, path *field.Path) (internalSelector, error) {
    	p := &Parser{l: &Lexer{s: selector, pos: 0}, path: path}
    	items, err := p.parse()
    	if err != nil {
    		return nil, err
    	}
    	sort.Sort(ByKey(items)) // sort to grant determistic parsing
    	return internalSelector(items), err
    }
    
    func validateLabelKey(k string, path *field.Path) *field.Error {
    	if errs := validation.IsQualifiedName(k); len(errs) != 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Dec 18 04:27:38 UTC 2022
    - 31.8K bytes
    - Viewed (0)
  2. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/DirectoryFileTreeTest.groovy

            def fileTree = new DirectoryFileTree(root, new PatternSet(), TestFiles.fileSystem(), false)
    
            when:
            fileTree.visit(visitor)
    
            then:
            visitor.visited.sort() == [rootFile1, rootFile2, dir1, dirFile1, dirFile2].sort()
    
            where:
            visitor << [new TestVisitor(false), new TestVisitor(true)]
        }
    
        def "walk depth first - isReproducible: #visitor.isReproducibleFileOrder"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/cpumanager/topology_hints_test.go

    		}
    
    		if m.pendingAdmissionPod == nil {
    			t.Errorf("The pendingAdmissionPod should point to the current pod after the call to GetTopologyHints()")
    		}
    
    		sort.SliceStable(hints, func(i, j int) bool {
    			return hints[i].LessThan(hints[j])
    		})
    		sort.SliceStable(tc.expectedHints, func(i, j int) bool {
    			return tc.expectedHints[i].LessThan(tc.expectedHints[j])
    		})
    		if !reflect.DeepEqual(tc.expectedHints, hints) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 19K bytes
    - Viewed (0)
  4. manifests/addons/dashboards/istio-service-dashboard.json

            "legend": {
              "calcs": [],
              "displayMode": "list",
              "placement": "right",
              "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
    - 111.8K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTask.kt

            return Gson().fromJson(jsonString, AcceptedApiChanges::class.java)
        }
    
        /**
         * Sorts the given list of [AcceptedApiChange]s by type and member.
         * <p>
         * This sort ought to remain consistent with the sort used by the [EnrichedReportRenderer].
         */
        @Suppress("KDocUnresolvedReference")
        protected
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. istioctl/pkg/util/configdump/listener.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 configdump
    
    import (
    	"sort"
    
    	admin "github.com/envoyproxy/go-control-plane/envoy/admin/v3"
    	listener "github.com/envoyproxy/go-control-plane/envoy/config/listener/v3"
    
    	v3 "istio.io/istio/pilot/pkg/xds/v3"
    )
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 03 08:41:32 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  7. testing/internal-performance-testing/src/test/groovy/org/gradle/performance/results/report/DefaultPerformanceExecutionDataProviderTest.groovy

        }
    
        def 'can sort scenarios correctly'() {
            when:
            List buildResults = [
                createLowConfidenceRegressedData(),
                createLowConfidenceImprovedData(),
                createHighConfidenceImprovedData(),
                createHighConfidenceRegressedData(),
                createFailedData()
            ]
            buildResults.sort(DefaultPerformanceExecutionDataProvider.SCENARIO_COMPARATOR)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. pkg/proxy/endpointslicecache.go

    				continue
    			}
    			// TODO: handle nil ports to mean "all"
    			if port.Port == nil || *port.Port == int32(0) {
    				klog.ErrorS(nil, "Ignoring invalid endpoint port", "portName", *port.Name)
    				continue
    			}
    
    			svcPortName := ServicePortName{
    				NamespacedName: serviceNN,
    				Port:           *port.Name,
    				Protocol:       *port.Protocol,
    			}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 21:07:21 UTC 2024
    - 11.7K bytes
    - Viewed (1)
  9. platforms/ide/ide-native/src/main/java/org/gradle/ide/xcode/internal/xcodeproj/PBXGroup.java

            return "PBXGroup";
        }
    
        @Override
        public void serializeInto(XcodeprojSerializer s) {
            super.serializeInto(s);
    
            if (sortPolicy == SortPolicy.BY_NAME) {
                Collections.sort(children, new Comparator<PBXReference>() {
                    @Override
                    public int compare(PBXReference o1, PBXReference o2) {
                        return o1.getName().compareTo(o2.getName());
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  10. pkg/channels/unbounded_test.go

     * See the License for the specific language governing permissions and
     * limitations under the License.
     *
     */
    
    package channels
    
    import (
    	"reflect"
    	"sort"
    	"sync"
    	"testing"
    )
    
    const (
    	numWriters = 10
    	numWrites  = 10
    )
    
    // wantReads contains the set of values expected to be read by the reader
    // goroutine in the tests.
    var wantReads []int
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 31 19:53:39 UTC 2022
    - 2.3K bytes
    - Viewed (0)
Back to top