Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 7,014 for _return (0.06 sec)

  1. android/guava/src/com/google/common/primitives/Shorts.java

       * @param target a primitive {@code short} value
       * @return {@code true} if {@code array[i] == target} for some value of {@code i}
       */
      public static boolean contains(short[] array, short target) {
        for (short value : array) {
          if (value == target) {
            return true;
          }
        }
        return false;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/primitives/Shorts.java

       * @param target a primitive {@code short} value
       * @return {@code true} if {@code array[i] == target} for some value of {@code i}
       */
      public static boolean contains(short[] array, short target) {
        for (short value : array) {
          if (value == target) {
            return true;
          }
        }
        return false;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  3. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/ParserRequest.java

         * @return the command (human) name
         */
        String commandName();
    
        /**
         * Returns the logger to be used during the parsing process.
         *
         * @return the logger instance
         */
        @Nonnull
        Logger logger();
    
        /**
         * Returns the factory for creating message builders.
         *
         * @return the message builder factory
         */
        @Nonnull
        MessageBuilderFactory messageBuilderFactory();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 04 12:23:10 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/math/Stats.java

        return Collector.of(
            StatsAccumulator::new,
            (a, x) -> a.add(x.doubleValue()),
            (l, r) -> {
              l.addAll(r);
              return l;
            },
            StatsAccumulator::snapshot,
            Collector.Characteristics.UNORDERED);
      }
    
      /** Returns the number of values. */
      public long count() {
        return count;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Iterables.java

          if (c.isEmpty()) {
            return defaultValue;
          } else if (iterable instanceof List) {
            return getLastInNonemptyList(Lists.cast(iterable));
          }
        }
    
        return Iterators.getLast(iterable.iterator(), defaultValue);
      }
    
      @ParametricNullness
      private static <T extends @Nullable Object> T getLastInNonemptyList(List<T> list) {
        return list.get(list.size() - 1);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 42.8K bytes
    - Viewed (0)
  6. internal/s3select/sql/value.go

    		return "BYTES"
    	case []Value:
    		return "ARRAY"
    	case Missing:
    		return "MISSING"
    	}
    	return "--"
    }
    
    // Repr returns a string representation of value.
    func (v Value) Repr() string {
    	switch x := v.value.(type) {
    	case nil:
    		return ":NULL"
    	case bool, int64, float64:
    		return fmt.Sprintf("%v:%s", v.value, v.GetTypeString())
    	case time.Time:
    		return fmt.Sprintf("%s:TIMESTAMP", x)
    	case string:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Feb 25 20:31:19 UTC 2022
    - 20.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/FluentIterable.java

       */
      @Override
      public String toString() {
        return Iterables.toString(getDelegate());
      }
    
      /**
       * Returns the number of elements in this fluent iterable.
       *
       * <p><b>{@code Stream} equivalent:</b> {@code stream.count()}.
       */
      public final int size() {
        return Iterables.size(getDelegate());
      }
    
      /**
       * Returns {@code true} if this fluent iterable contains any object for which {@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 24 13:42:31 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  8. cmd/endpoint.go

    		return endpoint.Path
    	}
    
    	return endpoint.URL.String()
    }
    
    // Type - returns type of endpoint.
    func (endpoint Endpoint) Type() EndpointType {
    	if endpoint.Host == "" {
    		return PathEndpointType
    	}
    
    	return URLEndpointType
    }
    
    // HTTPS - returns true if secure for URLEndpointType.
    func (endpoint Endpoint) HTTPS() bool {
    	return endpoint.Scheme == "https"
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableMultimap.java

          return containsKey(object);
        }
    
        @Override
        public int count(@CheckForNull Object element) {
          Collection<V> values = map.get(element);
          return (values == null) ? 0 : values.size();
        }
    
        @Override
        public ImmutableSet<K> elementSet() {
          return keySet();
        }
    
        @Override
        public int size() {
          return ImmutableMultimap.this.size();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  10. docs/sts/client_grants/sts_element.py

            """Initialize STSElement from name and XML string data.
    
            :param name: Name for XML data. Used in XML errors.
            :param data: string data to be parsed.
            :return: Returns an STSElement.
            """
            try:
                return cls(root_name, cElementTree.fromstring(data))
            except _ETREE_EXCEPTIONS as error:
                raise InvalidXMLError(
                    '"{}" XML is not parsable. Message: {}'.format(
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 2.5K bytes
    - Viewed (0)
Back to top