Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 156 for EmptyList (0.05 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt

      fun challenges(): List<Challenge> {
        return headers.parseChallenges(
          when (code) {
            HTTP_UNAUTHORIZED -> "WWW-Authenticate"
            HTTP_PROXY_AUTH -> "Proxy-Authenticate"
            else -> return emptyList()
          },
        )
      }
    
      /**
       * Returns the cache control directives for this response. This is never null, even if this
       * response contains no `Cache-Control` header.
       */
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jul 28 14:39:28 GMT 2025
    - 18.1K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

    import static com.google.common.truth.Truth.assertThat;
    import static java.lang.Math.min;
    import static java.util.Arrays.asList;
    import static java.util.Arrays.sort;
    import static java.util.Collections.emptyList;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.base.Equivalence;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 46.7K bytes
    - Click Count (0)
  3. okhttp/src/androidMain/baseline-prof.txt

    HSPLkotlin/collections/EmptyIterator;-><init>()V
    HSPLkotlin/collections/EmptyIterator;->hasNext()Z
    HSPLkotlin/collections/EmptyList;-><clinit>()V
    HSPLkotlin/collections/EmptyList;-><init>()V
    HSPLkotlin/collections/EmptyList;->isEmpty()Z
    HSPLkotlin/collections/EmptyList;->iterator()Ljava/util/Iterator;
    HSPLkotlin/collections/EmptyMap;-><clinit>()V
    HSPLkotlin/collections/EmptyMap;-><init>()V
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Dec 30 23:28:56 GMT 2024
    - 127.9K bytes
    - Click Count (1)
  4. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

        }
    
        protected <T> Collection<T> getProjectScopedExtensionComponents(Collection<MavenProject> projects, Class<T> role) {
            if (projects == null) {
                return Collections.emptyList();
            }
    
            Collection<T> foundComponents = new LinkedHashSet<>();
            Collection<ClassLoader> scannedRealms = new HashSet<>();
    
            Thread currentThread = Thread.currentThread();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon May 05 16:58:52 GMT 2025
    - 28.7K bytes
    - Click Count (1)
  5. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

                    // When this happens we have a Maven 1.x POM, or some invalid POM.
                    // It should have never found its way into Maven 2.x repository, but it did.
                    dependencies = Collections.emptyList();
                } else {
                    dependencies = rel.project.getModel().getDependencies();
    
                    DependencyManagement depMgmt = rel.project.getModel().getDependencyManagement();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Sep 25 12:03:50 GMT 2025
    - 30.4K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt

            }
          }
        }
    
        @Throws(IOException::class)
        private fun readCertificateList(source: BufferedSource): List<Certificate> {
          val length = readInt(source)
          if (length == -1) return emptyList() // OkHttp v1.2 used -1 to indicate null.
    
          try {
            val certificateFactory = CertificateFactory.getInstance("X.509")
            val result = ArrayList<Certificate>(length)
            for (i in 0 until length) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Oct 03 17:41:45 GMT 2025
    - 26.8K bytes
    - Click Count (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                CliRequest cliRequest, ClassRealm containerRealm, Set<String> providedArtifacts) throws Exception {
            if (cliRequest.multiModuleProjectDirectory == null) {
                return Collections.emptyList();
            }
    
            List<CoreExtension> extensions = new ArrayList<>();
    
            String installationExtensionsFile =
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 78.1K bytes
    - Click Count (0)
  8. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

                    container.addComponent(mock(Maven.class), "org.apache.maven.Maven");
    
                    ((DefaultPlexusContainer) container)
                            .addPlexusInjector(Collections.emptyList(), binder -> binder.bind(EventSpyDispatcher.class)
                                    .toInstance(eventSpyDispatcherMock));
                }
            };
    
            CliRequest cliRequest = new CliRequest(new String[] {}, null);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 30.9K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/ImmutableList.java

        return CollectCollectors.toImmutableList();
      }
    
      /**
       * Returns the empty immutable list. This list behaves and performs comparably to {@link
       * Collections#emptyList}, and is preferable mainly for consistency and maintainability of your
       * code.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 27.5K bytes
    - Click Count (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

            List<Profile> interpolatedActivations = getProfiles(rawModel);
    
            if (interpolatedActivations.isEmpty()) {
                return Collections.emptyList();
            }
            RegexBasedInterpolator interpolator = new RegexBasedInterpolator();
    
            interpolator.addValueSource(new MapBasedValueSource(context.getProjectProperties()));
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Mar 30 23:08:08 GMT 2025
    - 55.3K bytes
    - Click Count (0)
Back to Top