Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 1,023 for Cmp (0.02 sec)

  1. src/runtime/memclr_arm64.s

    try_zva:
    	// Try using the ZVA feature to zero entire cache lines
    	// It is not meaningful to use ZVA if the block size is less than 64,
    	// so make sure that n is greater than or equal to 64
    	CMP	$63, R1
    	BLE	tail63
    
    	CMP	$128, R1
    	// Ensure n is at least 128 bytes, so that there is enough to copy after
    	// alignment.
    	BLT	no_zva
    	// Check if ZVA is allowed from user code, and if so get the block size
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 18 18:26:13 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  2. src/internal/bytealg/count_arm.s

    //
    // On exit:
    // R4 and R8 are clobbered
    TEXT countbytebody<>(SB),NOSPLIT,$0
    	MOVW	$0, R8	// R8 = count of byte to search
    	CMP	$0, R1
    	B.EQ	done	// short path to handle 0-byte case
    	ADD	R0, R1	// R1 is the end of the range
    byte_loop:
    	MOVBU.P	1(R0), R4
    	CMP	R4, R2
    	ADD.EQ	$1, R8
    	CMP	R0, R1
    	B.NE	byte_loop
    done:
    	MOVW	R8, (R7)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 16:33:10 UTC 2019
    - 917 bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/TreeMultiset.java

          return 0;
        }
        // The cast is safe because we call this method only if hasLowerBound().
        int cmp =
            comparator()
                .compare(uncheckedCastNullableTToT(range.getLowerEndpoint()), node.getElement());
        if (cmp < 0) {
          return aggregateBelowRange(aggr, node.left);
        } else if (cmp == 0) {
          switch (range.getLowerBoundType()) {
            case OPEN:
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 34.6K bytes
    - Viewed (0)
  4. pkg/test/loadbalancersim/lb_test.go

    	sort.SliceStable(sm, func(i, j int) bool {
    		a := sm[i]
    		b := sm[j]
    
    		if cmp := cmpBool(a.hasQueueLatency, b.hasQueueLatency); cmp != 0 {
    			return cmp < 0
    		}
    
    		if cmp := cmpBool(a.hasNetworkLatency, b.hasNetworkLatency); cmp != 0 {
    			return cmp < 0
    		}
    
    		if cmp := strings.Compare(a.topology, b.topology); cmp != 0 {
    			return cmp < 0
    		}
    
    		// Sort algorithm in descending order so "round robin" is first
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 19 23:29:30 UTC 2022
    - 11K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1/defaults_test.go

    limitations under the License.
    */
    
    package v1
    
    import (
    	"testing"
    	"time"
    
    	v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    
    	"github.com/google/go-cmp/cmp"
    )
    
    func TestKMSProviderTimeoutDefaults(t *testing.T) {
    	testCases := []struct {
    		desc string
    		in   *KMSConfiguration
    		want *KMSConfiguration
    	}{
    		{
    			desc: "timeout not supplied",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Dec 18 20:54:24 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  6. pkg/apis/admissionregistration/v1beta1/defaults_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package v1beta1_test
    
    import (
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    
    	v1beta1 "k8s.io/api/admissionregistration/v1beta1"
    	apiequality "k8s.io/apimachinery/pkg/api/equality"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 20 20:24:09 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/kubeopenapi_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package schema
    
    import (
    	"math/rand"
    	"reflect"
    	"testing"
    	"time"
    
    	"github.com/google/go-cmp/cmp"
    	fuzz "github.com/google/gofuzz"
    
    	"k8s.io/apiextensions-apiserver/pkg/apis/apiextensions"
    	apiextensionsv1beta1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1"
    	"k8s.io/apimachinery/pkg/util/json"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:16 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/magic_test.go

    				int64(1)<<(n-1) - 1, -int64(1) << (n - 1),
    			} {
    				X := new(big.Int).SetInt64(x)
    				if X.Cmp(Min) < 0 || X.Cmp(Max) > 0 {
    					continue
    				}
    				Want := new(big.Int).Quo(X, C)
    				Got := new(big.Int).Mul(X, M)
    				Got.Rsh(Got, n+uint(s))
    				if x < 0 {
    					Got.Add(Got, One)
    				}
    				if Want.Cmp(Got) != 0 {
    					t.Errorf("smagic for %d/%d n=%d doesn't work, got=%s, want %s\n", x, c, n, Got, Want)
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 30 22:02:07 UTC 2019
    - 9.1K bytes
    - Viewed (0)
  9. pkg/registry/storage/volumeattachment/strategy_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package volumeattachment
    
    import (
    	"context"
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    	apiequality "k8s.io/apimachinery/pkg/api/equality"
    	"k8s.io/apimachinery/pkg/api/resource"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	genericapirequest "k8s.io/apiserver/pkg/endpoints/request"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/apis/meta/internalversion/scheme/register_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package scheme
    
    import (
    	"net/url"
    	"reflect"
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    	metainternalversion "k8s.io/apimachinery/pkg/apis/meta/internalversion"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    )
    
    func TestListOptions(t *testing.T) {
    	// verify round trip conversion
    	ten := int64(10)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 2.7K bytes
    - Viewed (0)
Back to top