Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 603 for Cmp (0.04 sec)

  1. pkg/registry/core/persistentvolumeclaim/strategy_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package persistentvolumeclaim
    
    import (
    	"fmt"
    	"reflect"
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    	genericapirequest "k8s.io/apiserver/pkg/endpoints/request"
    	utilfeature "k8s.io/apiserver/pkg/util/feature"
    	featuregatetesting "k8s.io/component-base/featuregate/testing"
    	apitesting "k8s.io/kubernetes/pkg/api/testing"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/nodeports/node_ports_test.go

    limitations under the License.
    */
    
    package nodeports
    
    import (
    	"fmt"
    	"reflect"
    	"strconv"
    	"strings"
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    	"github.com/stretchr/testify/require"
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/klog/v2/ktesting"
    	_ "k8s.io/klog/v2/ktesting/init"
    	"k8s.io/kubernetes/pkg/scheduler/framework"
    	st "k8s.io/kubernetes/pkg/scheduler/testing"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 19 11:02:11 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  3. pkg/registry/certificates/certificates/strategy_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package certificates
    
    import (
    	"context"
    	"reflect"
    	"testing"
    	"time"
    
    	"github.com/google/go-cmp/cmp"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apiserver/pkg/authentication/user"
    	genericapirequest "k8s.io/apiserver/pkg/endpoints/request"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 14:34:53 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. pkg/api/persistentvolume/util_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package persistentvolume
    
    import (
    	"reflect"
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/util/sets"
    	utilfeature "k8s.io/apiserver/pkg/util/feature"
    	featuregatetesting "k8s.io/component-base/featuregate/testing"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/work_vendor_prune_all.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
    go list -f '{{with .Module}}{{.Path}}@{{.Version}}{{end}}' all
    cmp stdout want_versions
    
    go list -f '{{.Dir}}' example.com/q
    stdout $GOPATH[\\/]src[\\/]vendor[\\/]example.com[\\/]q
    go list -f '{{.Dir}}' example.com/b
    stdout $GOPATH[\\/]src[\\/]vendor[\\/]example.com[\\/]b
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 11 01:59:23 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  6. pkg/apis/flowcontrol/v1beta3/defaults_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package v1beta3
    
    import (
    	"reflect"
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    
    	flowcontrolv1beta3 "k8s.io/api/flowcontrol/v1beta3"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/utils/pointer"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 22:22:51 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/util/cache/lruexpirecache_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package cache
    
    import (
    	"testing"
    	"time"
    
    	"github.com/google/go-cmp/cmp"
    	testingclock "k8s.io/utils/clock/testing"
    )
    
    func expectEntry(t *testing.T, c *LRUExpireCache, key interface{}, value interface{}) {
    	t.Helper()
    	result, ok := c.Get(key)
    	if !ok || result != value {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:48 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  8. src/runtime/race_ppc64le.s

    	MOVD	runtime·racearenastart(SB), R9
    	CMP	R4, R9
    	BLT	data
    	MOVD	runtime·racearenaend(SB), R9
    	CMP	R4, R9
    	BLT	call
    data:
    	MOVD	runtime·racedatastart(SB), R9
    	CMP	R4, R9
    	BLT	ret
    	MOVD	runtime·racedataend(SB), R9
    	CMP	R4, R9
    	BGT	ret
    call:
    	// Careful!! racecall will save LR on its
    	// stack, which is OK as long as racecalladdr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 17K bytes
    - Viewed (0)
  9. src/crypto/dsa/dsa.go

    func Verify(pub *PublicKey, hash []byte, r, s *big.Int) bool {
    	// FIPS 186-3, section 4.7
    
    	if pub.P.Sign() == 0 {
    		return false
    	}
    
    	if r.Sign() < 1 || r.Cmp(pub.Q) >= 0 {
    		return false
    	}
    	if s.Sign() < 1 || s.Cmp(pub.Q) >= 0 {
    		return false
    	}
    
    	w := new(big.Int).ModInverse(s, pub.Q)
    	if w == nil {
    		return false
    	}
    
    	n := pub.Q.BitLen()
    	if n%8 != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/work_vendor_modules_txt_conditional.txt

    # mode if the modules.txt specifies ## workspace (and only in
    # standard vendor if it doesn't).
    
    # vendor directory produced for workspace, workspace mode
    # runs in mod=vendor
    go work vendor
    cmp vendor/modules.txt want_workspace_modules_txt
    go list -f {{.Dir}} example.com/b
    stdout $GOPATH[\\/]src[\\/]vendor[\\/]example.com[\\/]b
    
    # vendor directory produced for workspace, module mode
    # runs in mod=readonly
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 11 01:59:23 UTC 2023
    - 1.4K bytes
    - Viewed (0)
Back to top