Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for past (0.01 sec)

  1. android/pom.xml

                       (which is good: our tests have intentional violations), but
                       Error Prone doesn't know it's building test code unless we
                       pass -XepCompilingTestOnlyCode, and that argument needs to
                       be passed as part of the same <arg> as -Xplugin:ErrorProne,
                       and I gave up trying to figure out how to do that for test
                       compilation only. -->
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 21:35:58 UTC 2025
    - 24.3K bytes
    - Viewed (0)
  2. pom.xml

                       (which is good: our tests have intentional violations), but
                       Error Prone doesn't know it's building test code unless we
                       pass -XepCompilingTestOnlyCode, and that argument needs to
                       be passed as part of the same <arg> as -Xplugin:ErrorProne,
                       and I gave up trying to figure out how to do that for test
                       compilation only. -->
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 21:35:58 UTC 2025
    - 23.9K bytes
    - Viewed (0)
  3. samples/guide/src/main/java/okhttp3/recipes/kt/UploadProgress.kt

        val request =
          Request
            .Builder()
            .header("Authorization", "Client-ID $IMGUR_CLIENT_ID")
            .url("https://api.imgur.com/3/image")
            .post(ProgressRequestBody(requestBody, progressListener))
            .build()
    
        client.newCall(request).execute().use { response ->
          if (!response.isSuccessful) throw IOException("Unexpected code $response")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  4. docs/recipes.md

                .post(RequestBody.create(MEDIA_TYPE_MARKDOWN, postBody))
                .build();
    
            try (Response response = client.newCall(request).execute()) {
              if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
              System.out.println(response.body().string());
            }
          }
        ```
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 47.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/TopKSelector.java

            minThresholdPosition = pivotNewIndex;
          } else {
            break;
          }
          iterations++;
          if (iterations >= maxIterations) {
            @SuppressWarnings("nullness") // safe because we pass sort() a range that contains real Ts
            T[] castBuffer = (T[]) buffer;
            // We've already taken O(k log k), let's make sure we don't take longer than O(k log k).
            sort(castBuffer, left, right + 1, comparator);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  6. samples/guide/src/main/java/okhttp3/recipes/UploadProgress.java

          MEDIA_TYPE_PNG);
    
        Request request = new Request.Builder()
          .header("Authorization", "Client-ID " + IMGUR_CLIENT_ID)
          .url("https://api.imgur.com/3/image")
          .post(new ProgressRequestBody(requestBody, progressListener))
          .build();
    
        Response response = client.newCall(request).execute();
        if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 4.2K bytes
    - Viewed (1)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/ThreadInterruptTest.kt

      fun interruptWritingRequestBody() {
        server.enqueue(MockResponse())
        server.start()
        val call =
          client.newCall(
            Request
              .Builder()
              .url(server.url("/"))
              .post(
                object : RequestBody() {
                  override fun contentType() = null
    
                  override fun writeTo(sink: BufferedSink) {
                    for (i in 0..9) {
                      sink.writeByte(0)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  8. guava-gwt/pom.xml

                Let's take the warnings for one module, c.g.c.base.testModule, as an example:
    
                  [INFO] Validating units:
                  [INFO]    Ignored 53 units with compilation errors in first pass.
                  [INFO] Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors.
    
                Turning up the log level, we see that GWT is trying to compile classes from other
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 21:35:58 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  9. README.md

    // Java 21 Sequenced Collections support
    SequencedCollection<String> sequenced = CollectionsUtil.newLinkedHashSet();
    String first = CollectionsUtil.getFirst(sequenced);
    String last = CollectionsUtil.getLast(sequenced);
    SequencedCollection<String> reversed = CollectionsUtil.reversed(sequenced);
    
    // Specialized collections
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sun Aug 31 02:56:02 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/reflect/TypeResolver.java

        return Types.newParameterizedTypeWithOwner(
            resolvedOwner, (Class<?>) resolvedRawType, resolvedArgs);
      }
    
      private static <T> T expectArgument(Class<T> type, Object arg) {
        try {
          return type.cast(arg);
        } catch (ClassCastException e) {
          throw new IllegalArgumentException(arg + " is not a " + type.getSimpleName());
        }
      }
    
      /** A TypeTable maintains mapping from {@link TypeVariable} to types. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 24.2K bytes
    - Viewed (0)
Back to top