- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 1,023 for Cmp (0.02 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) -
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/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) -
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/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) -
tools/bug-report/pkg/config/config_test.go
// See the License for the specific language governing permissions and // limitations under the License. package config import ( "bytes" "reflect" "testing" "time" "github.com/google/go-cmp/cmp" "github.com/kr/pretty" "sigs.k8s.io/yaml" ) func TestUnmarshalKubeCaptureConfig(t *testing.T) { config := ` kubeConfigPath: a/b/c context: d istioNamespace: e1 dryRun: true fullSecrets: true
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Dec 15 15:19:50 UTC 2021 - 4.4K bytes - Viewed (0) -
src/math/big/nat_test.go
z = x case "aliasY": z = y } z = z.subMod2N(x, y, tt.n) if z.cmp(want) != 0 { t.Fatalf("subMod2N(%d, %d, %d) = %d, want %d", x0, y0, tt.n, z, want) } if mode != "aliasX" && x.cmp(x0) != 0 { t.Fatalf("subMod2N(%d, %d, %d) modified x", x0, y0, tt.n) } if mode != "aliasY" && y.cmp(y0) != 0 { t.Fatalf("subMod2N(%d, %d, %d) modified y", x0, y0, tt.n) } } })
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 09 15:29:36 UTC 2024 - 26.2K 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) -
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)