Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 279 for generator (0.15 sec)

  1. internal/grid/debugmsg_string.go

    // Code generated by "stringer -type=debugMsg debug.go"; DO NOT EDIT.
    
    package grid
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[debugShutdown-0]
    	_ = x[debugKillInbound-1]
    	_ = x[debugKillOutbound-2]
    	_ = x[debugWaitForExit-3]
    	_ = x[debugSetConnPingDuration-4]
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 09 16:43:38 GMT 2024
    - 993 bytes
    - Viewed (0)
  2. internal/bucket/lifecycle/action_string.go

    // Code generated by "stringer -type Action lifecycle.go"; DO NOT EDIT.
    
    package lifecycle
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[NoneAction-0]
    	_ = x[DeleteAction-1]
    	_ = x[DeleteVersionAction-2]
    	_ = x[TransitionAction-3]
    	_ = x[TransitionVersionAction-4]
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  3. internal/crypto/doc.go

    //     Output: object_data
    //
    // ### SSE-S3 and KMS
    //
    // SSE-S3 requires that the KMS provides two functions:
    //
    //  1. Generate(KeyID) -> (Key, EncKey)
    //
    //  2. Unseal(KeyID, EncKey) -> Key
    //
    //  1. Encrypt:
    //     Input: KeyID, bucket, object, metadata, object_data
    //     -     Key, EncKey := Generate(KeyID)
    //     -              IV := Random({0,1}²⁵⁶)
    //     -       ObjectKey := SHA256(Key, Random({0,1}²⁵⁶))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Aug 26 19:52:29 GMT 2022
    - 5K bytes
    - Viewed (0)
  4. istioctl/pkg/workload/workload_test.go

    // proxyMetadata is nil, no metadata would be generated at all.
    func TestWorkloadEntryConfigureNilProxyMetadata(t *testing.T) {
    	testdir := "testdata/vmconfig-nil-proxy-metadata"
    	noClusterID := "failed to automatically determine the --clusterID"
    
    	t.Cleanup(func() {
    		for k := range generated {
    			os.Remove(path.Join(testdir, k))
    		}
    	})
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Mar 27 16:59:05 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  5. cmd/test-utils_test.go

    	globalEventNotifier.InitBucketTargets(ctx, objLayer)
    
    	return testServer
    }
    
    // testServerCertPEM and testServerKeyPEM are generated by
    //  https://golang.org/src/crypto/tls/generate_cert.go
    //    $ go run generate_cert.go -ca --host 127.0.0.1
    // The generated certificate contains IP SAN, that way we don't need
    // to enable InsecureSkipVerify in TLS config
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  6. operator/cmd/mesh/manifest_shared_test.go

    	"istio.io/istio/pkg/config/constants"
    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/log"
    )
    
    // cmdType is one of the commands used to generate and optionally apply a manifest.
    type cmdType string
    
    const (
    	// istioctl manifest generate
    	cmdGenerate cmdType = "istioctl manifest generate"
    	// istioctl install
    	cmdApply cmdType = "istioctl install"
    	// in-cluster controller
    	cmdController cmdType = "operator controller"
    )
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Feb 20 22:39:28 GMT 2024
    - 11.7K bytes
    - Viewed (1)
  7. tests/postgres_test.go

    	}
    }
    
    type Post struct {
    	ID         uuid.UUID `gorm:"primary_key;type:uuid;default:uuid_generate_v4();"`
    	Title      string
    	Categories []*Category `gorm:"Many2Many:post_categories"`
    }
    
    type Category struct {
    	ID    uuid.UUID `gorm:"primary_key;type:uuid;default:uuid_generate_v4();"`
    	Title string
    	Posts []*Post `gorm:"Many2Many:post_categories"`
    }
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Sat Oct 08 09:16:32 GMT 2022
    - 6.4K bytes
    - Viewed (3)
  8. logger/sql.go

    		return true
    	case reflect.Float32, reflect.Float64:
    		return true
    	default:
    		return false
    	}
    }
    
    // ExplainSQL generate SQL string with given parameters, the generated SQL is expected to be used in logger, execute it might introduce a SQL injection vulnerability
    func ExplainSQL(sql string, numericPlaceholder *regexp.Regexp, escaper string, avars ...interface{}) string {
    	var (
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Mar 21 08:00:02 GMT 2024
    - 5K bytes
    - Viewed (0)
  9. operator/cmd/mesh/manifest-diff.go

    )
    
    // YAMLSuffix is the suffix of a YAML file.
    const YAMLSuffix = ".yaml"
    
    type manifestDiffArgs struct {
    	// compareDir indicates comparison between directory.
    	compareDir bool
    	// verbose generates verbose output.
    	verbose bool
    	// selectResources constrains the list of resources to compare to only the ones in this list, ignoring all others.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  10. cmd/server_test.go

    	var buffer bytes.Buffer
    	// data to be written into buffer.
    	data := "1234567890"
    	// seed the random number generator once.
    	rand.Seed(3)
    	// generate a random number between 13 and 200.
    	randInt := getRandomRange(13, 200, -1)
    	// write into buffer till length of the buffer is greater than the generated random number.
    	for i := 0; i <= randInt; i += 10 {
    		buffer.WriteString(data)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
Back to top