Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 7,772 for returns (0.24 sec)

  1. internal/auth/credentials.go

    		return []byte(secretKey), nil
    	}
    
    	if err := jwt.ParseWithClaims(token, claims, stsTokenCallback); err != nil {
    		return nil, err
    	}
    
    	return claims, nil
    }
    
    // GetNewCredentials generates and returns new credential.
    func GetNewCredentials() (cred Credentials, err error) {
    	return GetNewCredentialsWithMetadata(map[string]interface{}{}, "")
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  2. cmd/utils.go

    		// Upon error just return Go-syntax representation of the value
    		return fmt.Sprintf("%#v", req)
    	}
    
    	// Formatted string.
    	return strings.TrimSpace(buffer.String())
    }
    
    // isFile - returns whether given path is a file or not.
    func isFile(path string) bool {
    	if fi, err := os.Stat(path); err == nil {
    		return fi.Mode().IsRegular()
    	}
    
    	return false
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 31.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/Booleans.java

          if (array[i] == target) {
            return i;
          }
        }
        return -1;
      }
    
      /**
       * Returns the values from each provided array combined into a single array. For example, {@code
       * concat(new boolean[] {a, b}, new boolean[] {}, new boolean[] {c}} returns the array {@code {a,
       * b, c}}.
       *
       * @param arrays zero or more {@code boolean} arrays
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Suppliers.java

          return Objects.hashCode(function, supplier);
        }
    
        @Override
        public String toString() {
          return "Suppliers.compose(" + function + ", " + supplier + ")";
        }
    
        private static final long serialVersionUID = 0;
      }
    
      /**
       * Returns a supplier which caches the instance retrieved during the first call to {@code get()}
       * and returns that value on subsequent calls to {@code get()}. See: <a
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/math/LongMath.java

            case 0:
              return (k == 0) ? 1 : 0;
            case 1:
              return 1;
            case (-1):
              return ((k & 1) == 0) ? 1 : -1;
            case 2:
              return (k < Long.SIZE) ? 1L << k : 0;
            case (-2):
              if (k < Long.SIZE) {
                return ((k & 1) == 0) ? 1L << k : -(1L << k);
              } else {
                return 0;
              }
            default:
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 44.6K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/Response.kt

      /** Returns the HTTP headers. */
      @get:JvmName("headers") val headers: Headers,
      /**
       * Returns a non-null value if this response was passed to [Callback.onResponse] or returned
       * from [Call.execute]. Response bodies must be [closed][ResponseBody] and may
       * be consumed only once.
       *
       * This always returns null on responses returned from [cacheResponse], [networkResponse],
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  7. cmd/object-api-utils.go

    		if trailingSlash {
    			return s + SlashSeparator
    		}
    		return s
    	}
    	if trailingSlash {
    		dst.WriteByte(SlashSeparatorChar)
    	}
    	return dst.String()
    }
    
    // hasSuffixByte returns true if the last byte of s is 'suffix'
    func hasSuffixByte(s string, suffix byte) bool {
    	return len(s) > 0 && s[len(s)-1] == suffix
    }
    
    // pathNeedsClean returns whether path.Clean may change the path.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  8. guava/src/com/google/common/collect/AbstractSortedSetMultimap.java

       *
       * <p>Changes to the returned collection will update the underlying multimap, and vice versa.
       *
       * <p>Because a {@code SortedSetMultimap} has unique sorted values for a given key, this method
       * returns a {@link SortedSet}, instead of the {@link Collection} specified in the {@link
       * Multimap} interface.
       */
      @Override
      public SortedSet<V> get(@ParametricNullness K key) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 5.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/AbstractSortedSetMultimap.java

       *
       * <p>Changes to the returned collection will update the underlying multimap, and vice versa.
       *
       * <p>Because a {@code SortedSetMultimap} has unique sorted values for a given key, this method
       * returns a {@link SortedSet}, instead of the {@link Collection} specified in the {@link
       * Multimap} interface.
       */
      @Override
      public SortedSet<V> get(@ParametricNullness K key) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 5.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Functions.java

        }
    
        @Override
        public String toString() {
          return "Functions.forPredicate(" + predicate + ")";
        }
    
        private static final long serialVersionUID = 0;
      }
    
      /**
       * Returns a function that ignores its input and always returns {@code value}.
       *
       * <p><b>Java 8+ users:</b> use the lambda expression {@code o -> value} instead.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 14.1K bytes
    - Viewed (0)
Back to top