Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 455 for Cmp (0.02 sec)

  1. src/time/mono_test.go

    	}
    
    	cmp("t1", "t1", t1, t1w, t1, t1w, 0, 0)
    	cmp("t1", "t2", t1, t1w, t2, t2w, -1, +1)
    	cmp("t1", "t3", t1, t1w, t3, t3w, -1, 0)
    
    	cmp("t2", "t1", t2, t2w, t1, t1w, +1, -1)
    	cmp("t2", "t2", t2, t2w, t2, t2w, 0, 0)
    	cmp("t2", "t3", t2, t2w, t3, t3w, -1, -1)
    
    	cmp("t3", "t1", t3, t3w, t1, t1w, +1, 0)
    	cmp("t3", "t2", t3, t3w, t2, t2w, +1, +1)
    	cmp("t3", "t3", t3, t3w, t3, t3w, 0, 0)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 19 17:10:49 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  2. src/runtime/time_windows_arm.s

    #include "textflag.h"
    #include "time_windows.h"
    
    TEXT time·now(SB),NOSPLIT,$0-20
    	MOVW	$_INTERRUPT_TIME, R3
    loop:
    	MOVW	time_hi1(R3), R1
    	DMB	MB_ISH
    	MOVW	time_lo(R3), R0
    	DMB	MB_ISH
    	MOVW	time_hi2(R3), R2
    	CMP	R1, R2
    	BNE	loop
    
    	// wintime = R1:R0, multiply by 100
    	MOVW	$100, R2
    	MULLU	R0, R2, (R4, R3)    // R4:R3 = R1:R0 * R2
    	MULA	R1, R2, R4, R4
    
    	// wintime*100 = R4:R3
    	MOVW	R3, mono+12(FP)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 17:19:45 UTC 2023
    - 2K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/mod_exclude_go121.txt

    # go.dev/issue/60028: use semver sort in exclude block in 1.21
    cp $WORK/go.mod.badfmtexclude go.mod
    go mod edit -go=1.20
    cmp go.mod $WORK/go.mod.goodfmtexclude120
    go mod edit -go=1.21
    cmp go.mod $WORK/go.mod.goodfmtexclude121
    
    -- $WORK/go.mod.badfmtexclude --
    module     x.x/y/z
    exclude  (
    	x.1   v1.11.0
    	x.1    v1.10.0
    	x.1     v1.9.0
    )
    -- $WORK/go.mod.goodfmtexclude120 --
    module x.x/y/z
    
    go 1.20
    
    exclude (
    	x.1 v1.10.0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 17 17:26:48 UTC 2023
    - 563 bytes
    - Viewed (0)
  4. pkg/scheduler/util/assumecache/assume_cache_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package assumecache
    
    import (
    	"fmt"
    	"slices"
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    	"github.com/google/go-cmp/cmp/cmpopts"
    
    	"k8s.io/apimachinery/pkg/api/meta"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/client-go/tools/cache"
    	"k8s.io/kubernetes/test/utils/ktesting"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/mod_lazy_new_import.txt

    #
    # lazy ---- a.1 ---- b.1
    #              \
    #               c.1
    
    
    cp go.mod go.mod.old
    cp lazy.go lazy.go.old
    go mod tidy
    cmp go.mod go.mod.old
    
    # Before adding a new import, the go.mod file should
    # enumerate modules for all packages already imported.
    go list all
    cmp go.mod go.mod.old
    
    # When we add a new import of a package in an existing dependency,
    # and that dependency is already tidy, its transitive dependencies
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 27 23:27:52 UTC 2021
    - 3K bytes
    - Viewed (0)
  6. pkg/apis/admissionregistration/v1alpha1/defaults_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package v1alpha1_test
    
    import (
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    
    	v1alpha1 "k8s.io/api/admissionregistration/v1alpha1"
    	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 16:30:09 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/mod_build_trimpath_issue48557.txt

    cd bar
    go build -x -o a.exe main.go
    ! stderr ${/}compile$GOEXE
    
    go tool buildid a.exe
    cp stdout ../bar-buildid.txt
    go version a.exe
    cp stdout ../bar-version.txt
    cd ..
    
    cmp bar-buildid.txt foo-buildid.txt
    cmp bar-version.txt foo-version.txt
    cmp bar/a.exe foo/a.exe
    
    
    -- $WORK/tmp/foo/main.go --
    package main
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 06 16:46:09 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/vcstest/git/issue47650.txt

    git add cmd
    git commit -m 'add cmd/issue47650'
    git branch -m main
    git tag v0.1.0
    
    git add go.mod
    git commit -m 'add go.mod'
    
    git show-ref --tags --heads
    cmp stdout .git-refs
    
    git log --oneline --decorate=short
    cmp stdout .git-log
    
    -- .git-refs --
    21535ef346c3e79fd09edd75bd4725f06c828e43 refs/heads/main
    4d237df2dbfc8a443af2f5e84be774f08a2aed0c refs/tags/v0.1.0
    -- .git-log --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 12 16:13:43 UTC 2023
    - 845 bytes
    - Viewed (0)
  9. 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)
  10. pkg/scheduler/framework/plugins/defaultbinder/default_binder_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package defaultbinder
    
    import (
    	"context"
    	"errors"
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    	v1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/client-go/kubernetes/fake"
    	clienttesting "k8s.io/client-go/testing"
    	"k8s.io/klog/v2/ktesting"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 23 02:17:34 UTC 2023
    - 2.6K bytes
    - Viewed (0)
Back to top