Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 6,151 for Strings (0.07 sec)

  1. internal/bucket/versioning/versioning.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package versioning
    
    import (
    	"encoding/xml"
    	"io"
    	"strings"
    
    	"github.com/minio/pkg/v3/wildcard"
    )
    
    // State - enabled/disabled/suspended states
    // for multifactor and status of versioning.
    type State string
    
    // Various supported states
    const (
    	Enabled State = "Enabled"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/fscc/FileBothDirectoryInfo.java

                    fileNameLength -= 2;
                }
                str = Strings.fromUNIBytes(buffer, bufferIndex, fileNameLength);
            }
            else {
                if ( fileNameLength > 0 && buffer[ bufferIndex + fileNameLength - 1 ] == '\0' ) {
                    fileNameLength -= 1;
                }
                str = Strings.fromOEMBytes(buffer, bufferIndex, fileNameLength, this.config);
            }
            this.filename = str;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.6K bytes
    - Viewed (0)
  3. istioctl/pkg/xds/client.go

    	ns, serviceAccount string, kubeClient kube.CLIClient,
    ) ([]grpc.DialOption, error) {
    	ctx := context.TODO()
    	// If we are using the insecure 15010 don't bother getting a token
    	if opts.Plaintext || opts.CertDir != "" {
    		return make([]grpc.DialOption, 0), nil
    	}
    	// Use bearer token
    	aud := tokenAudiences
    	isMCP := strings.HasSuffix(opts.Xds, ".googleapis.com") || strings.HasSuffix(opts.Xds, ".googleapis.com:443")
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Dec 19 22:42:42 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  4. migrator/migrator.go

    		return nil
    	}
    
    	// found, smart migrate
    	fullDataType := strings.TrimSpace(strings.ToLower(m.DB.Migrator().FullDataTypeOf(field).SQL))
    	realDataType := strings.ToLower(columnType.DatabaseTypeName())
    
    	var (
    		alterColumn bool
    		isSameType  = fullDataType == realDataType
    	)
    
    	if !field.PrimaryKey {
    		// check type
    		if !strings.HasPrefix(fullDataType, realDataType) {
    			// check type aliases
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Apr 26 07:15:49 UTC 2024
    - 29K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

                        len = Strings.findUNITermination(buffer, bufferIndex, 256);
                        this.server.oemDomainName = Strings.fromUNIBytes(buffer, bufferIndex, len);
                    }
                    else {
                        len = Strings.findTermination(buffer, bufferIndex, 256);
                        this.server.oemDomainName = Strings.fromOEMBytes(buffer, bufferIndex, len, getConfig());
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 15.4K bytes
    - Viewed (0)
  6. cmd/iam.go

    	stsPrefix := strings.HasPrefix(event.keyPath, iamConfigSTSPrefix)
    	svcPrefix := strings.HasPrefix(event.keyPath, iamConfigServiceAccountsPrefix)
    	policyPrefix := strings.HasPrefix(event.keyPath, iamConfigPoliciesPrefix)
    	policyDBUsersPrefix := strings.HasPrefix(event.keyPath, iamConfigPolicyDBUsersPrefix)
    	policyDBSTSUsersPrefix := strings.HasPrefix(event.keyPath, iamConfigPolicyDBSTSUsersPrefix)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/pseudo_test.go

    package asm
    
    import (
    	"strings"
    	"testing"
    
    	"cmd/asm/internal/lex"
    )
    
    func tokenize(s string) [][]lex.Token {
    	res := [][]lex.Token{}
    	if len(s) == 0 {
    		return res
    	}
    	for _, o := range strings.Split(s, ",") {
    		res = append(res, lex.Tokenize(o))
    	}
    	return res
    }
    
    func TestErroneous(t *testing.T) {
    
    	type errtest struct {
    		pseudo   string
    		operands string
    		expected string
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Aug 29 07:48:38 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  8. cmd/signature-v4-parser_test.go

    	return strings.Join([]string{
    		accessKey,
    		date,
    		region,
    		service,
    		requestVersion,
    	}, SlashSeparator)
    }
    
    // generate CredentialHeader from its fields.
    func generateCredentials(t *testing.T, accessKey string, date string, region, service, requestVersion string) credentialHeader {
    	cred := credentialHeader{
    		accessKey: accessKey,
    	}
    	parsedDate, err := time.Parse(yyyymmdd, date)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  9. src/cmd/addr2line/main.go

    		p := stdin.Text()
    		if strings.Contains(p, ":") {
    			// Reverse translate file:line to pc.
    			// This was an extension in the old C version of 'go tool addr2line'
    			// and is probably not used by anyone, but recognize the syntax.
    			// We don't have an implementation.
    			fmt.Fprintf(stdout, "!reverse translation not implemented\n")
    			continue
    		}
    		pc, _ := strconv.ParseUint(strings.TrimPrefix(p, "0x"), 16, 64)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Jun 21 19:58:04 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. clause/set_test.go

    	set := clause.Assignments(map[string]interface{}{
    		"name": "jinzhu",
    		"age":  18,
    	})
    
    	assignments := []clause.Assignment(set)
    
    	sort.Slice(assignments, func(i, j int) bool {
    		return strings.Compare(assignments[i].Column.Name, assignments[j].Column.Name) > 0
    	})
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 1.4K bytes
    - Viewed (0)
Back to top