Search Options

Results per page
Sort
Preferred Languages
Advance

Results 911 - 920 of 2,682 for SET (0.05 sec)

  1. android/guava-tests/test/com/google/common/primitives/PrimitivesTest.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.testing.NullPointerTester;
    import java.util.Set;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit test for {@link Primitives}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @NullUnmarked
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenAliasTest.java

            // Then
            assertNotNull(msrpcSamrOpenAlias, "MsrpcSamrOpenAlias object should not be null");
    
            // Verify that ptype and flags are set correctly using reflection
            try {
                java.lang.reflect.Field ptypeField = jcifs.dcerpc.DcerpcMessage.class.getDeclaredField("ptype");
                ptypeField.setAccessible(true);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/lang/GenericsUtil.java

        }
    
        /**
         * Returns the element type of a parameterized {@link Set}.
         * <p>
         * If <code>type</code> is not a parameterized {@link Set}, <code>null</code> is returned.
         * </p>
         *
         * @param type
         *            the type to analyze
         * @return the element type of the set, or null if not a parameterized set
         */
        public static Type getElementTypeOfSet(final Type type) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/RepositoryAwareRequest.java

            }
            HashSet<RemoteRepository> set = new HashSet<>(repositories);
            if (repositories.size() != set.size()) {
                throw new IllegalArgumentException(
                        "Repository list contains duplicate entries. Each repository must be unique based on its ID and URL. "
                                + "Found " + repositories.size() + " repositories but only " + set.size()
                                + " unique entries.");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 10 07:30:49 UTC 2025
    - 5K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/resolver/RepositorySystemSessionFactory.java

     */
    public interface RepositorySystemSessionFactory {
        /**
         * Creates "ready to use" session builder instance. The factory does not set up one thing: the
         * {@link org.eclipse.aether.repository.WorkspaceReader}s, that is caller duty to figure out. Workspace readers
         * should be set up as very last thing before using resolver session, that is built by invoking
         * {@link SessionBuilder#build()} method.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. tests/test_request_param_model_by_alias.py

        assert response.status_code == 200, response.text
        assert response.json() == {"param": "value"}
    
    
    def test_cookie_model_with_alias():
        client = TestClient(app)
        client.cookies.set("param_alias", "value")
        response = client.get("/cookie")
        assert response.status_code == 200, response.text
        assert response.json() == {"param": "value"}
    
    
    def test_query_model_with_alias_by_name():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  7. docs/zh/docs/tutorial/body-nested-models.md

    对具有子类型的模型属性也使用相同的标准语法。
    
    因此,在我们的示例中,我们可以将 `tags` 明确地指定为一个「字符串列表」:
    
    {* ../../docs_src/body_nested_models/tutorial002_py310.py hl[12] *}
    
    ## Set 类型
    
    但是随后我们考虑了一下,意识到标签不应该重复,它们很大可能会是唯一的字符串。
    
    Python 具有一种特殊的数据类型来保存一组唯一的元素,即 `set`。
    
    然后我们可以导入 `Set` 并将 `tag` 声明为一个由 `str` 组成的 `set`:
    
    {* ../../docs_src/body_nested_models/tutorial003_py310.py hl[12] *}
    
    这样,即使你收到带有重复数据的请求,这些数据也会被转换为一组唯一项。
    
    而且,每当你输出该数据时,即使源数据有重复,它们也将作为一组唯一项输出。
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/impl/HostIntervalController.java

                    final long lastValue = lastTime.get();
                    if (lastValue == 0) {
                        // First access to this host - no delay needed
                        // Set current time to allow proper delay for next access
                        lastTime.set(SystemUtil.currentTimeMillis());
                        return;
                    }
    
                    long currentTime = SystemUtil.currentTimeMillis();
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/DcerpcErrorTest.java

        }
    
        @Test
        @DisplayName("Should verify all fault code constants are unique")
        void testFaultCodesUniqueness() {
            Set<Integer> faultCodes = new HashSet<>();
    
            // Add all fault codes to a set to check uniqueness
            faultCodes.add(DcerpcError.DCERPC_FAULT_OTHER);
            faultCodes.add(DcerpcError.DCERPC_FAULT_ACCESS_DENIED);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  10. compat/maven-model/src/main/java/org/apache/maven/model/InputSource.java

            return this.modelId;
        } // -- String getModelId()
    
        /**
         * Set the path/URL of the POM or {@code null} if unknown.
         *
         * @param location
         */
        public void setLocation(String location) {
            this.location = location;
        } // -- void setLocation( String )
    
        /**
         * Set the identifier of the POM in the format {@code
         * <groupId>:<artifactId>:<version>}.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:45:25 UTC 2025
    - 5.6K bytes
    - Viewed (0)
Back to top