Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 3,649 for objTest (0.1 sec)

  1. cmd/api-response_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"net/http"
    	"testing"
    )
    
    // Tests object location.
    func TestObjectLocation(t *testing.T) {
    	testCases := []struct {
    		request          *http.Request
    		bucket, object   string
    		domains          []string
    		expectedLocation string
    	}{
    		// Server binding to localhost IP with https.
    		{
    			request: &http.Request{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  2. cmd/s3-zip-handlers.go

    	if crypto.S3.IsRequested(r.Header) || crypto.S3KMS.IsRequested(r.Header) { // If SSE-S3 or SSE-KMS present -> AWS fails with undefined error
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrBadRequest), r.URL)
    		return
    	}
    
    	zipPath, object, err := splitZipExtensionPath(object)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  3. cmd/admin-heal-ops.go

    // healObject - heal the given object and record result
    func (h *healSequence) healObject(bucket, object, versionID string, scanMode madmin.HealScanMode) error {
    	if h.isQuitting() {
    		return errHealStopSignalled
    	}
    
    	err := h.queueHealTask(healSource{
    		bucket:    bucket,
    		object:    object,
    		versionID: versionID,
    		opts:      &h.settings,
    	}, madmin.HealItemObject)
    
    	// Wait and proceed if there are active requests
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/LegacyComparable.java

      }
    
      @Override
      public int compareTo(Object object) {
        // This method is spec'd to throw CCE if object is of the wrong type
        LegacyComparable that = (LegacyComparable) object;
        return this.value.compareTo(that.value);
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        if (object instanceof LegacyComparable) {
          LegacyComparable that = (LegacyComparable) object;
          return this.value.equals(that.value);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/user/allcommon/EsAbstractBehavior.java

            if (str == null) {
                return null;
            }
            return new String[] { str };
        }
    
        protected LocalDateTime toLocalDateTime(Object value) {
            return DfTypeUtil.toLocalDateTime(value);
        }
    
        protected Date toDate(Object value) {
            return DfTypeUtil.toDate(value);
        }
    
        protected SearchHits getSearchHits(final SearchResponse response) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

     *
     * @author George van den Driessche
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class DerivedCollectionGenerators {
      public static class MapEntrySetGenerator<K extends @Nullable Object, V extends @Nullable Object>
          implements TestSetGenerator<Entry<K, V>>, DerivedGenerator {
        private final OneSizeTestContainerGenerator<Map<K, V>, Entry<K, V>> mapGenerator;
    
        public MapEntrySetGenerator(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Serialization.java

       *
       * <p>The serialized output consists of the number of entries, first key, first value, second key,
       * second value, and so on.
       */
      static <K extends @Nullable Object, V extends @Nullable Object> void writeMap(
          Map<K, V> map, ObjectOutputStream stream) throws IOException {
        stream.writeInt(map.size());
        for (Map.Entry<K, V> entry : map.entrySet()) {
          stream.writeObject(entry.getKey());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/AbstractMultiset.java

      abstract int distinctElements();
    
      // Object methods
    
      /**
       * {@inheritDoc}
       *
       * <p>This implementation returns {@code true} if {@code object} is a multiset of the same size
       * and if, for each element, the two multisets have the same count.
       */
      @Override
      public final boolean equals(@CheckForNull Object object) {
        return Multisets.equalsImpl(this, object);
      }
    
      /**
       * {@inheritDoc}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 01 22:07:10 UTC 2021
    - 6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/SynchronizedMapTest.java

        }
    
        @Override
        public @Nullable V remove(Object object) {
          assertTrue(Thread.holdsLock(mutex));
          return super.remove(object);
        }
    
        @Override
        public void clear() {
          assertTrue(Thread.holdsLock(mutex));
          super.clear();
        }
    
        @Override
        public boolean containsKey(Object key) {
          assertTrue(Thread.holdsLock(mutex));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:23:04 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java

                      @SuppressWarnings({"unchecked", "rawtypes"})
                      public Map<TypeToken, Object> create(Object... elements) {
                        MutableTypeToInstanceMap<Object> map = new MutableTypeToInstanceMap<>();
                        for (Object object : elements) {
                          Entry<TypeToken, Object> entry = (Entry<TypeToken, Object>) object;
                          map.putInstance(entry.getKey(), entry.getValue());
                        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 7.9K bytes
    - Viewed (0)
Back to top