Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 603 for Cmp (0.03 sec)

  1. src/cmd/go.sum

    github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
    github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
    github.com/google/pprof v0.0.0-20240528025155-186aa0362fba h1:ql1qNgCyOB7iAEk8JTNM+zJrgIbnyCKX/wdlyPufP5g=
    github.com/google/pprof v0.0.0-20240528025155-186aa0362fba/go.mod h1:K1liHPHnj73Fdn/EKuT8nrFqBihUSKXoLYU0BuatOYo=
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. src/slices/sort_benchmark_test.go

    // Copyright 2023 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 slices_test
    
    import (
    	"cmp"
    	"fmt"
    	"slices"
    	"strings"
    	"testing"
    )
    
    func BenchmarkBinarySearchFloats(b *testing.B) {
    	for _, size := range []int{16, 32, 64, 128, 512, 1024} {
    		b.Run(fmt.Sprintf("Size%d", size), func(b *testing.B) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 23:39:07 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. src/go/doc/comment/text.go

    	// or phrases begin with a single word on the previous line.
    
    	// A score is the score (also called weight) for a given line.
    	// add and cmp add and compare scores.
    	type score struct {
    		hi int64
    		lo int64
    	}
    	add := func(s, t score) score { return score{s.hi + t.hi, s.lo + t.lo} }
    	cmp := func(s, t score) int {
    		switch {
    		case s.hi < t.hi:
    			return -1
    		case s.hi > t.hi:
    			return +1
    		case s.lo < t.lo:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/MIPS64.rules

    // Absorb boolean tests into block
    (NE (FPFlagTrue cmp) yes no) => (FPT cmp yes no)
    (NE (FPFlagFalse cmp) yes no) => (FPF cmp yes no)
    (EQ (FPFlagTrue cmp) yes no) => (FPF cmp yes no)
    (EQ (FPFlagFalse cmp) yes no) => (FPT cmp yes no)
    (NE (XORconst [1] cmp:(SGT _ _)) yes no) => (EQ cmp yes no)
    (NE (XORconst [1] cmp:(SGTU _ _)) yes no) => (EQ cmp yes no)
    (NE (XORconst [1] cmp:(SGTconst _)) yes no) => (EQ cmp yes no)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 31 03:59:48 UTC 2023
    - 41.9K bytes
    - Viewed (0)
  5. pkg/controlplane/controller/defaultservicecidr/default_servicecidr_controller_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package defaultservicecidr
    
    import (
    	"testing"
    	"time"
    
    	"github.com/google/go-cmp/cmp"
    	networkingapiv1alpha1 "k8s.io/api/networking/v1alpha1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/client-go/informers"
    	"k8s.io/client-go/kubernetes/fake"
    	k8stesting "k8s.io/client-go/testing"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 14 23:31:58 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  6. pkg/apis/batch/v1/defaults_test.go

    				}
    			}
    			if diff := cmp.Diff(expected.Spec.CompletionMode, actual.Spec.CompletionMode); diff != "" {
    				t.Errorf("Unexpected CompletionMode (-want,+got):\n%s", diff)
    			}
    			if diff := cmp.Diff(expected.Spec.PodReplacementPolicy, actual.Spec.PodReplacementPolicy); diff != "" {
    				t.Errorf("Unexpected PodReplacementPolicy (-want,+got):\n%s", diff)
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  7. pkg/scheduler/framework/plugins/schedulinggates/scheduling_gates_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package schedulinggates
    
    import (
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    	"github.com/stretchr/testify/require"
    
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/kubernetes/pkg/scheduler/framework"
    	"k8s.io/kubernetes/pkg/scheduler/framework/plugins/feature"
    	st "k8s.io/kubernetes/pkg/scheduler/testing"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. pkg/apis/core/helper/qos/qos.go

    	for _, container := range allContainers {
    		// process requests
    		for name, quantity := range container.Resources.Requests {
    			if !isSupportedQoSComputeResource(name) {
    				continue
    			}
    			if quantity.Cmp(zeroQuantity) == 1 {
    				delta := quantity.DeepCopy()
    				if _, exists := requests[name]; !exists {
    					requests[name] = delta
    				} else {
    					delta.Add(requests[name])
    					requests[name] = delta
    				}
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 08 04:01:46 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  9. pkg/api/pod/util_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package pod
    
    import (
    	"fmt"
    	"reflect"
    	"strings"
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    	"github.com/stretchr/testify/assert"
    	"github.com/stretchr/testify/require"
    
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/api/resource"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  10. src/internal/bytealg/compare_riscv64.s

    	MOVBU	0(X12), X9
    	BNE	X8, X9, cmp
    	ADD	$1, X10
    	ADD	$1, X12
    	SUB	$1, X5
    	JMP	compare1
    
    	// Compare 8 bytes of memory in X15/X16 that are known to differ.
    cmp8a:
    	MOV	X15, X17
    	MOV	X16, X18
    
    	// Compare 8 bytes of memory in X17/X18 that are known to differ.
    cmp8b:
    	MOV	$0xff, X19
    cmp8_loop:
    	AND	X17, X19, X8
    	AND	X18, X19, X9
    	BNE	X8, X9, cmp
    	SLLI	$8, X19
    	JMP	cmp8_loop
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 13:57:06 UTC 2023
    - 3.9K bytes
    - Viewed (0)
Back to top