Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 319 for Main (0.01 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/kt/DevServer.kt

            if (!response.isSuccessful) throw IOException("Unexpected code $response")
    
            println(response.request.url)
          }
        } finally {
          server.shutdown()
        }
      }
    }
    
    fun main() {
      DevServer().run()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/kt/ParseResponseWithMoshi.kt

      @JsonClass(generateAdapter = true)
      data class Gist(
        var files: Map<String, GistFile>?,
      )
    
      @JsonClass(generateAdapter = true)
      data class GistFile(
        var content: String?,
      )
    }
    
    fun main() {
      ParseResponseWithMoshi().run()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/ListenableFuture.java

     * href="https://github.com/google/guava/wiki/ListenableFutureExplained">{@code
     * ListenableFuture}</a>.
     *
     * <p>This class is GWT-compatible.
     *
     * <h3>Purpose</h3>
     *
     * <p>The main purpose of {@code ListenableFuture} is to help you chain together a graph of
     * asynchronous operations. You can chain them together manually with calls to methods like {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 8K bytes
    - Viewed (0)
  4. dbflute_fess/dfprop/documentMap.dfprop

    #         ; schema = EXAMPLEDB
    #         ; user = exampuser
    #         ; password = exampword
    #     }
    #     ; propertiesHtmlMap = map:{
    #         ; ApplicationProperties = map:{
    #             ; rootFile = ../src/main/resources/application_ja.properties
    #         }
    #     }
    # }
    #
    # *The line that starts with '#' means comment-out.
    #
    map:{
        # /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Oct 31 23:35:14 UTC 2015
    - 9.4K bytes
    - Viewed (0)
  5. samples/guide/src/main/java/okhttp3/recipes/PostForm.java

          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
          System.out.println(response.body().string());
        }
      }
    
      public static void main(String... args) throws Exception {
        new PostForm().run();
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun May 22 01:29:42 UTC 2016
    - 1.4K bytes
    - Viewed (0)
  6. apache-maven/src/assembly/maven/bin/m2.conf

    # KIND, either express or implied.  See the License for the
    # specific language governing permissions and limitations
    # under the License.
    
    set maven.mainClass default org.apache.maven.cling.MavenCling
    
    main is ${maven.mainClass} from plexus.core
    
    set maven.conf default ${maven.home}/conf
    set maven.installation.conf default ${maven.conf}
    
    [plexus.core]
    load       ${maven.conf}/logging
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Mon Jul 28 07:45:35 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  7. android-test/src/androidTest/java/okhttp/android/test/StrictModeTest.kt

        assertThat(violations[0].message).isEqualTo("newSSLContext")
      }
    
      @Test
      fun testNewCall() {
        Platform.resetForTests()
    
        val client = OkHttpClient()
    
        applyStrictMode()
    
        // Safe on main
        client.newCall(Request("https://google.com/robots.txt".toHttpUrl()))
    
        assertThat(violations).isEmpty()
      }
    
      private fun applyStrictMode() {
        StrictMode.setThreadPolicy(
          ThreadPolicy
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu May 22 14:39:30 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  8. samples/guide/src/main/java/okhttp3/recipes/LoggingInterceptors.java

          logger.info(String.format("Received response for %s in %.1fms%n%s",
              request.url(), (t2 - t1) / 1e6d, response.headers()));
          return response;
        }
      }
    
      public static void main(String... args) throws Exception {
        new LoggingInterceptors().run();
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jan 01 15:55:32 UTC 2016
    - 2K bytes
    - Viewed (0)
  9. samples/guide/src/main/java/okhttp3/recipes/kt/Authenticate.kt

        client.newCall(request).execute().use { response ->
          if (!response.isSuccessful) throw IOException("Unexpected code $response")
    
          println(response.body.string())
        }
      }
    }
    
    fun main() {
      Authenticate().run()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/util/SecureKeyManagerTest.java

            // Remove main key
            keyManager.removeSessionKey(sessionId);
    
            // Verify main key is removed (archives stay)
            assertFalse(keyManager.hasSessionKey(sessionId), "Main key should be removed");
            // Note: Archives are not automatically removed when removing main key
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
Back to top