Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 439 for test_0 (0.21 sec)

  1. istioctl/pkg/authz/analyzer_test.go

    	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
    
    	"istio.io/istio/istioctl/pkg/util/configdump"
    )
    
    func TestNewAnalyzer(t *testing.T) {
    	tests := []struct {
    		name    string
    		input   *configdump.Wrapper
    		wantErr error
    	}{
    		{
    			name: "Test1",
    			input: &configdump.Wrapper{
    				ConfigDump: &envoy_admin.ConfigDump{
    					Configs: []*anypb.Any{
    						{
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sun Apr 21 17:42:54 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  2. tests/tests_test.go

    package tests_test
    
    import (
    	"log"
    	"math/rand"
    	"os"
    	"path/filepath"
    	"time"
    
    	"gorm.io/driver/mysql"
    	"gorm.io/driver/postgres"
    	"gorm.io/driver/sqlite"
    	"gorm.io/driver/sqlserver"
    	"gorm.io/gorm"
    	"gorm.io/gorm/logger"
    	. "gorm.io/gorm/utils/tests"
    )
    
    var DB *gorm.DB
    var (
    	mysqlDSN     = "gorm:gorm@tcp(localhost:9910)/gorm?charset=utf8&parseTime=True&loc=Local"
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Dec 15 08:36:08 GMT 2023
    - 3.3K bytes
    - Viewed (1)
  3. src/bytes/boundary_test.go

    //
    //go:build linux
    
    package bytes_test
    
    import (
    	. "bytes"
    	"syscall"
    	"testing"
    )
    
    // This file tests the situation where byte operations are checking
    // data very near to a page boundary. We want to make sure those
    // operations do not read across the boundary and cause a page
    // fault where they shouldn't.
    
    // These tests run only on linux. The code being tested is
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 30 20:05:58 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  4. src/archive/zip/reader_test.go

    	}
    }
    
    func TestFS(t *testing.T) {
    	for _, test := range []struct {
    		file string
    		want []string
    	}{
    		{
    			"testdata/unix.zip",
    			[]string{"hello", "dir/bar", "readonly"},
    		},
    		{
    			"testdata/subdir.zip",
    			[]string{"a/b/c"},
    		},
    	} {
    		test := test
    		t.Run(test.file, func(t *testing.T) {
    			t.Parallel()
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  5. cmd/metacache-entries_test.go

    "src/compress/flate/token.go", "src/compress/flate/writer_test.go", "src/compress/gzip/example_test.go", "src/compress/gzip/gunzip.go", "src/compress/gzip/gunzip_test.go", "src/compress/gzip/gzip.go", "src/compress/gzip/gzip_test.go", "src/compress/gzip/issue14937_test.go", "src/compress/gzip/testdata/issue6550.gz.base64", "src/compress/lzw/reader.go", "src/compress/lzw/reader_test.go", "src/compress/lzw/writer.go", "src/compress/lzw/writer_test.go", "src/compress/testdata/e.txt", "src/compress/test...
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 31.6K bytes
    - Viewed (0)
  6. tests/query_test.go

    package tests_test
    
    import (
    	"database/sql"
    	"database/sql/driver"
    	"fmt"
    	"reflect"
    	"regexp"
    	"sort"
    	"strconv"
    	"strings"
    	"testing"
    	"time"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/clause"
    	. "gorm.io/gorm/utils/tests"
    )
    
    func TestFind(t *testing.T) {
    	users := []User{
    		*GetUser("find", Config{}),
    		*GetUser("find", Config{}),
    		*GetUser("find", Config{}),
    	}
    
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Thu Apr 25 12:22:53 GMT 2024
    - 49.8K bytes
    - Viewed (0)
  7. cmd/site-replication_test.go

    			[]string{},
    		},
    		// Test3: not currently under site replication.
    		{
    			[]madmin.PeerInfo{},
    			set.CreateStringSet(),
    			set.CreateStringSet("dep1", "dep2", "dep3", "dep4"),
    			[]string{},
    		},
    	}
    
    	for i, tc := range testCases {
    		names := getMissingSiteNames(tc.oldDepIDs, tc.newDepIDs, tc.currSites)
    		if len(names) != len(tc.expNames) {
    			t.Errorf("Test %d: Expected `%v`, got `%v`", i+1, tc.expNames, names)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jun 20 00:53:08 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  8. cmd/perf-tests.go

    Harshavardhana <******@****.***> 1706465057 -0800
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Jan 28 18:04:17 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  9. internal/crypto/metadata.go

    // information - e.g. the SSE-C key - from the metadata map.
    // It has the same semantics as RemoveSensitiveHeaders.
    func RemoveSensitiveEntries(metadata map[string]string) { // The functions is tested in TestRemoveSensitiveHeaders for compatibility reasons
    	delete(metadata, xhttp.AmzServerSideEncryptionCustomerKey)
    	delete(metadata, xhttp.AmzServerSideEncryptionCopyCustomerKey)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  10. internal/bucket/object/lock/lock.go

    	Mode    RetMode  `xml:"Mode"`
    	Days    *uint64  `xml:"Days"`
    	Years   *uint64  `xml:"Years"`
    }
    
    // Maximum support retention days and years supported by AWS S3.
    const (
    	// This tested by using `mc lock` command
    	maximumRetentionDays  = 36500
    	maximumRetentionYears = 100
    )
    
    // UnmarshalXML - decodes XML data.
    func (dr *DefaultRetention) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 17.1K bytes
    - Viewed (0)
Back to top