Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 901 - 910 of 1,316 for api1 (0.01 seconds)

  1. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.private-javadoc.gradle.kts

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    import org.gradle.api.tasks.javadoc.Javadoc
    import org.gradle.external.javadoc.StandardJavadocDocletOptions
    
    // Configures javadoc task for java projects, ensuring javadoc is compliant.
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Aug 20 14:11:17 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  2. build-logic-settings/configuration-cache-compatibility/src/main/kotlin/gradlebuild.configuration-cache-compatibility.settings.gradle.kts

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    import org.gradle.api.internal.plugins.DslObject
    
    run {
    
        fun String.startsWithAnyOf(vararg prefixes: String): Boolean =
            prefixes.any { prefix -> startsWith(prefix) }
    
        fun Task.typeSimpleName(): String =
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 26 15:18:40 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  3. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/StandardAndroidSocketAdapter.kt

     *
     * It's assumed to always be present with known class names on Android devices, so we build
     * optimistically via [buildIfSupported]. But it also doesn't assume a compile time API.
     */
    class StandardAndroidSocketAdapter(
      sslSocketClass: Class<in SSLSocket>,
      private val sslSocketFactoryClass: Class<in SSLSocketFactory>,
      private val paramClass: Class<*>,
    ) : AndroidSocketAdapter(sslSocketClass) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Jan 10 09:36:53 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  4. samples/guide/src/main/java/okhttp3/recipes/RewriteResponseCacheControl.java

            .build();
      }
    
      public void run() throws Exception {
        for (int i = 0; i < 5; i++) {
          System.out.println("    Request: " + i);
    
          Request request = new Request.Builder()
              .url("https://api.github.com/search/repositories?q=http")
              .build();
    
          OkHttpClient clientForCall;
          if (i == 2) {
            // Force this request's response to be written to the cache. This way, subsequent responses
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Jan 12 03:31:36 GMT 2019
    - 2.6K bytes
    - Click Count (0)
  5. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/repositories-extensions.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.basics
    
    import org.gradle.api.artifacts.dsl.RepositoryHandler
    
    
    fun RepositoryHandler.googleApisJs() {
        ivy {
            name = "googleApisJs"
            setUrl("https://ajax.googleapis.com/ajax/libs")
            patternLayout {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Jan 22 16:47:41 GMT 2026
    - 1.1K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/SettingsTest.kt

     */
    package okhttp3.internal.http2
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import assertk.assertions.isFalse
    import assertk.assertions.isTrue
    import org.junit.jupiter.api.Test
    
    class SettingsTest {
      @Test
      fun unsetField() {
        val settings = Settings()
        assertThat(settings.isSet(Settings.MAX_CONCURRENT_STREAMS)).isFalse()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/ResponseJvmTest.kt

    import okhttp3.ResponseBody.Companion.toResponseBody
    import okio.Buffer
    import okio.BufferedSource
    import okio.Source
    import okio.Timeout
    import okio.buffer
    import org.junit.jupiter.api.Test
    
    class ResponseJvmTest {
      @Test
      fun testEmptyByDefaultIfTrailersNotSet() {
        val response = newResponse("".toResponseBody())
    
        assertThat(response.trailers()).isEmpty()
      }
    
      @Test
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jul 07 18:57:05 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsItemTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.dict.protwords;
    
    import static org.junit.jupiter.api.Assertions.assertNotSame;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.junit.jupiter.api.Test;
    
    public class ProtwordsItemTest extends UnitFessTestCase {
    
        @Test
        public void test_constructor_withIdZero() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/util/JvmUtilTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.util;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.TestInfo;
    
    public class JvmUtilTest extends UnitFessTestCase {
        @Test
        public void test_getJavaVersion() {
            System.setProperty("java.version", "1.4.2_19");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 10.6K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/idn/IdnaMappingTableTest.kt

    import assertk.assertions.isLessThan
    import kotlin.test.assertEquals
    import kotlin.test.assertFailsWith
    import okio.Buffer
    import okio.FileSystem
    import okio.Path.Companion.toPath
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Test
    
    /** Confirm we get the expected table whether we build it from the .txt file or compact that. */
    class IdnaMappingTableTest {
      private lateinit var table: SimpleIdnaMappingTable
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 8.9K bytes
    - Click Count (0)
Back to Top