Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for Song (0.17 sec)

  1. internal/config/config_test.go

    		},
    		// Keys and input order of k=v is same.
    		{
    			input: `connection_string="host=localhost port=2832" comment="really long comment"`,
    			keys:  []string{"connection_string", "comment"},
    			expectedFields: map[string]struct{}{
    				`connection_string="host=localhost port=2832"`: {},
    				`comment="really long comment"`:                {},
    			},
    		},
    		// Keys with spaces in between
    		{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Aug 18 22:55:17 GMT 2022
    - 4.2K bytes
    - Viewed (0)
  2. misc/cgo/gmp/gmp.go

    // gmp 5.0.0+ changed the type of the 3rd argument to mp_bitcnt_t,
    // so, to support older versions, we wrap these two functions.
    void _mpz_mul_2exp(mpz_ptr a, mpz_ptr b, unsigned long n) {
    	mpz_mul_2exp(a, b, n);
    }
    void _mpz_div_2exp(mpz_ptr a, mpz_ptr b, unsigned long n) {
    	mpz_div_2exp(a, b, n);
    }
    */
    import "C"
    
    import (
    	"os"
    	"unsafe"
    )
    
    /*
     * one of a kind
     */
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 9.5K bytes
    - Viewed (0)
  3. internal/config/compress/legacy.go

    )
    
    // Legacy envs.
    const (
    	EnvCompress                 = "MINIO_COMPRESS"
    	EnvCompressMimeTypesLegacy1 = "MINIO_COMPRESS_MIMETYPES"
    
    	// These envs were wrong but we supported them for a long time
    	// so keep them here to support existing deployments.
    	EnvCompressAllowEncryptionLegacy = "MINIO_COMPRESS_ALLOW_ENCRYPTION"
    	EnvCompressExtensionsLegacy      = "MINIO_COMPRESS_EXTENSIONS"
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Jul 17 15:43:14 GMT 2022
    - 1.8K bytes
    - Viewed (0)
  4. internal/arn/arn.go

    	Service      string
    	Region       string
    	ResourceType string
    	ResourceID   string
    }
    
    // Allows english letters, numbers, '.', '-', '_' and '/'. Starts with a
    // letter or digit. At least 1 character long.
    var validResourceIDRegex = regexp.MustCompile(`[A-Za-z0-9_/\.-]+$`)
    
    // NewIAMRoleARN - returns an ARN for a role in MinIO.
    func NewIAMRoleARN(resourceID, serverRegion string) (ARN, error) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 08:31:34 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  5. operator/cmd/mesh/operator-remove.go

    }
    
    func operatorRemoveCmd(ctx cli.Context, rootArgs *RootArgs, orArgs *operatorRemoveArgs) *cobra.Command {
    	return &cobra.Command{
    		Use:   "remove",
    		Short: "Removes the Istio operator controller from the cluster.",
    		Long:  "The remove subcommand removes the Istio operator controller from the cluster.",
    		Args: func(cmd *cobra.Command, args []string) error {
    			if orArgs.revision == "" && !orArgs.purge {
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  6. internal/lock/lock_windows_test.go

    		{`C:\`, `C:\`},
    		{`C:`, `C:`},
    		// The "long" substring is replaced by a looooooong
    		// string which triggers the rewriting. Except in the
    		// cases below where it doesn't.
    		{`C:\long\foo.txt`, `\\?\C:\long\foo.txt`},
    		{`C:/long/foo.txt`, `\\?\C:\long\foo.txt`},
    		{`C:\long\foo\\bar\.\baz\\`, `\\?\C:\long\foo\bar\baz`},
    		{`\\unc\path`, `\\unc\path`},
    		{`long.txt`, `long.txt`},
    		{`C:long.txt`, `C:long.txt`},
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Oct 18 18:08:15 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  7. istioctl/pkg/authz/authz.go

    )
    
    var configDumpFile string
    
    func checkCmd(ctx cli.Context) *cobra.Command {
    	cmd := &cobra.Command{
    		Use:   "check [<type>/]<name>[.<namespace>]",
    		Short: "Check AuthorizationPolicy applied in the pod.",
    		Long: `Check prints the AuthorizationPolicy applied to a pod by directly checking
    the Envoy configuration of the pod. The command is especially useful for inspecting
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 5K bytes
    - Viewed (0)
  8. istioctl/pkg/admin/admin.go

    	"istio.io/istio/istioctl/pkg/cli"
    )
    
    func Cmd(ctx cli.Context) *cobra.Command {
    	adminCmd := &cobra.Command{
    		Use:   "admin",
    		Short: "Manage control plane (istiod) configuration",
    		Long:  "A group of commands used to manage istiod configuration",
    		Example: `  # Retrieve information about istiod configuration.
      istioctl admin log`,
    		Aliases: []string{"istiod"},
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  9. internal/lock/lock_windows.go

    	// path cannot be so long that you cannot append an 8.3 file
    	// name (that is, the directory name cannot exceed MAX_PATH
    	// minus 12)." Since MAX_PATH is 260, 260 - 12 = 248.
    	//
    	// The MSDN docs appear to say that a normal path that is 248 bytes long
    	// will work; empirically the path must be less then 248 bytes long.
    	if len(path) < 248 {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Oct 18 18:08:15 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/test/cgo_thread_lock.go

    // license that can be found in the LICENSE file.
    
    //go:build linux
    
    package cgotest
    
    /*
    #include <unistd.h>
    #include <stdbool.h>
    #include <sys/syscall.h>
    void Gosched(void);
    static bool Ctid(void) {
    	long tid1 = syscall(SYS_gettid);
    	Gosched();
    	return tid1 == syscall(SYS_gettid);
    }
    */
    import "C"
    
    import (
    	"runtime"
    	"testing"
    	"time"
    )
    
    //export Gosched
    func Gosched() {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu May 18 16:55:07 GMT 2023
    - 939 bytes
    - Viewed (0)
Back to top