Search Options

Results per page
Sort
Preferred Languages
Advance

Results 811 - 820 of 951 for functions (0.05 sec)

  1. cmd/perf-tests.go

    	xhttp "github.com/minio/minio/internal/http"
    	xioutil "github.com/minio/minio/internal/ioutil"
    	"github.com/minio/pkg/v3/randreader"
    )
    
    // SpeedTestResult return value of the speedtest function
    type SpeedTestResult struct {
    	Endpoint      string
    	Uploads       uint64
    	Downloads     uint64
    	UploadTimes   madmin.TimeDurations
    	DownloadTimes madmin.TimeDurations
    	DownloadTTFB  madmin.TimeDurations
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  2. docs/en/docs/features.md

    You write standard Python with types:
    
    ```Python
    from datetime import date
    
    from pydantic import BaseModel
    
    # Declare a variable as a str
    # and get editor support inside the function
    def main(user_id: str):
        return user_id
    
    
    # A Pydantic model
    class User(BaseModel):
        id: int
        name: str
        joined: date
    ```
    
    That can then be used like:
    
    ```Python
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Aug 15 23:30:12 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  3. cmd/encryption-v1.go

    	if crypto.S3.IsRequested(header) && crypto.SSEC.IsRequested(header) {
    		return key, crypto.ErrIncompatibleEncryptionMethod
    	}
    
    	k, err := crypto.SSEC.ParseHTTP(header)
    	return k[:], err
    }
    
    // This function rotates old to new key.
    func rotateKey(ctx context.Context, oldKey []byte, newKeyID string, newKey []byte, bucket, object string, metadata map[string]string, cryptoCtx kms.Context) error {
    	kind, _ := crypto.IsEncrypted(metadata)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:06:08 UTC 2024
    - 37.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

        CacheBuilder<Object, Object> builder = CacheBuilder.from(parse("maximumSize=9000"));
        builder.build(CacheLoader.from(Suppliers.ofInstance(null)));
      }
    
      public void testDisableCaching() {
        // Functional test: assert that CacheBuilderSpec.disableCaching()
        // disables caching.  It's irrelevant how it does so.
        CacheBuilder<Object, Object> builder = CacheBuilder.from(CacheBuilderSpec.disableCaching());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.HashMap;
    import java.util.HashSet;
    import java.util.LinkedHashMap;
    import java.util.List;
    import java.util.Map;
    import java.util.function.Predicate;
    import java.util.stream.Collectors;
    
    import org.apache.maven.api.Constants;
    import org.apache.maven.api.di.Inject;
    import org.apache.maven.api.di.Named;
    import org.apache.maven.api.di.Singleton;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  6. cmd/erasure.go

    // NewNSLock - initialize a new namespace RWLocker instance.
    func (er erasureObjects) NewNSLock(bucket string, objects ...string) RWLocker {
    	return er.nsMutex.NewNSLock(er.getLockers, bucket, objects...)
    }
    
    // Shutdown function for object storage interface.
    func (er erasureObjects) Shutdown(ctx context.Context) error {
    	// Add any object layer shutdown activities here.
    	closeStorageDisks(er.getDisks()...)
    	return nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 22:23:33 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  7. api/go1.7.txt

    pkg runtime, type Frame struct
    pkg runtime, type Frame struct, Entry uintptr
    pkg runtime, type Frame struct, File string
    pkg runtime, type Frame struct, Func *Func
    pkg runtime, type Frame struct, Function string
    pkg runtime, type Frame struct, Line int
    pkg runtime, type Frame struct, PC uintptr
    pkg runtime, type Frames struct
    pkg strings, method (*Reader) Reset(string)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Jun 28 15:08:11 UTC 2016
    - 13.6K bytes
    - Viewed (0)
  8. cmd/peer-rest-client.go

    	xnet "github.com/minio/pkg/v3/net"
    )
    
    // client to talk to peer Nodes.
    type peerRESTClient struct {
    	host       *xnet.Host
    	restClient *rest.Client
    	gridHost   string
    	// Function that returns the grid connection for this peer when initialized.
    	// Will return nil if the grid connection is not initialized yet.
    	gridConn func() *grid.Connection
    }
    
    // Returns a peer rest client.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverRequest.java

     */
    package org.apache.maven.api.services;
    
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.List;
    import java.util.Optional;
    import java.util.function.Predicate;
    
    import org.apache.maven.api.Artifact;
    import org.apache.maven.api.DependencyCoordinates;
    import org.apache.maven.api.JavaPathType;
    import org.apache.maven.api.PathScope;
    import org.apache.maven.api.PathType;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 16 14:15:37 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/MoreExecutors.java

       * are running concurrently.
       *
       * <p>{@linkplain Executor#execute executed} tasks have a happens-before order as defined in the
       * Java Language Specification. Tasks execute with the same happens-before order that the function
       * calls to {@link Executor#execute execute()} that submitted those tasks had.
       *
       * <p>The executor uses {@code delegate} in order to {@link Executor#execute execute} each task in
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 44.1K bytes
    - Viewed (0)
Back to top