Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 545 for single (0.42 sec)

  1. internal/kms/single-key.go

    }
    
    // New returns a single-key KMS that derives new DEKs from the
    // given key.
    func New(keyID string, key []byte) (KMS, error) {
    	if len(key) != 32 {
    		return nil, errors.New("kms: invalid key length " + strconv.Itoa(len(key)))
    	}
    	return secretKey{
    		keyID: keyID,
    		key:   key,
    	}, nil
    }
    
    // secretKey is a KMS implementation that derives new DEKs
    // from a single key.
    type secretKey struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  2. internal/kms/single-key_test.go

    Andreas Auernhammer <******@****.***> 1658195667 +0200
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jul 19 01:54:27 GMT 2022
    - 3K bytes
    - Viewed (0)
  3. internal/grid/README.md

    Until a connection is established, all outgoing requests will return `ErrDisconnected`.
    
    # Usage
    
    ## Single Payload Requests
    
    Single payload requests are requests and responses that are sent in a single message.
    In essence, they are `[]byte` -> `[]byte, error` functions.
    
    It is not possible to return *both* an error and a response.
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  4. utils/tests/models.go

    // User has one `Account` (has one), many `Pets` (has many) and `Toys` (has many - polymorphic)
    // He works in a Company (belongs to), he has a Manager (belongs to - single-table), and also managed a Team (has many - single-table)
    // He speaks many languages (many to many) and has many friends (many to many - single-table)
    // His pet also has one Toy (has one - polymorphic)
    // NamedPet is a reference to a named `Pet` (has one)
    type User struct {
    	gorm.Model
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Dec 15 08:36:08 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  5. cmd/bucket-replication-utils_test.go

    		expectedOpType:                    replication.UnsetReplicationType,
    		expectedAction:                    replicateNone,
    	},
    	{ // 2. replication completed to single target
    		name: "replication completed to single target",
    		tgtInfos: []replicatedTargetInfo{
    			{
    				Arn:                   "arn1",
    				Size:                  249,
    				PrevReplicationStatus: replication.Pending,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Aug 08 20:27:40 GMT 2023
    - 9.3K bytes
    - Viewed (0)
  6. architecture/build-state-model.md

    The "build tree state" holds the state for the entire build definition for a single build execution within a session.
    
    The build tree state is managed by the `BuildTreeState` class.
    An instance is created at the start of a build execution and discarded at the end of the execution.
    
    ### Build state
    
    The "build state" holds the state for a build within the build definition for a single build execution, and is contained by the build tree state.
    
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Sun May 05 22:45:11 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  7. tensorflow/c/checkpoint_reader.h

    //
    // The class currently only interacts with single-slice (i.e., non-partitioned)
    // variables.
    class CheckpointReader {
     public:
      CheckpointReader(const string& filename, TF_Status* status);
    
      bool HasTensor(const string& name) const;
      const string DebugString() const;
    
      // Returns a map from variable names to their shapes.  Slices of a partitioned
      // tensor are combined into a single entry.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 12 08:49:52 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  8. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt

      )
    }
    
    /**
     * If [mapping] qualifies to be encoded as [MappedRange.InlineDelta] return new instance, otherwise null.
     * An [MappedRange.InlineDelta] must be a mapping from a single code-point to a single code-point with a difference
     * that can be represented in 2^18-1.
     */
    internal fun inlineDeltaOrNull(mapping: Mapping): MappedRange.InlineDelta? {
      if (mapping.hasSingleSourceCodePoint) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/internal/RecordingOkAuthenticator.kt

      val credential: String?,
      val scheme: String?,
    ) : Authenticator {
      val responses = mutableListOf<Response>()
      val routes = mutableListOf<Route>()
    
      fun onlyResponse() = responses.single()
    
      fun onlyRoute() = routes.single()
    
      @Throws(IOException::class)
      override fun authenticate(
        route: Route?,
        response: Response,
      ): Request? {
        if (route == null) throw NullPointerException("route == null")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/ClusterException.java

       *
       * <ul>
       *   <li>If {@code exceptions} has a single exception and that exception is a {@link
       *       RuntimeException}, return it
       *   <li>If {@code exceptions} has a single exceptions and that exceptions is not a
       *       {@link RuntimeException}, return a simple {@code RuntimeException} that wraps it
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 4K bytes
    - Viewed (0)
Back to top