Search Options

Results per page
Sort
Preferred Languages
Advance

Results 4791 - 4800 of 7,014 for _return (0.05 sec)

  1. guava/src/com/google/common/collect/TransformedIterator.java

      }
    
      @ParametricNullness
      abstract T transform(@ParametricNullness F from);
    
      @Override
      public final boolean hasNext() {
        return backingIterator.hasNext();
      }
    
      @Override
      @ParametricNullness
      public final T next() {
        return transform(backingIterator.next());
      }
    
      @Override
      public final void remove() {
        backingIterator.remove();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 09 17:31:04 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/BuildTimestampValueSource.java

        @Override
        public Object getValue(String expression) {
            if ("build.timestamp".equals(expression) || "maven.build.timestamp".equals(expression)) {
                return new MavenBuildTimestamp(startTime, properties).formattedTimestamp();
            }
            return null;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/FileSettingsSource.java

            super(settingsFile);
        }
    
        /**
         * Gets the settings file of this model source.
         *
         * @return The underlying settings file, never {@code null}.
         * @deprecated instead use {@link #getFile()}
         */
        @Deprecated
        public File getSettingsFile() {
            return getFile();
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/UrlSettingsSource.java

            super(settingsUrl);
        }
    
        /**
         * Gets the settings URL of this model source.
         *
         * @return The underlying settings URL, never {@code null}.
         * @deprecated instead use {@link #getUrl()}
         */
        @Deprecated
        public URL getSettingsUrl() {
            return getUrl();
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. tests/test_ws_dependencies.py

    from fastapi.testclient import TestClient
    from typing_extensions import Annotated
    
    
    def dependency_list() -> List[str]:
        return []
    
    
    DepList = Annotated[List[str], Depends(dependency_list)]
    
    
    def create_dependency(name: str):
        def fun(deps: DepList):
            deps.append(name)
    
        return Depends(fun)
    
    
    router = APIRouter(dependencies=[create_dependency("router")])
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Jun 11 20:35:39 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/-ResponseCommon.kt

          """.trimMargin(),
        )
      }
    
      override fun timeout() = Timeout.NONE
    
      override fun close() {
      }
    }
    
    fun Response.stripBody(): Response {
      return newBuilder()
        .body(UnreadableResponseBody(body.contentType(), body.contentLength()))
        .build()
    }
    
    val Response.commonIsSuccessful: Boolean
      get() = code in 200..299
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:24:48 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java

        outputFuture = SettableFuture.create();
        funcIsWaitingLatch = new CountDownLatch(1);
        funcCompletionLatch = new CountDownLatch(1);
        return transformAsync(inputFuture, new ChainingFunction(), directExecutor());
      }
    
      @Override
      protected String getSuccessfulResult() {
        return RESULT_DATA;
      }
    
      private class ChainingFunction implements AsyncFunction<Integer, String> {
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java

        outputFuture = SettableFuture.create();
        funcIsWaitingLatch = new CountDownLatch(1);
        funcCompletionLatch = new CountDownLatch(1);
        return transformAsync(inputFuture, new ChainingFunction(), directExecutor());
      }
    
      @Override
      protected String getSuccessfulResult() {
        return RESULT_DATA;
      }
    
      private class ChainingFunction implements AsyncFunction<Integer, String> {
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/FileProfileActivatorTest.java

                    ActivationFile.newBuilder().exists(filePath).build();
            return newProfile(activationFile);
        }
    
        private Profile newMissingProfile(String filePath) {
            ActivationFile activationFile =
                    ActivationFile.newBuilder().missing(filePath).build();
            return newProfile(activationFile);
        }
    
        private Profile newProfile(ActivationFile activationFile) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/RelationshipTester.java

     *
     * @author Gregory Kick
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    final class RelationshipTester<T> {
    
      static class ItemReporter {
        String reportItem(Item<?> item) {
          return item.toString();
        }
      }
    
      /**
       * A word about using {@link Equivalence}, which automatically checks for {@code null} and
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 25 11:57:12 UTC 2023
    - 5.9K bytes
    - Viewed (0)
Back to top