Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1101 - 1110 of 3,181 for code2 (0.05 sec)

  1. okhttp/src/test/java/okhttp3/ResponseJvmTest.kt

      }
    
      private fun newResponse(
        responseBody: ResponseBody,
        code: Int = 200,
        fn: Response.Builder.() -> Unit = {},
      ): Response {
        return Response.Builder()
          .request(
            Request.Builder()
              .url("https://example.com/")
              .build(),
          )
          .protocol(Protocol.HTTP_1_1)
          .code(code)
          .message("OK")
          .body(responseBody)
          .apply { fn() }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/PathScope.java

     * {@link #TEST_COMPILE} and {@link #TEST_RUNTIME}, but can be extended by registering a
     * {@code org.apache.maven.api.spi.PathScopeProvider}.
     * <p>
     * Implementation must have {@code equals()} and {@code hashCode()} implemented, so implementations of this interface
     * can be used as keys.
     *
     * @since 4.0.0
     * @see org.apache.maven.api.services.DependencyResolver
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Jul 10 20:52:34 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. api/maven-api-model/src/main/java/org/apache/maven/api/model/InputSource.java

            this.importedFrom = null;
        }
    
        /**
         * Get the path/URL of the POM or {@code null} if unknown.
         *
         * @return the location
         */
        public String getLocation() {
            return this.location;
        }
    
        /**
         * Get the identifier of the POM in the format {@code <groupId>:<artifactId>:<version>}.
         *
         * @return the model id
         */
        public String getModelId() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Aug 15 13:24:49 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/RegularImmutableMap.java

       *
       * @param keyOffset 1 if this is the reverse direction of a BiMap, 0 otherwise.
       * @return an {@code Object} that is a {@code byte[]}, {@code short[]}, or {@code int[]}, the
       *     smallest possible to fit {@code tableSize}; or an {@code Object[]} where [0] is one of
       *     these; [1] indicates how many element pairs in {@code alternatingKeysAndValues} are valid;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 15 22:32:14 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/LocalCache.java

          return map.entryFactory.newEntry(this, checkNotNull(key), hash, next);
        }
    
        /**
         * Copies {@code original} into a new entry chained to {@code newNext}. Returns the new entry,
         * or {@code null} if {@code original} was already garbage collected.
         */
        @CheckForNull
        @GuardedBy("this")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  6. compat/maven-builder-support/src/main/java/org/apache/maven/building/FileSource.java

         *
         * @param file The file, must not be {@code null}.
         * @deprecated Use {@link #FileSource(Path)} instead.
         */
        @Deprecated
        public FileSource(File file) {
            this(Objects.requireNonNull(file, "file cannot be null").toPath());
        }
    
        /**
         * Creates a new source backed by the specified file.
         *
         * @param path The file, must not be {@code null}.
         * @since 4.0.0
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/util/concurrent/testing/MockFutureListener.java

          throw e.getCause();
        }
      }
    
      /**
       * Verify that the listener completes in a reasonable amount of time, and Asserts that the future
       * throws an {@code ExecutableException} and that the cause of the {@code ExecutableException} is
       * {@code expectedCause}.
       */
      public void assertException(Throwable expectedCause) throws Exception {
        // Verify that the listener executed in a reasonable amount of time.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 18:12:42 UTC 2023
    - 3K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/ConnectionListenerTest.kt

        val call =
          client.newCall(
            Request.Builder()
              .url(server!!.url("/"))
              .build(),
          )
        val response = call.execute()
        assertThat(response.code).isEqualTo(200)
        assertThat(response.body.string()).isEqualTo("abc")
        response.body.close()
        assertThat(listener.recordedEventTypes()).containsExactly(
          "ConnectStart",
          "ConnectEnd",
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  9. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.java-shared-runtime.gradle.kts

    plugins {
        `java-library`
        groovy
    
        id("gradlebuild.ci-reporting")
        id("gradlebuild.code-quality")
        id("gradlebuild.module-jar")
        id("gradlebuild.repositories")
        id("gradlebuild.reproducible-archives")
        id("gradlebuild.private-javadoc")
    }
    
    description = "A plugin that sets up a Java code that is shared between build-logic and runtime"
    
    java {
        configureJavaToolChain()
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Sep 30 15:18:07 UTC 2024
    - 779 bytes
    - Viewed (0)
  10. fastapi/exception_handlers.py

        )
    
    
    async def websocket_request_validation_exception_handler(
        websocket: WebSocket, exc: WebSocketRequestValidationError
    ) -> None:
        await websocket.close(
            code=WS_1008_POLICY_VIOLATION, reason=jsonable_encoder(exc.errors())
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Jun 11 19:08:14 UTC 2023
    - 1.3K bytes
    - Viewed (0)
Back to top