Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 133 for newSet (0.08 sec)

  1. cmd/encryption-v1.go

    		}
    		newKey, err := GlobalKMS.GenerateKey(ctx, &kms.GenerateKeyRequest{
    			Name:           newKeyID,
    			AssociatedData: kmsCtx,
    		})
    		if err != nil {
    			return err
    		}
    
    		sealedKey := objectKey.Seal(newKey.Plaintext, crypto.GenerateIV(rand.Reader), crypto.S3KMS.String(), bucket, object)
    		crypto.S3KMS.CreateMetadata(metadata, newKey.KeyID, newKey.Ciphertext, sealedKey, cryptoCtx)
    		return nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:06:08 UTC 2024
    - 37.2K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolutionPolicy.java

         * artifact, closer to the entry point, is selected
         */
        @Configuration(name = "closer-first", value = "true")
        private boolean closerFirst = true;
    
        /**
         * newer artifact is selected
         */
        @Configuration(name = "newer-first", value = "true")
        private boolean newerFirst = true;
    
        public MetadataGraphEdge apply(MetadataGraphEdge e1, MetadataGraphEdge e2) {
            int depth1 = e1.getDepth();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. internal/logger/legacy.go

    // Legacy envs
    const (
    	legacyEnvAuditLoggerHTTPEndpoint = "MINIO_AUDIT_LOGGER_HTTP_ENDPOINT"
    	legacyEnvLoggerHTTPEndpoint      = "MINIO_LOGGER_HTTP_ENDPOINT"
    )
    
    // SetLoggerHTTPAudit - helper for migrating older config to newer KV format.
    func SetLoggerHTTPAudit(scfg config.Config, k string, args http.Config) {
    	if !args.Enabled {
    		// Do not enable audit targets, if not enabled
    		return
    	}
    	scfg[config.AuditWebhookSubSys][k] = config.KVS{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 03 09:47:07 UTC 2023
    - 2K bytes
    - Viewed (0)
  4. cmd/erasure-server-pool-decom.go

    			if currentPool.CmdLine == pool.endpoints.CmdLine {
    				newMeta.Pools = append(newMeta.Pools, currentPool)
    				skip = true
    				break
    			}
    		}
    		if skip {
    			continue
    		}
    		newMeta.Pools = append(newMeta.Pools, PoolStatus{
    			CmdLine:    pool.endpoints.CmdLine,
    			ID:         idx,
    			LastUpdate: UTCNow(),
    		})
    	}
    	return newMeta
    }
    
    func (z *erasureServerPools) IsDecommissionRunning() bool {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 13:20:19 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/HashBiMap.java

       * the position of the new key if it was previously present.
       */
      private void replaceKeyInEntry(int entry, @ParametricNullness K newKey, boolean force) {
        checkArgument(entry != ABSENT);
        int newKeyHash = Hashing.smearedHash(newKey);
        int newKeyIndex = findEntryByKey(newKey, newKeyHash);
    
        int newPredecessor = lastInInsertionOrder;
        int newSuccessor = ENDPOINT;
        if (newKeyIndex != ABSENT) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 36.4K bytes
    - Viewed (0)
  6. cmd/update-notifier.go

    )
    
    // prepareUpdateMessage - prepares the update message, only if a
    // newer version is available.
    func prepareUpdateMessage(downloadURL string, older time.Duration) string {
    	if downloadURL == "" || older <= 0 {
    		return ""
    	}
    
    	// Compute friendly duration string to indicate time
    	// difference between newer and current release.
    	t := time.Time{}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Mar 09 03:07:08 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

            StringBuilder newkey = new StringBuilder();
    
            for (int i = 0; i < key.length(); i++) {
                char c = key.charAt(i);
    
                if (contains(SEPARATORS, c) || contains(WHITE_SPACE, c)) {
                    // escape the separator
                    newkey.append('\\');
                    newkey.append(c);
                } else {
                    newkey.append(c);
                }
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/NewestConflictResolverTest.java

    class NewestConflictResolverTest extends AbstractConflictResolverTest {
        // constructors -----------------------------------------------------------
    
        public NewestConflictResolverTest() throws Exception {
            super("newest");
        }
    
        // tests ------------------------------------------------------------------
    
        /**
         * Tests that <code>a:2.0</code> wins in the scenario:
         * <pre>
         * a:1.0
         * b:1.0 -&gt; a:2.0
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. cmd/test-utils_test.go

    		hexChunkSize, chunkSignature))
    	newChunk, err := io.ReadAll(bufReader)
    	if err != nil {
    		return nil, err
    	}
    	newReq := req
    	newReq.Body = io.NopCloser(
    		bytes.NewReader(bytes.Join([][]byte{newChunkHdr, newChunk[:len(newChunk)/2]},
    			[]byte(""))),
    	)
    	return newReq, nil
    }
    
    // Malform data given a request signed using streaming signature V4.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
  10. cmd/xl-storage-meta-inline.go

    		vals = append(vals, foundVal)
    		if string(foundKey) != oldKey {
    			keys = append(keys, foundKey)
    			plSize += len(foundKey)
    		} else {
    			keys = append(keys, []byte(newKey))
    			plSize += len(newKey)
    			found = true
    		}
    	}
    	// If not found, just return.
    	if !found {
    		return false
    	}
    
    	// Reserialize...
    	x.serialize(plSize, keys, vals)
    	return true
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top