Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 1,333 for Retain (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. internal/bucket/object/lock/lock_test.go

    	tests := []struct {
    		value       DefaultRetention
    		expectedErr error
    		expectErr   bool
    	}{
    		{
    			value:       DefaultRetention{Mode: "retain"},
    			expectedErr: fmt.Errorf("unknown retention mode retain"),
    			expectErr:   true,
    		},
    		{
    			value:       DefaultRetention{Mode: RetGovernance},
    			expectedErr: fmt.Errorf("either Days or Years must be specified"),
    			expectErr:   true,
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 18.4K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

                // Refreshing the original must not clear the clone's cached subject
                orig.refresh();
                // Clone should retain its cached Subject
                assertSame(copySubj, copy.getSubject(), "Clone should retain its cached Subject");
            } else {
                // If JAAS is not configured and getSubject() returns null, verify cloning still works
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  3. internal/logger/targets.go

    // UpdateAuditKafkaTargets swaps audit kafka targets with newly loaded ones from the cfg
    func UpdateAuditKafkaTargets(ctx context.Context, cfg Config) []error {
    	newKafkaTgts, errs := initKafkaTargets(ctx, cfg.AuditKafka)
    
    	// Retain webhook targets
    	oldKafkaTgts, otherTgts := splitTargets(auditTargets.get(), types.TargetKafka)
    	newKafkaTgts = append(newKafkaTgts, otherTgts...)
    	auditTargets.set(newKafkaTgts)
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 6K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class CollectionRetainAllTester<E> extends AbstractCollectionTester<E> {
    
      /** A collection of elements to retain, along with a description for use in failure messages. */
      private final class Target {
        private final Collection<E> toRetain;
        private final String description;
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  5. cmd/auth-handler.go

    	var retSet bool
    	if cred.AccessKey == "" {
    		return ErrAccessDenied
    	}
    
    	conditions := getConditionValues(r, "", cred)
    	conditions["object-lock-mode"] = []string{string(retMode)}
    	conditions["object-lock-retain-until-date"] = []string{retDate.UTC().Format(time.RFC3339)}
    	if retDays > 0 {
    		conditions["object-lock-remaining-retention-days"] = []string{strconv.Itoa(retDays)}
    	}
    	if retMode == objectlock.RetGovernance && byPassSet {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  6. cmd/data-scanner_test.go

    	}
    	fivs := make([]FileInfo, 5)
    	objInfos := make([]ObjectInfo, 5)
    	objRetentionMeta := make(map[string]string)
    	objRetentionMeta[strings.ToLower(xhttp.AmzObjectLockMode)] = string(objectlock.RetCompliance)
    	// Set retain until date 12 hours into the future
    	objRetentionMeta[strings.ToLower(xhttp.AmzObjectLockRetainUntilDate)] = amztime.ISO8601Format(now.Add(12 * time.Hour))
    	/*
    		objInfos:
    		version stack for obj-1
    		v5 uuid-5 modTime
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12K bytes
    - Click Count (0)
  7. internal/config/storageclass/storage-class.go

    	}
    	return sCfg.Optimize == "capacity"
    }
    
    // AvailabilityOptimized - returns true if the storage-class is availability
    // optimized, meaning we will use additional parities when drives are offline
    // to retain parity SLA.
    //
    // Default is "availability" optimized.
    func (sCfg *Config) AvailabilityOptimized() bool {
    	ConfigLock.RLock()
    	defer ConfigLock.RUnlock()
    	if !sCfg.initialized {
    		return true
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

                effectiveScope = Artifact.SCOPE_SYSTEM;
            } else if (Artifact.SCOPE_COMPILE.equals(originalScope) && Artifact.SCOPE_COMPILE.equals(inheritedScope)) {
                // added to retain compile scope. Remove if you want compile inherited as runtime
                effectiveScope = Artifact.SCOPE_COMPILE;
            } else if (Artifact.SCOPE_TEST.equals(inheritedScope)) {
                effectiveScope = Artifact.SCOPE_TEST;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Sep 25 12:03:50 GMT 2025
    - 30.4K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb1/util/DES.java

    //
    // All rights reserved.
    //
    // Redistribution and use in source and binary forms, with or without
    // modification, are permitted provided that the following conditions
    // are met:
    // 1. Redistributions of source code must retain the above copyright
    //    notice, this list of conditions and the following disclaimer.
    // 2. Redistributions in binary form must reproduce the above copyright
    //    notice, this list of conditions and the following disclaimer in the
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 22.7K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt

            .build()
        assertFailsWith<IllegalStateException> {
          client.newCall(request).execute()
        }.also { expected ->
          assertThat(expected.message).isEqualTo(
            "network interceptor $interceptor must retain the same host and port",
          )
        }
      }
    
      @Test
      fun networkInterceptorsHaveConnectionAccess() {
        server.enqueue(MockResponse())
        val interceptor =
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 16:11:23 GMT 2025
    - 28.2K bytes
    - Click Count (0)
Back to Top