Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 727 for examples (0.03 sec)

  1. guava/src/com/google/common/hash/ParametricNullness.java

    import java.lang.annotation.Retention;
    import java.lang.annotation.Target;
    
    /**
     * Annotates a "top-level" type-variable usage that takes its nullness from the type argument
     * supplied by the user of the class. For example, {@code Multiset.Entry.getElement()} returns
     * {@code @ParametricNullness E}, which means:
     *
     * <ul>
     *   <li>{@code getElement} on a {@code Multiset.Entry<@NonNull String>} returns {@code @NonNull
     *       String}.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 16:20:21 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/RegexRule.java

     * </p>
     *
     * <p>
     * Example usage:
     * </p>
     *
     * <pre>
     * {@code
     * RegexRule rule = new RegexRule();
     * rule.addRule("url", "https://example.com/.*");
     * rule.addRule("contentType", "text/html");
     * rule.setAllRequired(true); // Both URL and content type must match
     *
     * ResponseData responseData = new ResponseData();
     * responseData.setUrl("https://example.com/page1");
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  3. mockwebserver/src/main/kotlin/mockwebserver3/RecordedRequest.kt

       * header to create the request URL.
       *
       * For HTTP proxy requests this will be either an absolute-form string like
       * `http://example.com/index.html` (HTTP proxy) or an authority-form string like
       * `example.com:443` (HTTPS proxy).
       *
       * For OPTIONS requests, this may be an asterisk, `*`.
       */
      public val target: String,
      /** A string like `HTTP/1.1` or `HTTP/2`. */
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 3.2K bytes
    - Viewed (1)
  4. src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenAliasTest.java

        @Test
        @DisplayName("Should correctly initialize MsrpcSamrOpenAlias with provided parameters")
        void testConstructorInitialization() {
            // Given
            int access = 0x01; // Example access value
            int rid = 123; // Example RID value
    
            // When
            MsrpcSamrOpenAlias msrpcSamrOpenAlias = new MsrpcSamrOpenAlias(mockDomainHandle, access, rid, mockAliasHandle);
    
            // Then
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  5. README.md

    implementation 'org.codelibs:curl4j:x.y.z'
    ```
    
    ## Quick Start
    
    ### Synchronous request
    
    ```java
    import org.codelibs.curl.Curl;
    import org.codelibs.curl.CurlResponse;
    
    try (CurlResponse response = Curl.get("https://example.com")
                                    .param("q", "curl4j")
                                    .header("Accept", "application/json")
                                    .execute()) {
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/RequestCommonTest.kt

    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.RequestBody.Companion.toRequestBody
    import okhttp3.internal.EmptyTags
    
    class RequestCommonTest {
      @Test
      fun constructorNormal() {
        val url = "https://example.com/".toHttpUrl()
        val body = "hello".toRequestBody()
        val headers = headersOf("User-Agent", "RequestTest")
        val method = "PUT"
        val request =
          Request(
            url = url,
            headers = headers,
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 24 11:36:14 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/UniAddressTest.java

        @Test
        void getHostNameDelegatesToWrappedInetAddress() {
            InetAddress dummy = mock(InetAddress.class);
            when(dummy.getHostName()).thenReturn("host.example.com");
            UniAddress ua = new UniAddress(dummy);
            assertEquals("host.example.com", ua.getHostName(), "should forward hostName to underlying InetAddress");
        }
    
        @Test
        void getHostAddressDelegatesToWrappedInetAddress() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/sso/saml/SamlAuthenticator.java

     * saml.sp.base.url=https://your-fess-server.example.com
     * </pre>
     *
     * <h3>Option 2: Set individual SP URLs</h3>
     * <pre>
     * # SP Entity ID (Audience URI in IdP)
     * saml.sp.entityid=https://your-fess-server.example.com/sso/metadata
     *
     * # Assertion Consumer Service URL
     * saml.sp.assertion_consumer_service.url=https://your-fess-server.example.com/sso/
     *
     * # Single Logout Service URL
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sun Dec 14 01:18:25 UTC 2025
    - 20.2K bytes
    - Viewed (3)
  9. okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformUrlTestData.kt

     * JavaScript parser `urltestparser.js` with which this class attempts to be compatible.
     *
     * Each line of the `urltestdata.txt` file specifies a test. Lines look like this:
     *
     * ```
     * http://example\t.\norg http://example.org/foo/bar s:http h:example.org p:/
     * ```
     */
    class WebPlatformUrlTestData {
      var input: String? = null
      var base: String? = null
      var scheme = ""
      var username = ""
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformToAsciiTest.kt

          // OkHttp doesn't reject U+FFFD encoded in Punycode.
          "xn--zn7c.com",
          // OkHttp doesn't reject a U+200D. https://www.rfc-editor.org/rfc/rfc5892.html#appendix-A.2
          "xn--1ug.example",
          // OkHttp doesn't implement CheckJoiners.
          "\u200D.example",
          // OkHttp doesn't implement CheckBidi.
          "يa",
        )
    
      @Test
      fun test() {
        val list = WebPlatformToAsciiData.load()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top