Search Options

Results per page
Sort
Preferred Languages
Advance

Results 601 - 610 of 1,219 for Examples (0.04 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/TestStringBiMapGenerator.java

     * @author Louis Wasserman
     */
    @GwtCompatible
    @NullMarked
    public abstract class TestStringBiMapGenerator implements TestBiMapGenerator<String, String> {
    
      @Override
      public SampleElements<Entry<String, String>> samples() {
        return new SampleElements<>(
            mapEntry("one", "January"),
            mapEntry("two", "February"),
            mapEntry("three", "March"),
            mapEntry("four", "April"),
            mapEntry("five", "May"));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/TestStringBiMapGenerator.java

     * @author Louis Wasserman
     */
    @GwtCompatible
    @NullMarked
    public abstract class TestStringBiMapGenerator implements TestBiMapGenerator<String, String> {
    
      @Override
      public SampleElements<Entry<String, String>> samples() {
        return new SampleElements<>(
            mapEntry("one", "January"),
            mapEntry("two", "February"),
            mapEntry("three", "March"),
            mapEntry("four", "April"),
            mapEntry("five", "May"));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. docs/distributed/iam-import-with-openid.sh

    	display_name="Login via dex1" \
    	role_policy="consoleAdmin"
    
    ./mc admin service restart myminio --json
    ./mc ready myminio
    ./mc admin cluster iam import myminio docs/distributed/samples/myminio-iam-info-openid.zip
    
    # Verify if buckets / objects accessible using service account
    echo "Verifying buckets and objects access for the imported service account"
    
    ./mc ls myminio1/ --json
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Sep 17 16:45:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/primitives/Doubles.java

       * specified by {@link Double#toString(double)}, and separated by {@code separator}. For example,
       * {@code join("-", 1.0, 2.0, 3.0)} returns the string {@code "1.0-2.0-3.0"}.
       *
       * <p>Note that {@link Double#toString(double)} formats {@code double} differently in GWT
       * sometimes. In the previous example, it returns the string {@code "1-2-3"}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.7K bytes
    - Viewed (0)
  5. samples/tlssurvey/src/main/kotlin/okhttp3/survey/Iana.kt

    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.coroutines.executeAsync
    import okhttp3.survey.types.SuiteId
    import okio.ByteString.Companion.decodeHex
    import okio.IOException
    
    /** Example: "0x00,0x08",TLS_RSA_EXPORT_WITH_DES40_CBC_SHA,Y,N,[RFC4346] */
    val IANA_CSV_PATTERN = "\"0x(\\w\\w),0x(\\w\\w)\",(\\w+).*".toRegex()
    
    fun parseIanaCsvRow(s: String): SuiteId? {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2K bytes
    - Viewed (0)
  6. api/maven-api-di/src/main/java/org/apache/maven/api/di/Named.java

     * This annotation can be used in conjunction with {@link Inject} to specify
     * which implementation should be injected when multiple candidates exist.
     * The value represents a unique identifier for the dependency.
     * <p>
     * Example usage:
     * <pre>
     * {@literal @}Inject
     * {@literal @}Named("mysql")
     * private Repository mysqlRepository;
     * </pre>
     *
     * @see Inject
     * @see Qualifier
     * @since 4.0.0
     */
    @Qualifier
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jan 30 23:28:59 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  7. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/LanguageProvider.java

     * through the Java ServiceLoader mechanism and their provided languages will be available
     * throughout the Maven build process.
     * <p>
     * Example usage:
     * <pre>
     * public class CustomLanguageProvider implements LanguageProvider {
     *     public Collection&lt;Language&gt; provides() {
     *         return Collections.singleton(language("kotlin"));
     *     }
     * }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/reflect/TypeParameter.java

    import java.lang.reflect.Type;
    import java.lang.reflect.TypeVariable;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Captures a free type variable that can be used in {@link TypeToken#where}. For example:
     *
     * {@snippet :
     * static <T> TypeToken<List<T>> listOf(Class<T> elementType) {
     *   return new TypeToken<List<T>>() {}
     *       .where(new TypeParameter<T>() {}, elementType);
     * }
     * }
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java

       * thread, which may start up other, non-daemon threads, but fail to fully initialize the
       * application successfully.
       *
       * <p>Example usage:
       *
       * <pre>
       * public static void main(String[] args) {
       *   Thread.currentThread().setUncaughtExceptionHandler(UncaughtExceptionHandlers.systemExit());
       *   ...
       * </pre>
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Feb 10 21:03:40 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/cache/package-info.java

     *   <li>SESSION_SCOPED - Data retained for the duration of a Maven session</li>
     *   <li>REQUEST_SCOPED - Data retained only for the current build request</li>
     *   <li>DISABLED - No caching performed</li>
     * </ul>
     * <p>
     * Example usage:
     * <pre>
     * RequestCache cache = cacheFactory.createCache();
     * Result result = cache.request(myRequest, req -> {
     *     // Expensive operation to compute result
     *     return computedResult;
     * });
     * </pre>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 2.3K bytes
    - Viewed (0)
Back to top