Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 401 - 410 of 991 for toOptional (0.06 seconds)

  1. android/guava-tests/test/com/google/common/io/ByteSourceTester.java

    import static java.nio.charset.StandardCharsets.UTF_8;
    import static org.junit.Assert.assertArrayEquals;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.base.Optional;
    import com.google.common.collect.ImmutableList;
    import com.google.common.hash.HashCode;
    import java.io.ByteArrayInputStream;
    import java.io.ByteArrayOutputStream;
    import java.io.IOException;
    import java.io.InputStream;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 8.6K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/curl/CurlException.java

    /**
     * Custom exception class for handling errors related to Curl operations.
     * This class extends {@link RuntimeException} and provides constructors
     * to create an exception instance with a message and an optional cause.
     *
     * <p>Usage examples:</p>
     * <pre>
     *     throw new CurlException("Error message");
     *     throw new CurlException("Error message", cause);
     * </pre>
     *
     * @see RuntimeException
     */
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Jul 05 01:38:18 GMT 2025
    - 2K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetFeature.java

    import com.google.common.collect.testing.features.TesterAnnotation;
    import java.lang.annotation.Inherited;
    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.util.Set;
    
    /**
     * Optional features of classes derived from {@link Multiset}.
     *
     * @author Louis Wasserman
     */
    @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package?
    @GwtCompatible
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 30 16:59:10 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/storage/GcsStorageClient.java

         *
         * @param projectId the GCS project ID
         * @param bucket the bucket name
         * @param endpoint the custom endpoint URL (optional, for fake-gcs-server etc.)
         * @param credentialsPath the path to the credentials JSON file (optional)
         */
        public GcsStorageClient(final String projectId, final String bucket, final String endpoint, final String credentialsPath) {
            this.bucket = bucket;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 13 02:21:17 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  5. impl/maven-cli/pom.xml

          <artifactId>commons-cli</artifactId>
        </dependency>
        <dependency>
          <groupId>ch.qos.logback</groupId>
          <artifactId>logback-classic</artifactId>
          <optional>true</optional>
        </dependency>
    
        <dependency>
          <groupId>org.junit.jupiter</groupId>
          <artifactId>junit-jupiter-api</artifactId>
          <scope>test</scope>
        </dependency>
        <dependency>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/SmbTransportImplTest.java

            assertNull(transport.getServerEncryptionKey());
        }
    
        @Test
        @DisplayName("Signing enforced/optional adhere to flags and negotiation")
        void signingModes() throws Exception {
            // Enforced via constructor flag -> optional false, enforced true regardless of negotiation
            SmbTransportImpl enforced = new SmbTransportImpl(ctx, address, 445, null, 0, true);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.6K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/annotations/GwtIncompatible.java

       * dependence on a type/method which GWT doesn't support, it is sufficient to simply reference the
       * unsupported type/method. E.g. "Class.isInstance".
       *
       * <p>As of Guava 20.0, this value is optional. We encourage authors who wish to describe why an
       * API is {@code @GwtIncompatible} to instead leave an implementation comment.
       */
      String value() default "";
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Dec 16 19:54:45 GMT 2020
    - 1.9K bytes
    - Click Count (0)
  8. tests/test_custom_middleware_exception.py

    router = APIRouter()
    
    
    class ContentSizeLimitMiddleware:
        """Content size limiting middleware for ASGI applications
        Args:
          app (ASGI application): ASGI application
          max_content_size (optional): the maximum content size allowed in bytes, None for no limit
        """
    
        def __init__(self, app: APIRouter, max_content_size: int | None = None):
            self.app = app
            self.max_content_size = max_content_size
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  9. cmd/metrics-router.go

    	metricsRouter.Handle(prometheusMetricsV2ResourcePath, auth(metricsResourceHandler()))
    
    	// Metrics v3
    	metricsV3Server := newMetricsV3Server(auth)
    
    	// Register metrics v3 handler. It also accepts an optional query
    	// parameter `?list` - see handler for details.
    	metricsRouter.Methods(http.MethodGet).Path(metricsV3Path + "{pathComps:.*}").Handler(metricsV3Server)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Jul 15 16:28:02 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  10. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/DependencyLicensesTask.java

    import org.gradle.api.logging.Logging;
    import org.gradle.api.tasks.Input;
    import org.gradle.api.tasks.InputDirectory;
    import org.gradle.api.tasks.InputFiles;
    import org.gradle.api.tasks.Internal;
    import org.gradle.api.tasks.Optional;
    import org.gradle.api.tasks.OutputDirectory;
    import org.gradle.api.tasks.TaskAction;
    
    import java.io.File;
    import java.io.IOException;
    import java.nio.charset.StandardCharsets;
    import java.nio.file.Files;
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Jul 26 12:16:14 GMT 2021
    - 14.3K bytes
    - Click Count (0)
Back to Top