Search Options

Results per page
Sort
Preferred Languages
Advance

Results 721 - 730 of 3,211 for Gist (0.04 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ClasspathContainer.java

    import java.util.ArrayList;
    import java.util.Iterator;
    import java.util.List;
    
    import org.apache.maven.artifact.ArtifactScopeEnum;
    
    /**
     * classpath container that is aware of the classpath scope
     *
     *
     */
    @Deprecated
    public class ClasspathContainer implements Iterable<ArtifactMetadata> {
        private List<ArtifactMetadata> classpath;
    
        private ArtifactScopeEnum scope;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/util/DocMap.java

        }
    
        @Override
        public Set<java.util.Map.Entry<String, Object>> entrySet() {
            if (parent.containsKey(LANG_KEY)) {
                final List<java.util.Map.Entry<String, Object>> list = new ArrayList<>(parent.entrySet());
                Collections.sort(list, (o1, o2) -> {
                    final String k1 = o1.getKey();
                    if (LANG_KEY.equals(k1)) {
                        return -1;
                    }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. tests/test_serialize_response.py

    from typing import List, Optional
    
    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: Optional[float] = None
        owner_ids: Optional[List[int]] = None
    
    
    @app.get("/items/valid", response_model=Item)
    def get_valid():
        return {"name": "valid", "price": 1.0}
    
    
    @app.get("/items/coerce", response_model=Item)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Aug 03 12:29:07 UTC 2020
    - 1.4K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/HcHttpClientTest.java

        // paramMap.put(
        // HcHttpClient.AUTHENTICATIONS_PROPERTY,
        // basicAuthList.toArray(new Authentication[basicAuthList.size()]));
        //
        // List<Callable<ResponseData>> list =
        // new ArrayList<Callable<ResponseData>>();
        // for (int i = 0; i < 100; i++) {
        // list.add(new Callable<ResponseData>() {
        // public ResponseData call() throws Exception {
        // String[] urls =
        // new String[] {
        // "http://.../",
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 09 09:28:25 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableListMultimap.java

          Collection<? extends V> values = entry.getValue();
          ImmutableList<V> list =
              (valueComparator == null)
                  ? ImmutableList.copyOf(values)
                  : ImmutableList.sortedCopyOf(valueComparator, values);
          if (!list.isEmpty()) {
            builder.put(key, list);
            size += list.size();
          }
        }
    
        return new ImmutableListMultimap<>(builder.buildOrThrow(), size);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 16 20:20:32 UTC 2024
    - 19K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetTestSuiteBuilder.java

        @Override
        public Set<Feature<? super Void>> getImpliedFeatures() {
          return emptySet();
        }
      }
    
      @SuppressWarnings("rawtypes") // class literals
      @Override
      protected List<Class<? extends AbstractTester>> getTesters() {
        List<Class<? extends AbstractTester>> testers = copyToList(super.getTesters());
        testers.add(CollectionSerializationEqualTester.class);
        testers.add(MultisetAddTester.class);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

       * TestContainerGenerator#order(List)}. Tests should use this method only if they declare
       * requirement {@link com.google.common.collect.testing.features.CollectionFeature#KNOWN_ORDER}.
       */
      protected List<E> getOrderedElements() {
        List<E> list = new ArrayList<>();
        for (E e : getSubjectGenerator().order(new ArrayList<E>(getSampleElements()))) {
          list.add(e);
        }
        return unmodifiableList(list);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/rbac/v1alpha1/generated.proto

      optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
    
      // Items is a list of ClusterRoles
      repeated ClusterRole items = 2;
    }
    
    // PolicyRule holds information that describes a policy rule, but does not contain information
    // about who the rule applies to or which namespace the rule applies to.
    message PolicyRule {
      // Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/Suggester.java

                if (!isSuggestIndex(s)) {
                    return false;
                }
                final List<AliasMetadata> list = response.getAliases().get(s);
                if (list == null) {
                    return true;
                }
                return list.isEmpty();
            }).forEach(s -> {
                if (logger.isInfoEnabled()) {
                    logger.info("Delete index: {}", s);
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/TestTransferListener.java

     */
    package org.apache.maven.artifact.resolver;
    
    import java.util.ArrayList;
    import java.util.List;
    
    import org.apache.maven.wagon.observers.AbstractTransferListener;
    
    public class TestTransferListener extends AbstractTransferListener {
    
        private final List<String> transfers = new ArrayList<>();
    
        public List<String> getTransfers() {
            return transfers;
        }
    
        public void addTransfer(String name) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.2K bytes
    - Viewed (0)
Back to top