Search Options

Results per page
Sort
Preferred Languages
Advance

Results 451 - 460 of 712 for valid (0.01 sec)

  1. android/guava/src/com/google/common/hash/Murmur3_32HashFunction.java

              shift += 24;
              len += 3;
            } else {
              int codePoint = Character.codePointAt(input, i);
              if (codePoint == c) {
                // not a valid code point; let the JDK handle invalid Unicode
                return hashBytes(input.toString().getBytes(charset));
              }
              i++;
              buffer |= codePointToFourUtf8Bytes(codePoint) << shift;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/PathValidator.java

        /**
         * Validate host name
         */
        private boolean isValidHost(String host) {
            if (host == null || host.isEmpty()) {
                return false;
            }
    
            // Check for valid hostname or IP address
            // Simple validation - can be enhanced
            if (host.length() > 255) {
                return false;
            }
    
            // Check for invalid characters
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/netbios/NameQueryResponseTest.java

            recordNameField.setAccessible(true);
            Name mockRecordName = new Name(mockConfig);
            recordNameField.set(nameQueryResponse, mockRecordName);
    
            // Prepare a byte array with valid NetBIOS name format
            byte[] src = new byte[100];
            int srcIndex = 0;
    
            // Start with compressed name pointer (0xC0) to use questionName
            src[srcIndex] = (byte) 0xC0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  4. docs/pt/docs/tutorial/path-params.md

    ```JSON
    {
        "detail": [
            {
                "loc": [
                    "path",
                    "item_id"
                ],
                "msg": "value is not a valid integer",
                "type": "type_error.integer"
            }
        ]
    }
    ```
    
    devido ao parâmetro da rota `item_id` ter um valor `"foo"`, que não é um `int`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java

            assertEquals(CrawlerStatus.INITIALIZING, values[0]);
            assertEquals(CrawlerStatus.RUNNING, values[1]);
            assertEquals(CrawlerStatus.DONE, values[2]);
        }
    
        /**
         * Test valueOf method with valid values
         */
        public void test_valueOf_valid() {
            assertEquals(CrawlerStatus.INITIALIZING, CrawlerStatus.valueOf("INITIALIZING"));
            assertEquals(CrawlerStatus.RUNNING, CrawlerStatus.valueOf("RUNNING"));
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/script/ScriptEngineTest.java

        public void setUp() throws Exception {
            super.setUp();
            // Create a test implementation of ScriptEngine
            scriptEngine = new TestScriptEngine();
        }
    
        // Test evaluate method with valid template and parameters
        public void test_evaluate_withValidTemplateAndParams() {
            String template = "Hello ${name}";
            Map<String, Object> paramMap = new HashMap<>();
            paramMap.put("name", "World");
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java

        private ValidateNegotiateInfoResponse response;
    
        @BeforeEach
        void setUp() {
            response = new ValidateNegotiateInfoResponse();
        }
    
        @Test
        @DisplayName("Test decode with valid buffer")
        void testDecodeValidBuffer() throws SMBProtocolDecodingException {
            // Prepare test data
            byte[] buffer = new byte[64];
            int bufferIndex = 10;
    
            // Set capabilities (4 bytes)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/netbios/NodeStatusRequestTest.java

        @Test
        void readWireFormat_shouldDelegateToParent() {
            // Arrange
            nodeStatusRequest = new NodeStatusRequest(mockConfig, mockName);
            byte[] src = new byte[200];
            // Setup minimal valid header
            src[0] = 0x00;
            src[1] = 0x01; // Transaction ID
            src[2] = 0x00; // Flags
            src[3] = 0x00; // Flags
            src[4] = 0x00;
            src[5] = 0x01; // Question count
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/SmbNegotiationResponseTest.java

        @Mock
        private Response response;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        @DisplayName("Test isValid returns true for valid negotiation")
        void testIsValidReturnsTrue() {
            // Arrange
            when(negotiationResponse.isValid(cifsContext, negotiationRequest)).thenReturn(true);
    
            // Act
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java

         */
        @Nonnull
        Map<String, String> getProperties(@Nonnull Project project);
    
        /**
         * Set a given project property. Properties set through this method are only valid
         * for the current build session and do not modify the underlying project model.
         *
         * @param project the project to modify
         * @param key they property's key
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jan 30 23:29:13 UTC 2025
    - 12K bytes
    - Viewed (0)
Back to top