Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 172 for an (0.15 sec)

  1. android/guava/src/com/google/common/collect/Iterables.java

      }
    
      /**
       * Copies an iterable's elements into an array.
       *
       * @param iterable the iterable to copy
       * @return a newly-allocated array into which all the elements of the iterable have been copied
       */
      static @Nullable Object[] toArray(Iterable<?> iterable) {
        return castOrCopyToCollection(iterable).toArray();
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  2. fastapi/security/api_key.py

        the key value sent in the query parameter automatically and provides it as the
        dependency result. But it doesn't define how to send that API key to the client.
    
        ## Usage
    
        Create an instance object and use that object as the dependency in `Depends()`.
    
        The dependency result will be a string containing the key value.
    
        ## Example
    
        ```python
        from fastapi import Depends, FastAPI
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 23 22:29:18 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperties.java

         *
         * Here we automatically accept the following cases:
         * - A setter `setX` of an upgraded property is removed
         * - A boolean `isX` of an upgraded property is removed
         * - A new getter `getX` is added, where the old getter is a boolean getter `isX` of an upgraded property
         * - A return type is changed for a getter `getX` of an upgraded property
         *
    Java
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Tue Apr 23 08:40:36 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/ExecutionList.java

    import java.util.concurrent.Executor;
    import java.util.logging.Level;
    import javax.annotation.CheckForNull;
    
    /**
     * A support class for {@code ListenableFuture} implementations to manage their listeners. An
     * instance contains a list of listeners, each with an associated {@code Executor}, and guarantees
     * that every {@code Runnable} that is {@linkplain #add added} will be executed after {@link
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Equivalence.java

        return new Wrapper<>(this, reference);
      }
    
      /**
       * Wraps an object so that {@link #equals(Object)} and {@link #hashCode()} delegate to an {@link
       * Equivalence}.
       *
       * <p>For example, given an {@link Equivalence} for {@link String strings} named {@code equiv}
       * that tests equivalence using their lengths:
       *
       * <pre>{@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 24 01:41:50 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Function.java

    import com.google.common.annotations.GwtCompatible;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Determines an output value based on an input value; a pre-Java-8 version of {@link
     * java.util.function.Function java.util.function.Function}.
     *
     * <p>The {@link Functions} class provides common functions and related utilities.
     *
     * <p>See the Guava User Guide article on <a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 24 01:41:50 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/InternalSession.java

     *
     *   http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing,
     * software distributed under the License is distributed on an
     * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Apr 23 12:55:57 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Supplier.java

     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface Supplier<T extends @Nullable Object>
    {
      /**
       * Retrieves an instance of the appropriate type. The returned object may or may not be a new
       * instance, depending on the implementation.
       *
       * @return an instance of the appropriate type
       */
      @ParametricNullness
      T get();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 24 01:41:50 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Ordering.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A comparator, with additional methods to support common operations. This is an "enriched" version
     * of {@code Comparator} for pre-Java-8 users, in the same sense that {@link FluentIterable} is an
     * enriched {@link Iterable} for pre-Java-8 users.
     *
     * <h3>Three types of methods</h3>
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 39.4K bytes
    - Viewed (0)
  10. istioctl/pkg/writer/envoy/configdump/endpoint.go

    	}
    	if addr := addr.GetPipe(); addr != nil {
    		return addr.GetPath()
    	}
    	if internal := addr.GetEnvoyInternalAddress(); internal != nil {
    		switch an := internal.GetAddressNameSpecifier().(type) {
    		case *core.EnvoyInternalAddress_ServerListenerName:
    			return fmt.Sprintf("envoy://%s/%s", an.ServerListenerName, internal.EndpointId)
    		}
    	}
    	return "unknown"
    }
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sun Apr 21 17:42:54 GMT 2024
    - 5.6K bytes
    - Viewed (0)
Back to top