Search Options

Results per page
Sort
Preferred Languages
Advance

Results 7941 - 7950 of 8,047 for they (0.05 sec)

  1. src/test/java/jcifs/SmbWatchHandleTest.java

                // Verify timeout occurs
                assertThrows(TimeoutException.class, () -> {
                    future.get(100, TimeUnit.MILLISECONDS);
                });
    
                // Cancel the future
                future.cancel(true);
            } finally {
                executor.shutdownNow();
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java

        }
    
        @Test
        @DisplayName("Test decode ignores length parameter")
        void testDecodeIgnoresLengthParameter() throws SMBProtocolDecodingException {
            // The decode method should always read exactly 8 bytes regardless of len parameter
            byte[] buffer = new byte[20];
            long expectedIndexNumber = 0xCAFEBABEDEADBEEFL;
            SMBUtil.writeInt8(expectedIndexNumber, buffer, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java

            String str = info.toString();
    
            // Verify type is displayed as hex
            assertNotNull(str);
            assertTrue(str.contains("type=0x"));
            // The type should be formatted as 8-character hex
            String expectedHex = String.format("%08x", type);
            assertTrue(str.toLowerCase().contains(expectedHex));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java

            });
        }
    
        @Test
        @DisplayName("Test toString method")
        void testToString() {
            String result = response.toString();
            assertNotNull(result);
            // The toString method includes various parameter information
            assertTrue(result.contains("totalParameterCount"));
            assertTrue(result.contains("totalDataCount"));
            assertTrue(result.contains("dataCount"));
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/TestLockingTest.java

        void testNumCompleteIncrement() {
            TestLocking t = new TestLocking();
            t.url = "smb://test/file.txt";
            t.numIter = 0; // Set to 0 so run() exits immediately
    
            // Run the method
            t.run();
    
            // Verify numComplete was incremented
            assertEquals(1, t.numComplete, "numComplete should be incremented after run");
        }
    
        @Nested
        @DisplayName("Argument parsing")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  6. docs/ru/docs/tutorial/handling-errors.md

    ### Возвращаемый ответ
    
    Если клиент запросит `http://example.com/items/foo` (`item_id` `"foo"`), то он получит статус-код 200 и ответ в формате JSON:
    
    ```JSON
    {
      "item": "The Foo Wrestlers"
    }
    ```
    
    Но если клиент запросит `http://example.com/items/bar` (несуществующий `item_id` `"bar"`), то он получит статус-код 404 (ошибка "не найдено") и JSON-ответ в виде:
    
    ```JSON
    {
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  7. okhttp/build.gradle.kts

          filter {
            excludeTest("okhttp3.internal.publicsuffix.PublicSuffixDatabaseTest", null)
          }
        }
      }
    }
    
    // Work around issue 8826, where the Sentry SDK assumes that OkHttp's internal-visibility symbols
    // will be suffixed '$okhttp' in deployable artifacts. This isn't intended to be a published API,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 03 03:59:03 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/DfsTest.java

        }
    
        @Test
        void testGetTrustedDomains_Success() throws IOException, SmbAuthException {
            // This test is complex due to static method dependencies and reflection access
            // For now, we'll test the disabled path which is safer
            testDfs.setDisabled(true);
            assertNull(testDfs.getTrustedDomains(auth));
        }
    
        @Test
        void testIsTrustedDomain() throws SmbAuthException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/SmbConstantsTest.java

        void testConstantNature() {
            // SmbConstants is an interface with static final fields
            // Verify constants maintain their values
            assertEquals(445, SmbConstants.DEFAULT_PORT);
    
            // Test that the constant values are as expected for protocol compliance
            assertTrue(SmbConstants.DEFAULT_PORT > 0);
            assertTrue(SmbConstants.DEFAULT_RESPONSE_TIMEOUT > 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  10. docs/es/docs/tutorial/path-params-numeric-validations.md

    Si tienes una versión anterior, obtendrás errores al intentar usar `Annotated`.
    
    Asegúrate de [Actualizar la versión de FastAPI](../deployment/versions.md#upgrading-the-fastapi-versions){.internal-link target=_blank} a al menos la 0.95.1 antes de usar `Annotated`.
    
    ///
    
    ## Declarar metadatos
    
    Puedes declarar todos los mismos parámetros que para `Query`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top