Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 6,271 for _return (0.1 sec)

  1. guava/src/com/google/common/collect/CompactHashing.java

      static int getHashPrefix(int value, int mask) {
        return value & ~mask;
      }
    
      /** Returns the index, or 0 if the entry is "null". */
      static int getNext(int entry, int mask) {
        return entry & mask;
      }
    
      /** Returns a new value combining the prefix and suffix using the given mask. */
      static int maskCombine(int prefix, int suffix, int mask) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 15:34:52 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableBiMap.java

      public static <K, V> ImmutableBiMap<K, V> of() {
        return (ImmutableBiMap<K, V>) RegularImmutableBiMap.EMPTY;
      }
    
      /** Returns an immutable bimap containing a single entry. */
      public static <K, V> ImmutableBiMap<K, V> of(K k1, V v1) {
        checkEntryNotNull(k1, v1);
        return new RegularImmutableBiMap<>(new Object[] {k1, v1}, 1);
      }
    
      /**
       * Returns an immutable map containing the given entries, in order.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  3. internal/config/lambda/event/targetlist.go

    	arn, err := ParseARN(arnStr)
    	if err != nil {
    		return nil, err
    	}
    
    	id, found := list.targets[arn.TargetID]
    	if !found {
    		return nil, &ErrARNNotFound{}
    	}
    	return id, nil
    }
    
    // TargetIDResult returns result of Remove/Send operation, sets err if
    // any for the associated TargetID
    type TargetIDResult struct {
    	// ID where the remove or send were initiated.
    	ID TargetID
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Mar 07 16:12:41 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  4. internal/bucket/object/lock/lock.go

    		return &ret, ErrPastObjectLockRetainDate
    	}
    
    	if !ret.RetainUntilDate.IsZero() && ret.RetainUntilDate.Before(t) {
    		return &ret, ErrPastObjectLockRetainDate
    	}
    
    	return &ret, nil
    }
    
    // IsObjectLockRetentionRequested returns true if object lock retention headers are set.
    func IsObjectLockRetentionRequested(h http.Header) bool {
    	if _, ok := h[AmzObjectLockMode]; ok {
    		return true
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jun 29 01:20:27 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java

      }
    
      /**
       * Returns the length of the array.
       *
       * @return the length of the array
       */
      public final int length() {
        return longs.length();
      }
    
      /**
       * Gets the current value at position {@code i}.
       *
       * @param i the index
       * @return the current value
       */
      public final double get(int i) {
        return longBitsToDouble(longs.get(i));
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 17:55:55 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  6. internal/logger/reqinfo.go

    		return nil
    	}
    	r.RLock()
    	defer r.RUnlock()
    	m := make(map[string]string, len(r.tags))
    	for _, t := range r.tags {
    		m[t.Key] = t.Val
    	}
    	return m
    }
    
    // PopulateTagsMap - returns the user defined tags in a map structure
    func (r *ReqInfo) PopulateTagsMap(tagsMap map[string]string) {
    	if r == nil {
    		return
    	}
    	if tagsMap == nil {
    		return
    	}
    	r.RLock()
    	defer r.RUnlock()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/Cookie.kt

            url.host == domain
          } else {
            domainMatch(url.host, domain)
          }
        if (!domainMatch) return false
    
        if (!pathMatch(url, path)) return false
    
        return !secure || url.isHttps
      }
    
      override fun equals(other: Any?): Boolean {
        return other is Cookie &&
          other.name == name &&
          other.value == value &&
          other.expiresAt == expiresAt &&
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:12:05 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Table.java

       *
       * @return set of table cells consisting of row key / column key / value triplets
       */
      Set<Cell<R, C, V>> cellSet();
    
      /**
       * Returns a set of row keys that have one or more values in the table. Changes to the set will
       * update the underlying table, and vice versa.
       *
       * @return set of row keys
       */
      Set<R> rowKeySet();
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/io/Files.java

                  return Collections.unmodifiableList(Arrays.asList(files));
                }
              }
    
              return ImmutableList.of();
            }
          };
    
      /**
       * Returns a predicate that returns the result of {@link File#isDirectory} on input files.
       *
       * @since 15.0
       */
      public static Predicate<File> isDirectory() {
        return FilePredicate.IS_DIRECTORY;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:03:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  10. internal/crypto/header.go

    		return true
    	}
    	return false
    }
    
    // ParseHTTP parses the SSE-C copy headers and returns the SSE-C client key
    // on success. Regular SSE-C headers are ignored.
    func (ssecCopy) ParseHTTP(h http.Header) (key [32]byte, err error) {
    	if h.Get(xhttp.AmzServerSideEncryptionCopyCustomerAlgorithm) != xhttp.AmzEncryptionAES {
    		return key, ErrInvalidCustomerAlgorithm
    	}
    	if h.Get(xhttp.AmzServerSideEncryptionCopyCustomerKey) == "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top