Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 221 - 230 of 1,248 for Present (0.05 seconds)

  1. internal/handlers/proxy_test.go

    	req := &http.Request{
    		Header: http.Header{
    			xForwardedFor: []string{"8.8.8.8"},
    			xRealIP:       []string{"1.1.1.1"},
    		},
    	}
    	// When X-Forwarded-For and X-Real-IP headers are both present, X-Forwarded-For takes precedence.
    	res := GetSourceIP(req)
    	if res != "8.8.8.8" {
    		t.Errorf("wrong header, xff takes precedence: got %s, want: 8.8.8.8", res)
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Feb 26 19:25:49 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/SMBProtocolDowngradeExceptionTest.java

            // Assert - message preserved, cause null
            assertEquals(message, ex.getMessage());
            assertNull(ex.getCause());
    
            // Assert - toString starts with class name and contains message when present
            if (message == null) {
                assertEquals(SMBProtocolDowngradeException.class.getName(), ex.toString());
            } else if (message.isEmpty()) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CertificatePinner.kt

     *    one prefix (`www.publicobject.com`, `api.publicobject.com`). Be careful with this approach as
     *    no pinning will be enforced if additional prefixes are present, or if no prefixes are present.
     *
     * Note that any other form is unsupported. You may not use asterisks in any position other than
     * the leftmost label.
     *
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 14.2K bytes
    - Click Count (1)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java

         * <ul>
         *   <li>The project's artifacts ({@link Project#getArtifacts()}):
         *     <ul>
         *       <li>The POM artifact (always present)</li>
         *       <li>The main project artifact (if applicable based on packaging)</li>
         *     </ul>
         *   </li>
         *   <li>All attached artifacts in the order they were attached</li>
         * </ul>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jan 30 23:29:13 GMT 2025
    - 12K bytes
    - Click Count (0)
  5. cmd/object-handlers.go

    			return
    		}
    	}
    
    	// If src == dst and either
    	// - the object is encrypted using SSE-C and two different SSE-C keys are present
    	// - the object is encrypted using SSE-S3 and the SSE-S3 header is present
    	// - the object storage class is not changing
    	// then execute a key rotation.
    	if cpSrcDstSame && (sseCopyC && sseC) && !chStorageClass {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 120.6K bytes
    - Click Count (0)
  6. architecture/standards/0007-java-pre-requisite.md

    Gradle can be invoked in different ways:
    * Through the [Gradle Wrapper](https://docs.gradle.org/8.8/userguide/gradle_wrapper.html)
      * It currently requires a JVM and will download the Gradle distribution if it is not already present.
    * A Gradle version installed on the system
      * This starts the [Gradle Launcher](https://blog.gradle.org/how-gradle-works-1#local-gradle-distribution-in-cli), which itself requires a JVM
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 05 12:39:41 GMT 2026
    - 3.2K bytes
    - Click Count (0)
  7. doc/README.md

    `doc/next/*stdlib/*minor`.
    The files should be in the subdirectory for the package with the new
    API, and should be named after the issue number of the API proposal.
    For example, if the directory `6-stdlib/99-minor` is present,
    then an `api/next` file with the line
    
        pkg net/http, function F #12345
    
    should have a corresponding file named `doc/next/6-stdlib/99-minor/net/http/12345.md`.
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Jul 22 17:55:04 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb1/smb1/SmbExceptionTest.java

            SmbException ex = new SmbException("oops", root);
            assertSame(root, ex.getRootCause());
        }
    
        /**
         * Verify that {@link #toString()} includes a stack trace when a root cause
         * is present.
         */
        @Test
        @DisplayName("toString with root cause contains stack trace")
        void testToStringWithRootCause() {
            RuntimeException cause = new RuntimeException("boom");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/Streams.java

      }
    
      /**
       * If a value is present in {@code optional}, returns a stream containing only that element,
       * otherwise returns an empty stream.
       */
      public static <T> Stream<T> stream(com.google.common.base.Optional<T> optional) {
        return optional.isPresent() ? Stream.of(optional.get()) : Stream.empty();
      }
    
      /**
       * If a value is present in {@code optional}, returns a stream containing only that element,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 36.4K bytes
    - Click Count (0)
  10. guava-testlib/src/com/google/common/collect/testing/PerCollectionSizeTestSuiteBuilder.java

    import java.util.Set;
    import java.util.logging.Logger;
    import junit.framework.TestSuite;
    
    /**
     * This builder creates a composite test suite, containing a separate test suite for each {@link
     * CollectionSize} present in the features specified by {@link #withFeatures(Feature...)}.
     *
     * @param <B> The concrete type of this builder (the 'self-type'). All the Builder methods of this
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 5.4K bytes
    - Click Count (0)
Back to Top