Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1521 - 1530 of 3,211 for Gist (0.04 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/artifact/manager/WagonManager.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.artifact.manager;
    
    import java.util.List;
    
    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.artifact.repository.ArtifactRepository;
    import org.apache.maven.wagon.ResourceDoesNotExistException;
    import org.apache.maven.wagon.TransferFailedException;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/GraphTest.java

     */
    package org.apache.maven.model.building;
    
    import java.io.IOException;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertThrows;
    
    public class GraphTest {
    
        @Test
        void testCycle() throws Graph.CycleDetectedException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/index/writer/SuggestWriter.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.suggest.index.writer;
    
    import java.util.ArrayList;
    import java.util.HashSet;
    import java.util.List;
    import java.util.Set;
    
    import org.codelibs.fess.suggest.entity.SuggestItem;
    import org.codelibs.fess.suggest.settings.SuggestSettings;
    import org.opensearch.client.Client;
    import org.opensearch.index.query.QueryBuilder;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbSession.java

                    if (dc_list_expiration < now) {
                        NbtAddress[] list = NbtAddress.getAllByName( DOMAIN, 0x1C, null, null );
                        dc_list_expiration = now + CACHE_POLICY * 1000L;
                        if (list != null && list.length > 0) {
                            dc_list = list;
                        } else { /* keep using the old list */
                            dc_list_expiration = now + 1000 * 60 * 15; /* 15 min */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 18.6K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionResolverResult.java

    package org.apache.maven.api.services;
    
    import java.util.List;
    import java.util.Optional;
    
    import org.apache.maven.api.Repository;
    import org.apache.maven.api.Version;
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     *
     * @since 4.0.0
     */
    @Experimental
    public interface VersionResolverResult {
    
        @Nonnull
        List<Exception> getExceptions();
    
        @Nonnull
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Feb 28 23:54:53 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  6. compat/maven-builder-support/src/main/java/org/apache/maven/building/ProblemCollectorFactory.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.building;
    
    import java.util.List;
    
    /**
     *
     * @since 3.3.0
     */
    public class ProblemCollectorFactory {
    
        /**
         * The default implementation is not visible, create it with this factory
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/connection/InetAddressOrder.kt

     *  - Stateful handling of connectivity results
     *  - The prioritisation of addresses
     *
     * https://datatracker.ietf.org/doc/html/rfc8305#section-4
     */
    fun reorderForHappyEyeballs(addresses: List<InetAddress>): List<InetAddress> {
      if (addresses.size < 2) {
        return addresses
      }
    
      val (ipv6, ipv4) = addresses.partition { it is Inet6Address }
    
      return if (ipv6.isEmpty() || ipv4.isEmpty()) {
        addresses
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  8. docs/zh/docs/tutorial/query-params-str-validations.md

    你还可以定义在没有任何给定值时的默认 `list` 值:
    
    ```Python hl_lines="9"
    {!../../docs_src/query_params_str_validations/tutorial012.py!}
    ```
    
    如果你访问:
    
    ```
    http://localhost:8000/items/
    ```
    
    `q` 的默认值将为:`["foo", "bar"]`,你的响应会是:
    
    ```JSON
    {
      "q": [
        "foo",
        "bar"
      ]
    }
    ```
    
    #### 使用 `list`
    
    你也可以直接使用 `list` 代替 `List [str]`:
    
    ```Python hl_lines="7"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  9. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java

        }
    
        /**
         * @return the list of parameters copy. Any change to returned list is NOT reflected on this instance. To add
         * parameters, use {@link #addParameter(Parameter)} method.
         */
        public List<Parameter> getParameters() {
            return new ArrayList<>(parameters);
        }
    
        /**
         * @param parameters the new list of parameters
         * @throws DuplicateParameterException if any
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/response-model.md

    ///
    
    `response_model` receives the same type you would declare for a Pydantic model field, so, it can be a Pydantic model, but it can also be, e.g. a `list` of Pydantic models, like `List[Item]`.
    
    FastAPI will use this `response_model` to do all the data documentation, validation, etc. and also to **convert and filter the output data** to its type declaration.
    
    /// tip
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 18.1K bytes
    - Viewed (0)
Back to top