Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,622 for string3 (0.22 sec)

  1. guava/src/com/google/common/base/Strings.java

       *
       * @param string a string reference to check
       * @return {@code true} if the string is null or is the empty string
       */
      public static boolean isNullOrEmpty(@CheckForNull String string) {
        return Platform.stringIsNullOrEmpty(string);
      }
    
      /**
       * Returns a string, of length at least {@code minLength}, consisting of {@code string} prepended
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Sep 17 20:47:03 GMT 2021
    - 12.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Strings.java

       *
       * @param string a string reference to check
       * @return {@code true} if the string is null or is the empty string
       */
      public static boolean isNullOrEmpty(@CheckForNull String string) {
        return Platform.stringIsNullOrEmpty(string);
      }
    
      /**
       * Returns a string, of length at least {@code minLength}, consisting of {@code string} prepended
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 09 00:49:18 GMT 2021
    - 12.3K bytes
    - Viewed (0)
  3. ci/official/containers/linux_arm64/builder.devtoolset/stringop_trunc.patch

    -#    endif
    -__STRING_INLINE void *__mempcpy_small (void *, char, __STRING2_COPY_ARR2,
    -				       __STRING2_COPY_ARR3,
    -				       __STRING2_COPY_ARR4,
    -				       __STRING2_COPY_ARR5,
    -				       __STRING2_COPY_ARR6,
    -				       __STRING2_COPY_ARR7,
    -				       __STRING2_COPY_ARR8, size_t);
    +#  else
     __STRING_INLINE void *
     __mempcpy_small (void *__dest, char __src1,
    Others
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 42.9K bytes
    - Viewed (1)
  4. cmd/apierrorcode_string.go

    func (i APIErrorCode) String() string {
    	if i < 0 || i >= APIErrorCode(len(_APIErrorCode_index)-1) {
    		return "APIErrorCode(" + strconv.FormatInt(int64(i), 10) + ")"
    	}
    	return _APIErrorCode_name[_APIErrorCode_index[i]:_APIErrorCode_index[i+1]]
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 21.2K bytes
    - Viewed (0)
  5. operator/cmd/mesh/test-util_test.go

    // toMap transforms a comma separated key:value list (e.g. "a:aval, b:bval") to a map.
    func toMap(s string) map[string]any {
    	out := make(map[string]any)
    	for _, l := range strings.Split(s, ",") {
    		l = strings.TrimSpace(l)
    		kv := strings.Split(l, ":")
    		if len(kv) != 2 {
    			panic("bad key:value in " + s)
    		}
    		out[strings.TrimSpace(kv[0])] = strings.TrimSpace(kv[1])
    	}
    	if len(out) == 0 {
    		return nil
    	}
    	return out
    }
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  6. internal/etag/etag.go

    // take a look at the package documentation.
    type ETag []byte
    
    // String returns the string representation of the ETag.
    //
    // The returned string is a hex representation of the
    // binary ETag with an optional '-<part-number>' suffix.
    func (e ETag) String() string {
    	if e.IsMultipart() {
    		return hex.EncodeToString(e[:16]) + string(e[16:])
    	}
    	return hex.EncodeToString(e)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  7. cmd/object-api-options.go

    func putOptsFromReq(ctx context.Context, r *http.Request, bucket, object string, metadata map[string]string) (opts ObjectOptions, err error) {
    	return putOpts(ctx, bucket, object, r.Form.Get(xhttp.VersionID), r.Header, metadata)
    }
    
    func putOpts(ctx context.Context, bucket, object, vid string, hdrs http.Header, metadata map[string]string) (opts ObjectOptions, err error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 20 09:05:54 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  8. src/cmd/api/main_test.go

    		if err != nil {
    			log.Fatalf("loading imports: %v\n%s", err, out)
    		}
    
    		var stdPackages []string
    		importMap := make(map[string]map[string]string)
    		importDir := make(map[string]string)
    		dec := json.NewDecoder(bytes.NewReader(out))
    		for {
    			var pkg struct {
    				ImportPath, Dir string
    				ImportMap       map[string]string
    				Standard        bool
    			}
    			err := dec.Decode(&pkg)
    			if err == io.EOF {
    				break
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  9. cmd/auth-handler.go

    			return nil, errAuthentication
    		}
    		claims.MapClaims[sessionPolicyNameExtracted] = string(spBytes)
    	}
    
    	return claims.Map(), nil
    }
    
    // Fetch claims in the security token returned by the client.
    func getClaimsFromToken(token string) (map[string]interface{}, error) {
    	return getClaimsFromTokenWithSecret(token, globalActiveCred.SecretKey)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 26K bytes
    - Viewed (0)
  10. internal/config/config.go

    	}
    	return keys
    }
    
    func (kvs KVS) String() string {
    	var s strings.Builder
    	for _, kv := range kvs {
    		s.WriteString(kv.String())
    		s.WriteString(KvSpaceSeparator)
    	}
    	return s.String()
    }
    
    // Merge environment values with on disk KVS, environment values overrides
    // anything on the disk.
    func Merge(cfgKVS map[string]KVS, envname string, defaultKVS KVS) map[string]KVS {
    	newCfgKVS := make(map[string]KVS)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 37.3K bytes
    - Viewed (0)
Back to top