Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 613 for Cmp (0.06 sec)

  1. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/SearchUtil.java

                        int mid = (low + high) >>> 1;
                        T midVal = sortedElements.get(mid);
                        int cmp = key.compareTo(midVal);
    
                        if (cmp > 0) {
                            low = mid + 1;
                        } else if (cmp < 0) {
                            high = mid - 1;
                        } else {
                            return mid; // key found
                        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  2. pkg/apis/admissionregistration/v1/defaults_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package v1_test
    
    import (
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    
    	v1 "k8s.io/api/admissionregistration/v1"
    	apiequality "k8s.io/apimachinery/pkg/api/equality"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/kubernetes/pkg/api/legacyscheme"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/roundtrip_test.go

    limitations under the License.
    */
    
    package modes_test
    
    import (
    	"fmt"
    	"math"
    	"reflect"
    	"testing"
    	"time"
    
    	"github.com/fxamacker/cbor/v2"
    	"github.com/google/go-cmp/cmp"
    )
    
    func nilPointerFor[T interface{}]() *T {
    	return nil
    }
    
    // TestRoundtrip roundtrips object serialization to interface{} and back via CBOR.
    func TestRoundtrip(t *testing.T) {
    	type modePair struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 21:48:12 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  4. pkg/scheduler/apis/config/validation/validation_pluginargs_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package validation
    
    import (
    	"fmt"
    	"strings"
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    	"github.com/google/go-cmp/cmp/cmpopts"
    	v1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/util/errors"
    	"k8s.io/apimachinery/pkg/util/validation/field"
    	"k8s.io/apiserver/pkg/util/feature"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 27.3K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/mod_sumdb_golang.txt

    go list -x -deps rsc.io/quote  # Download module source.
    ! stderr github
    stderr proxy.golang.org/rsc.io/quote
    ! stderr sum.golang.org/tile
    ! stderr sum.golang.org/lookup/rsc.io/quote
    
    cmp go.sum saved.sum
    
    
    # Download again.
    # Should use the checksum database to validate new go.sum lines,
    # but not need to fetch any new data from the proxy.
    
    rm go.sum
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 17 18:25:37 UTC 2023
    - 2K bytes
    - Viewed (0)
  6. pkg/apis/flowcontrol/v1beta2/defaults_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package v1beta2
    
    import (
    	"reflect"
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    
    	flowcontrolv1beta2 "k8s.io/api/flowcontrol/v1beta2"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/utils/pointer"
    )
    
    func TestDefaultWithPriorityLevelConfiguration(t *testing.T) {
    	tests := []struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 00:47:58 UTC 2023
    - 3K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/_gen/ARM.rules

    // absorb InvertFlags into branches
    (LT (InvertFlags cmp) yes no) => (GT cmp yes no)
    (GT (InvertFlags cmp) yes no) => (LT cmp yes no)
    (LE (InvertFlags cmp) yes no) => (GE cmp yes no)
    (GE (InvertFlags cmp) yes no) => (LE cmp yes no)
    (ULT (InvertFlags cmp) yes no) => (UGT cmp yes no)
    (UGT (InvertFlags cmp) yes no) => (ULT cmp yes no)
    (ULE (InvertFlags cmp) yes no) => (UGE cmp yes no)
    (UGE (InvertFlags cmp) yes no) => (ULE cmp yes no)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 17:19:36 UTC 2023
    - 90.1K bytes
    - Viewed (0)
  8. pkg/apis/flowcontrol/v1beta1/defaults_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package v1beta1
    
    import (
    	"reflect"
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    
    	flowcontrolv1beta1 "k8s.io/api/flowcontrol/v1beta1"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/utils/pointer"
    )
    
    func TestDefaultWithPriorityLevelConfiguration(t *testing.T) {
    	tests := []struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 00:47:58 UTC 2023
    - 3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/modes_test.go

    limitations under the License.
    */
    
    package modes_test
    
    import (
    	"errors"
    	"testing"
    
    	"github.com/fxamacker/cbor/v2"
    	"github.com/google/go-cmp/cmp"
    	"k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes"
    )
    
    var encModeNames = map[cbor.EncMode]string{
    	modes.Encode:                 "Encode",
    	modes.EncodeNondeterministic: "EncodeNondeterministic",
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 18:43:10 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/cmd/reset_test.go

    limitations under the License.
    */
    
    package cmd
    
    import (
    	"fmt"
    	"os"
    	"path/filepath"
    	"strings"
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    	"github.com/google/go-cmp/cmp/cmpopts"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/util/sets"
    
    	kubeadmapi "k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 13:42:50 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top