Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,985 for Hold (0.06 sec)

  1. docs/bucket/retention/README.md

    ### Set legal hold on an object
    
    PutObject API allows setting legal hold using `x-amz-object-lock-legal-hold` header.
    
    ```sh
    aws s3api put-object --bucket testbucket --key legalhold --object-lock-legal-hold-status ON --body /etc/issue
    ```
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  2. test/finprofiled.go

    	// As the result, all allocated memory must stay alive.
    	const (
    		N             = 1 << 20
    		tinyBlockSize = 16 // runtime._TinySize
    	)
    	hold := make([]*int32, 0, N)
    	for i := 0; i < N; i++ {
    		x := new(int32)
    		if i%3 == 0 {
    			runtime.SetFinalizer(x, func(p *int32) {
    				hold = append(hold, p)
    			})
    		}
    	}
    	// Finalize as much as possible.
    	// Note: the sleep only increases probability of bug detection,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 05:48:00 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/providers/collections/kotlin/build.gradle.kts

        private val people: NamedDomainObjectList<Person> = project.objects.namedDomainObjectList(Person::class)
    
        // Add a person to the container
        fun addPerson(name: String) {
            people.plus(name)
        }
    }
    // end::ndol[]
    
    // tag::ndoc[]
    
    abstract class MyPluginExtensionNamedDomainObjectContainer {
        // Define a named domain object container to hold Person objects
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 18:14:15 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/providers/collections/groovy/build.gradle

        NamedDomainObjectList<Person> people = project.container(Person)
    
        // Add a person to the container
        void addPerson(String name) {
            people.create(name: name)
        }
    }
    // end::ndol[]
    
    // tag::ndoc[]
    
    abstract class MyPluginExtensionNamedDomainObjectContainer {
        // Define a named domain object container to hold Person objects
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 18:14:15 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/native-binaries/cunit/groovy/libs/cunit/2.1-2/include/CUnit/Util.h

     *
     *  @param szSrc  Source string to convert (non-NULL).
     *  @param szDest Location to hold the converted string (non-NULL).
     *  @param maxlen Maximum number of characters szDest can hold.
     *  @return   The number of special characters converted (always 0 if
     *            szDest did not have enough room to hold converted string).
     */
    
    CU_EXPORT size_t CU_translated_strlen(const char *szSrc);
    /**< 
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  6. internal/bucket/object/lock/lock_test.go

    		{
    			metadata: map[string]string{
    				"x-amz-object-lock-legal-hold": "on",
    			},
    			expected: ObjectLegalHold{Status: LegalHoldOn},
    		},
    		{
    			metadata: map[string]string{
    				"x-amz-object-lock-legal-hold": "off",
    			},
    			expected: ObjectLegalHold{Status: LegalHoldOff},
    		},
    		{
    			metadata: map[string]string{
    				"x-amz-object-lock-legal-hold": "X",
    			},
    			expected: ObjectLegalHold{Status: ""},
    		},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  7. platforms/core-runtime/functional/src/main/java/org/gradle/internal/Try.java

        private Try() {
        }
    
        /**
         * Construct a {@code Try} by executing the given operation.
         * The returned object will either hold the result or the exception thrown during the operation.
         * If the callable returns null, then the returned Try instance will hold null as its value.
         */
        public static <U> Try<U> ofFailable(Callable<U> failable) {
            try {
                return Try.successful(failable.call());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:10:49 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  8. src/runtime/race/race_test.go

    		H = 10
    	)
    	var wg sync.WaitGroup
    	wg.Add(G)
    	for g := 0; g < G; g++ {
    		go func() {
    			defer wg.Done()
    			hold := make([][]uint32, H)
    			for i := 0; i < b.N; i++ {
    				a := make([]uint32, S)
    				atomic.AddUint32(&a[rand.Intn(len(a))], 1)
    				hold[rand.Intn(len(hold))] = a
    			}
    			_ = hold
    		}()
    	}
    	wg.Wait()
    }
    
    func BenchmarkStackLeak(b *testing.B) {
    	done := make(chan bool, 1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 6K bytes
    - Viewed (0)
  9. internal/bucket/object/lock/lock.go

    		mode = RetCompliance
    	}
    	return mode
    }
    
    // LegalHoldStatus - object legal hold status.
    type LegalHoldStatus string
    
    const (
    	// LegalHoldOn - legal hold is on.
    	LegalHoldOn LegalHoldStatus = "ON"
    
    	// LegalHoldOff - legal hold is off.
    	LegalHoldOff LegalHoldStatus = "OFF"
    )
    
    // Valid - returns true if legal hold status has valid values
    func (l LegalHoldStatus) Valid() bool {
    	switch l {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/AbstractMultimapAsMapImplementsMapTest.java

       * implementation, because {@code map.get()} returns a view collection that changes in the course
       * of a call to {@code remove()}. Thus, the expectation doesn't hold that {@code map.remove(x)}
       * returns the same value which {@code map.get(x)} did immediately beforehand.
       */
      @Override
      public void testRemove() {
        final Map<String, Collection<Integer>> map;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top