- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 1,023 for Cmp (0.03 sec)
-
src/cmd/go/testdata/script/work_vendor_prune.txt
# This test exercises that vendoring works properly using the workspace in the # the work_prune test case. go work vendor cmp vendor/modules.txt modules.txt.want cmp vendor/example.com/b/b.go b/b.go cmp vendor/example.com/q/q.go q1_1_0/q.go go list -m -f '{{.Version}}' example.com/q stdout '^v1.1.0$' go list -f '{{.Dir}}' example.com/q stdout $GOPATH[\\/]src[\\/]vendor[\\/]example.com[\\/]q go list -f '{{.Dir}}' example.com/b
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 11 01:59:23 UTC 2023 - 1.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/testing/helpers.go
See the License for the specific language governing permissions and limitations under the License. */ package testing import ( "context" "reflect" "testing" "github.com/google/go-cmp/cmp" apiequality "k8s.io/apimachinery/pkg/api/equality" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apiserver/pkg/admission" )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:48:03 UTC 2023 - 2.7K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_require_exclude.txt
! stdout '^rsc.io/sampler v1.99.99' cmp go.mod go.mod.orig ! go list -mod=vendor -m rsc.io/sampler stderr '^go: ignoring requirement on excluded version rsc.io/sampler v1\.99\.99$' stderr '^go: updates to go.mod needed, disabled by -mod=vendor; to update it:\n\tgo mod tidy$' ! stdout '^rsc.io/sampler v1.99.99' cmp go.mod go.mod.orig # The failure message should be clear when -mod=vendor is implicit.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 14 15:02:11 UTC 2021 - 2.7K bytes - Viewed (0) -
pkg/util/iptree/iptree_test.go
limitations under the License. */ package iptree import ( "math/rand" "net/netip" "reflect" "sort" "testing" "time" "github.com/google/go-cmp/cmp" "k8s.io/apimachinery/pkg/util/sets" ) func Test_InsertGetDelete(t *testing.T) { testCases := []struct { name string prefix netip.Prefix }{ { name: "ipv4",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 21:05:04 UTC 2023 - 17.8K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/mapper_test.go
See the License for the specific language governing permissions and limitations under the License. */ package runtime import ( "reflect" "testing" "github.com/google/go-cmp/cmp" "k8s.io/apimachinery/pkg/runtime/schema" ) func TestResourceMapper(t *testing.T) { gvr := func(g, v, r string) schema.GroupVersionResource { return schema.GroupVersionResource{Group: g, Version: v, Resource: r}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:48:03 UTC 2023 - 6.7K bytes - Viewed (0) -
src/internal/bytealg/indexbyte_arm.s
// R1: data length // R2: byte to find // R5: address to put result TEXT indexbytebody<>(SB),NOSPLIT,$0-0 MOVW R0, R4 // store base for later ADD R0, R1 // end loop: CMP R0, R1 B.EQ notfound MOVBU.P 1(R0), R3 CMP R2, R3 B.NE loop SUB $1, R0 // R0 will be one beyond the position we want SUB R4, R0 // remove base MOVW R0, (R5) RET notfound: MOVW $-1, R0 MOVW R0, (R5)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 18 07:37:13 UTC 2019 - 951 bytes - Viewed (0) -
src/cmd/go/testdata/script/work_goproxy_off.txt
go work use . ./sub # Verify that the go.mod files for both modules in the workspace are tidy, # and add missing go.sum entries as needed. cp go.mod go.mod.orig go mod tidy cmp go.mod go.mod.orig cd sub cp go.mod go.mod.orig go mod tidy cmp go.mod go.mod.orig cd .. go list -m all stdout '^rsc\.io/quote v1\.5\.1$' stdout '^rsc\.io/sampler v1\.3\.1$' # Now remove the module dependencies from the module cache.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 14 19:05:09 UTC 2022 - 1.2K bytes - Viewed (0) -
src/runtime/sys_openbsd_arm64.s
CALL libc_mmap(SB) MOVD $0, R1 CMP $-1, R0 BNE noerr CALL libc_errno(SB) MOVW (R0), R1 // errno MOVD $0, R0 noerr: MOVD R0, 32(R19) MOVD R1, 40(R19) RET TEXT runtime·munmap_trampoline(SB),NOSPLIT,$0 MOVD 8(R0), R1 // arg 2 - len MOVD 0(R0), R0 // arg 1 - addr CALL libc_munmap(SB) CMP $-1, R0 BNE 3(PC) MOVD $0, R0 // crash on failure
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 06 18:49:01 UTC 2023 - 15.1K bytes - Viewed (0) -
src/cmd/go/testdata/vcstest/git/issue61415.txt
git branch -m main git tag has-nested at 2023-11-14T13:00:01-05:00 git rm -r nested git commit -m 'nested: delete subdirectory' git show-ref --tags --heads cmp stdout .git-refs git log --pretty=oneline cmp stdout .git-log -- .git-refs -- f213069baa68ec26412fb373c7cf6669db1f8e69 refs/heads/main 08a4fa6bb9c04ffba03b26ae427b0d6335d90a2a refs/tags/has-nested -- .git-log --
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 16 22:15:45 UTC 2023 - 928 bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_lazy_import_allmod.txt
cp go.mod go.mod.orig go mod tidy cmp go.mod.orig go.mod go list -m all stdout '^a v0.1.0 ' stdout '^b v0.1.0 ' stdout '^c v0.1.0 ' # After adding a new import of b/y, # the import of c from b/y should resolve to the version required by b. cp m.go m.go.orig cp m.go.new m.go go mod tidy cmp go.mod.new go.mod go list -m all stdout '^a v0.1.0 ' stdout '^b v0.1.0 '
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 17 13:54:10 UTC 2021 - 3.1K bytes - Viewed (0)