Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 171 - 180 of 689 for parsing (0.05 seconds)

  1. internal/kms/secret-key.go

    	if b[0] == '{' && b[len(b)-1] == '}' { // JSON object
    		var c ciphertext
    		if err := c.UnmarshalJSON(b); err != nil {
    			// It may happen that a random ciphertext starts with '{' and ends with '}'.
    			// In such a case, parsing will fail but we must not return an error. Instead
    			// we return the ciphertext as it is.
    			return b, kms.AES256
    		}
    
    		b = b[:0]
    		b = append(b, c.Bytes...)
    		b = append(b, c.IV...)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Apr 21 16:23:51 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  2. src/archive/zip/zip_test.go

    	}
    	h.SetModTime(ts)
    
    	testValidHeader(&h, t)
    }
    
    func TestHeaderTooShort(t *testing.T) {
    	h := FileHeader{
    		Name:   "foo.txt",
    		Method: Deflate,
    		Extra:  []byte{zip64ExtraID}, // missing size and second half of tag, but Extra is best-effort parsing
    	}
    	testValidHeader(&h, t)
    }
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu May 23 01:00:11 GMT 2024
    - 19.6K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java

            DummyAndXBlock block = new DummyAndXBlock() {
                @Override
                int readHeaderWireFormat(byte[] buffer, int bufferIndex) {
                    // Simulate fixed-size header parsing
                    return 33;
                }
            };
    
            byte[] buf = new byte[128];
            // After header at 0..32
            buf[33] = 4; // wordCount
            buf[34] = (byte) 0xFF; // andxCommand
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  4. README.md

    ## Technology Stack
    
    - **Java**: 21+ (configured via parent POM)
    - **OpenSearch**: Latest (provided scope)
    - **Apache Lucene**: Query parsing and text analysis
    - **ICU4J**: Unicode text processing and normalization
    - **JUnit 4**: Testing framework
    - **Maven**: Build and dependency management
    
    ## Quick Start
    
    ### Prerequisites
    
    - Java 21 or higher
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Aug 31 03:31:14 GMT 2025
    - 12.1K bytes
    - Click Count (1)
  5. src/main/java/org/codelibs/fess/suggest/entity/SuggestItemSerializer.java

     * Centralizes serialization logic to reduce complexity in SuggestItem.
     *
     * <p>This class provides methods for:
     * <ul>
     * <li>Converting SuggestItem to Map (for OpenSearch indexing)</li>
     * <li>Parsing Map back to SuggestItem (from OpenSearch documents)</li>
     * <li>Creating updated source maps (for document updates)</li>
     * <li>Converting SuggestItem to JSON string</li>
     * </ul>
     */
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 13.5K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java

                // Then
                assertEquals(4, bytesRead, "Iteration " + i + " should read 4 bytes");
            }
        }
    
        @Test
        @DisplayName("Should verify complete response structure parsing")
        void testCompleteResponseParsing() throws SMBProtocolDecodingException {
            // Given - complete SMB2 TREE_DISCONNECT response
            byte[] completeResponse = new byte[] { 0x04, 0x00, // StructureSize = 4
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/exception/InvalidQueryExceptionTest.java

        @Test
        public void test_constructor_withMessageCodeMessageAndCause() {
            // Setup
            final String message = "Invalid query syntax error";
            final Exception cause = new RuntimeException("Query parsing failed");
            final VaMessenger<FessMessages> messageCode = messages -> messages.addErrorsInvalidQueryUnknown(UserMessages.GLOBAL_PROPERTY_KEY);
    
            // Execute
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 15.9K bytes
    - Click Count (0)
  8. apache-maven/src/assembly/maven/bin/mvn

        fi
      done
      echo "$basedir"
    )
    }
    
    # concatenates all lines of a file and replaces variables
    # Uses Java-based parser to handle all special characters correctly
    # This avoids shell parsing issues with pipes, quotes, @, and other special characters
    # and ensures POSIX compliance (no xargs -0, awk, or complex sed needed)
    # Set MAVEN_DEBUG_SCRIPT=1 to enable debug logging
    concat_lines() {
      if [ -f "$1" ]; then
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Dec 10 16:40:06 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java

     *
     * <p>The class is abstract, so a concrete stub implementation is
     * provided purely to expose protected state and to satisfy the abstract
     * method contract.  The tests focus on public API behaviour and the
     * parsing logic in {@code readParameterWordsWireFormat} and
     * {@code readBytesWireFormat}.
     */
    public class SmbComTransactionResponseTest {
        /** A minimal concrete subclass for testing */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java

    import org.codelibs.fess.dict.DictionaryFile;
    import org.codelibs.fess.util.ComponentUtil;
    import org.dbflute.optional.OptionalEntity;
    
    /**
     * Manages a dictionary file for stopwords.
     * This class handles reading, parsing, and updating files that contain
     * a list of stopwords. Each line in the file represents a single stopword.
     *
     * The class provides methods for retrieving, adding, updating, and
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 13K bytes
    - Click Count (0)
Back to Top