Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1121 - 1130 of 2,543 for set1 (0.02 seconds)

  1. src/main/java/org/codelibs/core/io/SerializeUtil.java

        }
    
        private static final int BYTE_ARRAY_SIZE = 8 * 1024;
    
        /**
         * Default set of allowed class name patterns for deserialization.
         * This helps prevent deserialization attacks by restricting which classes can be instantiated.
         */
        private static final Set<String> DEFAULT_ALLOWED_PATTERNS = Set.of(
            "java.lang.*",
            "java.util.*",
            "java.time.*",
            "java.math.*",
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 9K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponseTest.java

                infoLevel.setAccessible(true);
                assertEquals(Trans2QueryPathInformationResponse.SMB_QUERY_FILE_BASIC_INFO, infoLevel.getInt(resp));
    
                // Verify subCommand is set correctly
                Field subCmd = SmbComTransactionResponse.class.getDeclaredField("subCommand");
                subCmd.setAccessible(true);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java

            // Test multiple calls to readDataWireFormat to ensure buffer is overwritten
            byte[] firstData = "First data set".getBytes();
            byte[] secondData = "Second data set".getBytes();
            byte[] buffer1 = new byte[100];
            byte[] buffer2 = new byte[100];
    
            System.arraycopy(firstData, 0, buffer1, 0, firstData.length);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/base/EnumsTest.java

            (Class<TestEnum>) Class.forName(TestEnum.class.getName(), false, shadowLoader);
        assertThat(shadowTestEnum).isNotEqualTo(TestEnum.class);
        // We can't write Set<TestEnum> because that is a Set of the TestEnum from the original
        // ClassLoader.
        Set<Object> shadowConstants = new HashSet<>();
        for (TestEnum constant : TestEnum.values()) {
          Optional<TestEnum> result = Enums.getIfPresent(shadowTestEnum, constant.name());
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:07:52 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java

            @Test
            @DisplayName("Should set padding correctly")
            void testSetPadding() {
                assertDoesNotThrow(() -> request.setPadding((byte) 0));
                assertDoesNotThrow(() -> request.setPadding((byte) 1));
                assertDoesNotThrow(() -> request.setPadding((byte) 0xFF));
            }
    
            @Test
            @DisplayName("Should set read flags correctly")
            void testSetReadFlags() {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 24.8K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/opensearch/extension/kuromoji/index/analysis/KuromojiPartOfSpeechFilterFactory.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.opensearch.extension.kuromoji.index.analysis;
    
    import java.util.HashSet;
    import java.util.List;
    import java.util.Set;
    
    import org.apache.lucene.analysis.TokenStream;
    import org.apache.lucene.analysis.ja.JapaneseAnalyzer;
    import org.apache.lucene.analysis.ja.JapanesePartOfSpeechStopFilter;
    import org.opensearch.common.settings.Settings;
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Sat Mar 15 06:51:20 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  7. guava-testlib/test/com/google/common/collect/testing/OpenJdk6SetTests.java

    import static java.util.Arrays.asList;
    
    import java.lang.reflect.Method;
    import java.util.Collection;
    import java.util.Set;
    import junit.framework.Test;
    
    /**
     * Tests the {@link Set} implementations of {@link java.util}, suppressing tests that trip known
     * OpenJDK 6 bugs.
     *
     * @author Kevin Bourrillion
     */
    @AndroidIncompatible // test-suite builders
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Jan 25 16:19:30 GMT 2025
    - 2K bytes
    - Click Count (0)
  8. tests/test_ambiguous_params.py

                pass  # pragma: nocover
    
        with pytest.raises(
            AssertionError,
            match=(
                "`Query` default value cannot be set in `Annotated` for 'item_id'. Set the"
                " default value with `=` instead."
            ),
        ):
    
            @app.get("/")
            async def get(item_id: Annotated[int, Query(default=1)]):
                pass  # pragma: nocover
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 2K bytes
    - Click Count (1)
  9. tensorflow/c/c_api_macros_internal.h

                                    "Expected initialized `" #STRUCT_NAME     \
                                    "` structure with `struct_size` field "   \
                                    "set to " #SIZE_VALUE_NAME                \
                                    ". Found `struct_size` = 0.");            \
        }                                                                     \
      } while (0)
    
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Mon Mar 13 17:40:56 GMT 2023
    - 2.5K bytes
    - Click Count (0)
  10. docs/en/docs/tutorial/query-params.md

    When you declare other function parameters that are not part of the path parameters, they are automatically interpreted as "query" parameters.
    
    {* ../../docs_src/query_params/tutorial001_py39.py hl[9] *}
    
    The query is the set of key-value pairs that go after the `?` in a URL, separated by `&` characters.
    
    For example, in the URL:
    
    ```
    http://127.0.0.1:8000/items/?skip=0&limit=10
    ```
    
    ...the query parameters are:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 4.5K bytes
    - Click Count (0)
Back to Top