Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1411 - 1420 of 1,737 for interfaces (0.1 sec)

  1. cmd/auth-handler.go

    func getClaimsFromToken(token string) (map[string]interface{}, error) {
    	jwtClaims, err := getClaimsFromTokenWithSecret(token, globalActiveCred.SecretKey)
    	if err != nil {
    		return nil, err
    	}
    	return jwtClaims.Map(), nil
    }
    
    // Fetch claims in the security token returned by the client and validate the token.
    func checkClaimsFromToken(r *http.Request, cred auth.Credentials) (map[string]interface{}, APIErrorCode) {
    	token := getSessionToken(r)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 17 16:45:46 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  2. cmd/test-utils_test.go

    	return prepareErasure(ctx, 16)
    }
    
    // TestErrHandler - Go testing.T satisfy this interface.
    // This makes it easy to run the TestServer from any of the tests.
    // Using this interface, functionalities to be used in tests can be
    // made generalized, and can be integrated in benchmarks/unit tests/go check suite tests.
    type TestErrHandler interface {
    	testing.TB
    }
    
    const (
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
  3. internal/handlers/forwarder.go

    }
    
    func (b *bufPool) Get() []byte {
    	bufp := b.pool.Get().(*[]byte)
    	return (*bufp)[:b.sz]
    }
    
    func newBufPool(sz int) httputil.BufferPool {
    	return &bufPool{sz: sz, pool: sync.Pool{
    		New: func() interface{} {
    			buf := make([]byte, sz)
    			return &buf
    		},
    	}}
    }
    
    // ServeHTTP forwards HTTP traffic using the configured transport
    func (f *Forwarder) ServeHTTP(w http.ResponseWriter, inReq *http.Request) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 07 05:42:10 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  4. docs/sts/ldap.go

    }
    
    func main() {
    	flag.Parse()
    	if ldapUsername == "" || ldapPassword == "" {
    		flag.PrintDefaults()
    		return
    	}
    
    	// The credentials package in minio-go provides an interface to call the
    	// LDAP STS API.
    
    	// Initialize LDAP credentials
    	var ldapOpts []cr.LDAPIdentityOpt
    	if sessionPolicyFile != "" {
    		var policy string
    		if f, err := os.Open(sessionPolicyFile); err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 07 12:59:47 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/ModelInterpolator.java

     *
     * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public interface ModelInterpolator {
    
        /**
         * Interpolates expressions in the specified model. Note that implementations are free to either interpolate the
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/ModelValidator.java

    /**
     * Checks the model for missing or invalid values.
     *
     * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public interface ModelValidator {
        /**
         * Checks the specified file model for missing or invalid values. This model is directly created from the POM
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerAdapter.kt

     */
    package okhttp3.tls.internal.der
    
    import okio.Buffer
    import okio.ByteString
    
    /**
     * Encode and decode a model object like a [Long] or [Certificate] as DER bytes.
     */
    internal interface DerAdapter<T> {
      /** Returns true if this adapter can read [header] in a choice. */
      fun matches(header: DerHeader): Boolean
    
      /**
       * Returns a value from this adapter.
       *
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/hash/PrimitiveSink.java

    /**
     * An object which can receive a stream of primitive values.
     *
     * @author Kevin Bourrillion
     * @since 12.0 (in 11.0 as {@code Sink})
     */
    @Beta
    @ElementTypesAreNonnullByDefault
    public interface PrimitiveSink {
      /**
       * Puts a byte into this sink.
       *
       * @param b a byte
       * @return this instance
       */
      @CanIgnoreReturnValue
      PrimitiveSink putByte(byte b);
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  9. internal/s3select/sql/evaluate.go

    			return nil, errInvalidKeypath
    		}
    		return r.Get(pathExpr[len(pathExpr)-1].Key.keyString())
    	}
    }
    
    // jsonToValue will convert the json value to an internal value.
    func jsonToValue(result interface{}) (*Value, error) {
    	switch rval := result.(type) {
    	case string:
    		return FromString(rval), nil
    	case float64:
    		return FromFloat(rval), nil
    	case int64:
    		return FromInt(rval), nil
    	case uint64:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 12K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

     * {@link #testEquals}, {@link #testNulls} and {@link #testSerializable}.
     *
     * <p>For testing against the returned instances from a static factory class, such as
     *
     * <pre>
     * interface Book {...}
     * public class Books {
     *   public static Book hardcover(String title) {...}
     *   public static Book paperback(String title) {...}
     * }
     * </pre>
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:43:49 UTC 2024
    - 17.9K bytes
    - Viewed (0)
Back to top