- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 1,023 for Cmp (0.02 sec)
-
pkg/controlplane/apiserver/options/options_test.go
See the License for the specific language governing permissions and limitations under the License. */ package options import ( "reflect" "testing" "time" "github.com/google/go-cmp/cmp" "github.com/google/go-cmp/cmp/cmpopts" "github.com/spf13/pflag" noopoteltrace "go.opentelemetry.io/otel/trace/noop" "k8s.io/apiserver/pkg/admission" apiserveroptions "k8s.io/apiserver/pkg/server/options"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 17:57:37 UTC 2024 - 10.7K bytes - Viewed (0) -
pkg/kubelet/kubelet_server_journal_test.go
limitations under the License. */ package kubelet import ( "net/url" "reflect" "runtime" "strings" "testing" "time" "github.com/google/go-cmp/cmp" "github.com/google/go-cmp/cmp/cmpopts" "github.com/stretchr/testify/assert" ) func Test_getLoggingCmd(t *testing.T) { tests := []struct { name string args nodeLogQuery wantLinux []string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 10 22:27:44 UTC 2023 - 8.3K bytes - Viewed (0) -
src/crypto/ecdsa/boring.go
} func publicKeyEqual(k1, k2 *PublicKey) bool { return k1.X != nil && k1.Curve.Params() == k2.Curve.Params() && k1.X.Cmp(k2.X) == 0 && k1.Y.Cmp(k2.Y) == 0 } func privateKeyEqual(k1, k2 *PrivateKey) bool { return publicKeyEqual(&k1.PublicKey, &k2.PublicKey) && k1.D.Cmp(k2.D) == 0 } func copyPublicKey(k *PublicKey) PublicKey { return PublicKey{ Curve: k.Curve, X: new(big.Int).Set(k.X),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 18 00:30:19 UTC 2022 - 2.7K bytes - Viewed (0) -
pkg/apis/flowcontrol/v1/defaults_test.go
See the License for the specific language governing permissions and limitations under the License. */ package v1 import ( "reflect" "testing" "github.com/google/go-cmp/cmp" flowcontrolv1 "k8s.io/api/flowcontrol/v1" "k8s.io/apimachinery/pkg/runtime" "k8s.io/utils/ptr" ) func TestDefaultWithPriorityLevelConfiguration(t *testing.T) { tests := []struct { name string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 12:18:40 UTC 2023 - 4.8K bytes - Viewed (0) -
pkg/kubelet/pod_workers_test.go
limitations under the License. */ package kubelet import ( "context" "reflect" "strconv" "sync" "testing" "time" "github.com/google/go-cmp/cmp" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" v1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/types" "k8s.io/apimachinery/pkg/util/sets"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 75.6K bytes - Viewed (0) -
src/slices/sort_test.go
} } func TestBinarySearchFunc(t *testing.T) { data := []int{1, 10, 11, 2} // sorted lexicographically cmp := func(a int, b string) int { return strings.Compare(strconv.Itoa(a), b) } pos, found := BinarySearchFunc(data, "2", cmp) if pos != 3 || !found { t.Errorf("BinarySearchFunc(%v, %q, cmp) = %v, %v, want %v, %v", data, "2", pos, found, 3, true) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 09 19:20:55 UTC 2024 - 9.5K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_get_downup_indirect.txt
cp go.mod go.mod.orig go mod tidy cmp go.mod.orig go.mod # Downgrading d to version 1 downgrades b, which upgrades c. go get example.com/d@v0.1.0 go list -m all stdout '^example.com/b v0.1.0 ' stdout '^example.com/c v0.2.0 ' stdout '^example.com/d v0.1.0 ' cmp go.mod go.mod.down1 # Restoring c to version 1 upgrades d to meet c's requirements.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 17 13:05:03 UTC 2023 - 2.7K bytes - Viewed (0) -
cluster/gce/gci/append_or_replace_prefixed_line_test.go
See the License for the specific language governing permissions and limitations under the License. */ package gci import ( "fmt" "os" "os/exec" "testing" "github.com/google/go-cmp/cmp" ) func TestAppendOrReplacePrefix(t *testing.T) { testCases := []struct { desc string prefix string suffix string initialFileContents string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Oct 30 06:23:50 UTC 2021 - 4K bytes - Viewed (0) -
src/cmd/go/testdata/script/build_dash_x.txt
go build runtime/cgo go build -x -o main main.go cp stderr commands.txt cat header.txt commands.txt cp stdout test.sh exec ./main cmp stderr hello.txt rm ./main exec /usr/bin/env bash -x test.sh exec ./main cmp stderr hello.txt grep '^WORK=(.*)\n' commands.txt -- main.go -- package main import "C" func main() { print("hello\n") } -- header.txt --
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:18:10 UTC 2022 - 1.1K bytes - Viewed (0) -
src/runtime/rt0_linux_ppc64le.s
// initialized, and R3/R4 are undefined. MOVD (R1), R12 CMP R12, $0 BEQ tls_and_argcv_in_reg // Arguments are passed via the stack (musl loader or a static binary) MOVD 0(R1), R3 // argc ADD $8, R1, R4 // argv // Did the TLS pointer get set? If so, don't change it (e.g musl). CMP R13, $0 BNE tls_and_argcv_in_reg MOVD $runtimeĀ·m0+m_tls(SB), R13 // TLS ADD $0x7000, R13
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 18:17:17 UTC 2024 - 2.9K bytes - Viewed (0)