Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 1,023 for Cmp (0.02 sec)

  1. pkg/apis/flowcontrol/v1beta1/defaults_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package v1beta1
    
    import (
    	"reflect"
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    
    	flowcontrolv1beta1 "k8s.io/api/flowcontrol/v1beta1"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/utils/pointer"
    )
    
    func TestDefaultWithPriorityLevelConfiguration(t *testing.T) {
    	tests := []struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 00:47:58 UTC 2023
    - 3K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/mod_import_toolchain.txt

    env GOTOOLCHAIN=auto
    go mod tidy
    
    cmp stderr tidy-stderr.want
    cmp go.mod go.mod.tidy
    
    cp go.mod.orig go.mod
    env GOTOOLCHAIN=local
    ! go get -v .
    stderr '^go: example.net/b@v0.1.0: module ./b1 requires go >= 1.22.0 \(running go 1.21.0; GOTOOLCHAIN=local\)$'
    env GOTOOLCHAIN=auto
    go get -v .
    cmp stderr get-v-stderr.want
    cmp go.mod go.mod.tidy
    
    cp go.mod.orig go.mod
    env GOTOOLCHAIN=local
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jun 03 21:13:11 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/mod_lazy_test_of_test_dep.txt

    #
    # lazy ---- a.1 ---- b.1 ---- c.1
    
    cp go.mod go.mod.old
    go mod tidy
    cmp go.mod go.mod.old
    
    
    # In Go 1.15 mode, 'go list -m all' includes modules needed by the
    # transitive closure of tests of dependencies of tests of dependencies of ….
    
    go list -m all
    stdout '^example.com/b v0.1.0 '
    stdout '^example.com/c v0.1.0 '
    cmp go.mod go.mod.old
    
    # 'go test' (or equivalent) of any such dependency, no matter how remote, does
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 08 19:32:28 UTC 2021
    - 5.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/api/apitesting/roundtrip/compatibility.go

    */
    
    package roundtrip
    
    import (
    	"bytes"
    	gojson "encoding/json"
    	"io/ioutil"
    	"os"
    	"os/exec"
    	"path/filepath"
    	"reflect"
    	"sort"
    	"strings"
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    
    	apiequality "k8s.io/apimachinery/pkg/api/equality"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/runtime/schema"
    	"k8s.io/apimachinery/pkg/runtime/serializer/json"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 16:38:32 UTC 2023
    - 17.8K bytes
    - Viewed (0)
  5. tools/bug-report/pkg/processlog/processlog_test.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package processlog
    
    import (
    	"path/filepath"
    	"testing"
    	"time"
    
    	"github.com/google/go-cmp/cmp"
    
    	"istio.io/istio/pilot/test/util"
    	"istio.io/istio/pkg/test/env"
    	"istio.io/istio/tools/bug-report/pkg/config"
    )
    
    func TestProcessLogsFormat(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 19 21:44:33 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/modes_test.go

    limitations under the License.
    */
    
    package modes_test
    
    import (
    	"errors"
    	"testing"
    
    	"github.com/fxamacker/cbor/v2"
    	"github.com/google/go-cmp/cmp"
    	"k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes"
    )
    
    var encModeNames = map[cbor.EncMode]string{
    	modes.Encode:                 "Encode",
    	modes.EncodeNondeterministic: "EncodeNondeterministic",
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 18:43:10 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/_gen/386splitload.rules

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // See the top of AMD64splitload.rules for discussion of these rules.
    
    (CMP(L|W|B)load {sym} [off] ptr x mem) => (CMP(L|W|B) (MOV(L|W|B)load {sym} [off] ptr mem) x)
    
    (CMPLconstload {sym} [vo] ptr mem) => (CMPLconst (MOVLload {sym} [vo.Off()] ptr mem) [vo.Val()])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 04 19:35:46 UTC 2022
    - 620 bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/mod_permissions.txt

    # Skip platforms that do not have Unix-style file permissions.
    [GOOS:windows] skip
    [GOOS:plan9] skip
    
    chmod 0640 go.mod
    chmod 0604 go.sum
    go mod edit -module=golang.org/issue/34634
    
    go get
    cmp go.mod go.mod.want
    cmp go.sum go.sum.want
    
    go run .
    stdout 'go.mod: 0640'
    stdout 'go.sum: 0604'
    
    -- read_perm.go --
    package main
    
    import (
    	"fmt"
    	"os"
    	_ "rsc.io/sampler"
    )
    
    func main() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/cmd/reset_test.go

    limitations under the License.
    */
    
    package cmd
    
    import (
    	"fmt"
    	"os"
    	"path/filepath"
    	"strings"
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    	"github.com/google/go-cmp/cmp/cmpopts"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/util/sets"
    
    	kubeadmapi "k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 13:42:50 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/webhook/round_trip_test.go

    */
    
    // Package webhook implements the authorizer.Authorizer interface using HTTP webhooks.
    package webhook
    
    import (
    	"math/rand"
    	"reflect"
    	"testing"
    	"time"
    
    	"github.com/google/go-cmp/cmp"
    	fuzz "github.com/google/gofuzz"
    
    	authenticationv1 "k8s.io/api/authentication/v1"
    	authenticationv1beta1 "k8s.io/api/authentication/v1beta1"
    )
    
    func TestRoundTrip(t *testing.T) {
    	f := fuzz.New()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 2.5K bytes
    - Viewed (0)
Back to top