Search Options

Results per page
Sort
Preferred Languages
Advance

Results 801 - 810 of 1,045 for 100 (0.03 sec)

  1. src/test/java/jcifs/smb/SIDTest.java

            @Test
            @DisplayName("Binary constructor with invalid sub_authority_count throws RuntimeCIFSException")
            void testBinaryConstructorInvalidCount() {
                // Arrange: second byte is sub_authority_count > 100
                byte[] bytes = new byte[1 + 1 + 6];
                bytes[0] = 1; // revision
                bytes[1] = (byte) 101; // invalid count
    
                // Act + Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  2. docs/ja/docs/tutorial/dependencies/classes-as-dependencies.md

    {* ../../docs_src/dependencies/tutorial001.py hl[8] *}
    
    これらのパラメータは **FastAPI** が依存関係を「解決」するために使用するものです。
    
    どちらの場合も以下を持っています:
    
    * オプショナルの`q`クエリパラメータ。
    * `skip`クエリパラメータ、デフォルトは`0`。
    * `limit`クエリパラメータ、デフォルトは`100`。
    
    どちらの場合も、データは変換され、検証され、OpenAPIスキーマなどで文書化されます。
    
    ## 使用
    
    これで、このクラスを使用して依存関係を宣言することができます。
    
    {* ../../docs_src/dependencies/tutorial002.py hl[19] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/netbios/SessionServicePacketTest.java

        void testWriteWireFormatLargeLength() {
            packet.type = SessionServicePacket.SESSION_MESSAGE;
            packet.trailerLength = 0x10000; // Length requiring extended bit
    
            byte[] dst = new byte[100];
            packet.writeWireFormat(dst, 0);
    
            assertEquals((byte) 0x01, dst[1]); // Extended length bit should be set
        }
    
        @Test
        @DisplayName("readWireFormat should read header and trailer")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/ActivityHelper.java

        }
    
        /**
         * Print the log by ECS.
         * @param valueMap The value map.
         */
        protected void printByEcs(final Map<String, String> valueMap) {
            final StringBuilder buf = new StringBuilder(100);
            buf.append("{\"@timestamp\":\"").append(valueMap.remove("time")).append('"');
            buf.append(",\"log.level\":\"INFO\"");
            buf.append(",\"ecs.version\":\"").append(ecsVersion).append('"');
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java

        @DisplayName("Test decode with different buffer offset")
        void testDecodeWithDifferentOffset() throws SMBProtocolDecodingException {
            // Prepare test data with different offset
            byte[] buffer = new byte[100];
            int bufferIndex = 50;
    
            // Set test values
            int testCapabilities = 0xABCDEF00;
            byte[] testGuid = new byte[16];
            Arrays.fill(testGuid, (byte) 0xFF);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/pac/PacLogonInfoTest.java

            String testString = "TEST";
            short length = (short) (testString.length() * 2); // Unicode length
            PacUnicodeString unicodeString = new PacUnicodeString(length, length, 100);
    
            // Should validate string length
            String result = unicodeString.check(testString);
            assertEquals(testString, result);
    
            // Should reject wrong length
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/SimpleCircuitBreaker.java

            @Override
            public String toString() {
                return String.format("CircuitBreaker[%s] State=%s, Calls=%d, Success=%.2f%%, Rejected=%d", name, state, totalCalls,
                        successRate * 100, rejectedCalls);
            }
        }
    
        /**
         * Exception thrown when circuit breaker is open
         */
        public static class CircuitBreakerOpenException extends Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/EmptyIteratorTest.java

                    final int index = i;
                    threads[i] = new Thread(() -> {
                        // Each thread performs multiple operations
                        for (int j = 0; j < 100; j++) {
                            boolean hasNext = sharedIterator.hasNext();
                            SmbResource next = sharedIterator.next();
    
                            if (hasNext || next != null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java

        void testWriteMethodsReturnCorrectValues() {
            // Arrange
            transPeekNamedPipe = new TransPeekNamedPipe(mockConfig, TEST_PIPE_NAME, TEST_FID);
            byte[] buffer = new byte[100];
    
            // Act & Assert
            assertEquals(4, transPeekNamedPipe.writeSetupWireFormat(buffer, 0));
            assertEquals(0, transPeekNamedPipe.writeParametersWireFormat(buffer, 10));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java

        private static final int TEST_SID = 0x1234;
        private static final int TEST_RESUME_KEY = 0xABCD;
        private static final String TEST_FILENAME = "testfile.txt";
        private static final int TEST_BATCH_COUNT = 100;
        private static final int TEST_BATCH_SIZE = 8192;
    
        @BeforeEach
        void setUp() throws Exception {
            MockitoAnnotations.openMocks(this);
            Properties props = new Properties();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
Back to top