Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 7,014 for rreturn (0.13 sec)

  1. cmd/signature-v4-utils.go

    	}
    
    	// We found 'X-Amz-Content-Sha256' return the captured value.
    	if ok {
    		return v[0]
    	}
    
    	// We couldn't find 'X-Amz-Content-Sha256'.
    	return defaultSha256Cksum
    }
    
    // isValidRegion - verify if incoming region value is valid with configured Region.
    func isValidRegion(reqRegion string, confRegion string) bool {
    	if confRegion == "" {
    		return true
    	}
    	if confRegion == "US" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableList.java

        checkPositionIndexes(fromIndex, toIndex, size());
        int length = toIndex - fromIndex;
        if (length == size()) {
          return this;
        } else if (length == 0) {
          return of();
        } else if (length == 1) {
          return of(get(fromIndex));
        } else {
          return subListUnchecked(fromIndex, toIndex);
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 16 19:14:45 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  3. cmd/generic-handlers.go

    				if r.TLS != nil {
    					scheme = "https"
    				}
    				return scheme
    			}(),
    		}
    	}
    	return nil
    }
    
    // guessIsHealthCheckReq - returns true if incoming request looks
    // like healthCheck request
    func guessIsHealthCheckReq(req *http.Request) bool {
    	if req == nil {
    		return false
    	}
    	aType := getRequestAuthType(req)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  4. 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)
  5. internal/config/notify/parse.go

    				return nil, err
    			}
    			targets = append(targets, t)
    		}
    	case config.NotifyESSubSys:
    		esTargets, err := GetNotifyES(cfg[config.NotifyESSubSys], transport)
    		if err != nil {
    			return nil, err
    		}
    		for id, args := range esTargets {
    			if !args.Enable {
    				continue
    			}
    			t, err := target.NewElasticsearchTarget(id, args, logOnceIf)
    			if err != nil {
    				return nil, err
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 47K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. android/guava/src/com/google/common/base/Equivalence.java

              return equivalence.equivalent(this.reference, that.reference);
            }
          }
          return false;
        }
    
        /** Returns the result of {@link Equivalence#hash(Object)} applied to the wrapped reference. */
        @Override
        public int hashCode() {
          return equivalence.hash(reference);
        }
    
        /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu May 16 14:34:47 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/Location.java

    public interface Location {
    
        /**
         * Return the line number where the current event ends,
         * returns -1 if none is available.
         * @return the current line number
         */
        int getLineNumber();
    
        /**
         * Return the column number where the current event ends,
         * returns -1 if none is available.
         * @return the current column number
         */
        int getColumnNumber();
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/io/CharSource.java

          if (charset.equals(this.charset)) {
            return CharSource.this;
          }
          return super.asCharSource(charset);
        }
    
        @Override
        public InputStream openStream() throws IOException {
          return new ReaderInputStream(CharSource.this.openStream(), charset, 8192);
        }
    
        @Override
        public String toString() {
          return CharSource.this.toString() + ".asByteSource(" + charset + ")";
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 25.5K bytes
    - Viewed (0)
Back to top