Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 5,196 for stringy (0.17 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/TestStringQueueGenerator.java

        String[] array = new String[elements.length];
        int i = 0;
        for (Object e : elements) {
          array[i++] = (String) e;
        }
        return create(array);
      }
    
      protected abstract Queue<String> create(String[] elements);
    
      @Override
      public String[] createArray(int length) {
        return new String[length];
      }
    
      /** Returns the original element list, unchanged. */
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. schema/naming_test.go

    	}
    }
    
    type CustomReplacer struct {
    	f func(string) string
    }
    
    func (r CustomReplacer) Replace(name string) string {
    	return r.f(name)
    }
    
    func TestCustomReplacer(t *testing.T) {
    	ns := NamingStrategy{
    		TablePrefix:   "public.",
    		SingularTable: true,
    		NameReplacer: CustomReplacer{
    			func(name string) string {
    				replaced := "REPLACED_" + strings.ToUpper(name)
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue May 30 02:00:48 UTC 2023
    - 7K bytes
    - Viewed (0)
  3. internal/event/targetid.go

    import (
    	"encoding/json"
    	"fmt"
    	"strings"
    )
    
    // TargetID - holds identification and name strings of notification target.
    type TargetID struct {
    	ID   string
    	Name string
    }
    
    // String - returns string representation.
    func (tid TargetID) String() string {
    	return tid.ID + ":" + tid.Name
    }
    
    // ToARN - converts to ARN.
    func (tid TargetID) ToARN(region string) ARN {
    	return ARN{TargetID: tid, region: region}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  4. callbacks/preload.go

    //	})
    //	// preloadMap is
    //	map[string]map[string][]interface{}{
    //		"k0": {},
    //		"k7": {
    //			"k8": {},
    //		},
    //		"k1": {},
    //		"k2": {
    //			"k3": {"arg3"},
    //		},
    //		"k4": {
    //			"k5.k6": {"arg4"},
    //		},
    //	}
    func parsePreloadMap(s *schema.Schema, preloads map[string][]interface{}) map[string]map[string][]interface{} {
    	preloadMap := map[string]map[string][]interface{}{}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:52:33 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  5. internal/event/arn.go

    package event
    
    import (
    	"encoding/xml"
    	"strings"
    )
    
    // ARN - SQS resource name representation.
    type ARN struct {
    	TargetID
    	region string
    }
    
    // String - returns string representation.
    func (arn ARN) String() string {
    	if arn.TargetID.ID == "" && arn.TargetID.Name == "" && arn.region == "" {
    		return ""
    	}
    
    	return "arn:minio:sqs:" + arn.region + ":" + arn.TargetID.String()
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  6. schema/field.go

    		field.Scale, _ = strconv.Atoi(s)
    	}
    
    	// default value is function or null or blank (primary keys)
    	field.DefaultValue = strings.TrimSpace(field.DefaultValue)
    	skipParseDefaultValue := strings.Contains(field.DefaultValue, "(") &&
    		strings.Contains(field.DefaultValue, ")") || strings.ToLower(field.DefaultValue) == "null" || field.DefaultValue == ""
    	switch reflect.Indirect(fieldValue).Kind() {
    	case reflect.Bool:
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Apr 15 03:20:20 UTC 2024
    - 32K bytes
    - Viewed (0)
  7. cmd/bucket-policy.go

    	return &PolicySys{}
    }
    
    func getSTSConditionValues(r *http.Request, lc string, cred auth.Credentials) map[string][]string {
    	m := make(map[string][]string)
    	if d := r.Form.Get("DurationSeconds"); d != "" {
    		m["DurationSeconds"] = []string{d}
    	}
    	return m
    }
    
    func getConditionValues(r *http.Request, lc string, cred auth.Credentials) map[string][]string {
    	currTime := UTCNow()
    
    	var (
    		username = cred.AccessKey
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

        @Throws(IOException::class)
        internal fun setLengths(strings: List<String>) {
          if (strings.size != valueCount) {
            invalidLengths(strings)
          }
    
          try {
            for (i in strings.indices) {
              lengths[i] = strings[i].toLong()
            }
          } catch (_: NumberFormatException) {
            invalidLengths(strings)
          }
        }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  9. cmd/sftp-server.go

    	}
    }
    
    func filterAlgos(arg string, want []string, allowed []string) []string {
    	var filteredAlgos []string
    	found := false
    	for _, algo := range want {
    		if len(algo) == 0 {
    			continue
    		}
    		for _, allowedAlgo := range allowed {
    			algo := strings.ToLower(strings.TrimSpace(algo))
    			if algo == allowedAlgo {
    				filteredAlgos = append(filteredAlgos, algo)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 20 20:00:29 UTC 2024
    - 16K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/NtlmUtil.java

         * 
         * @return the caclulated mac
         */
        public static byte[] nTOWFv2 ( String domain, String username, byte[] passwordHash ) {
            MessageDigest hmac = Crypto.getHMACT64(passwordHash);
            hmac.update(Strings.getUNIBytes(username.toUpperCase()));
            hmac.update(Strings.getUNIBytes(domain));
            return hmac.digest();
        }
    
    
        /**
         * @param password
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 9.7K bytes
    - Viewed (0)
Back to top