Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 128 for endTag (0.04 sec)

  1. src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponseTest.java

            assertTrue(infoString.contains("bytesPerSect=512"), "toString should contain bytesPerSect");
        }
    
        // Helper methods to write numbers to byte array in little-endian format.
        private void writeInt2(int val, byte[] dst, int dstIndex) {
            dst[dstIndex++] = (byte) val;
            dst[dstIndex++] = (byte) (val >> 8);
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/Smb2CancelRequestTest.java

            int bytesWritten = request.writeBytesWireFormat(buffer, offset);
    
            // Then
            assertEquals(4, bytesWritten, "Should write 4 bytes");
            // Check that structure size (4) is written as 2-byte little-endian
            assertEquals(4, buffer[offset] | (buffer[offset + 1] << 8), "Structure size should be 4");
            assertEquals(0, buffer[offset + 2], "Reserved bytes should be 0");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/util/MD4.java

    // Added references only.
    //
    // Revision 1.1.1.1  1997/11/03 22:36:56  hopwood
    // + Imported to CVS (tagged as 'start').
    //
    // Revision 0.1.0.0  1997/07/14  R. Naffah
    // + original version
    //
    // $Endlog$
    /*
     * Copyright (c) 1997 Systemics Ltd
     * on behalf of the Cryptix Development Team.  All rights reserved.
     */
    
    package jcifs.smb1.util;
    
    import java.security.MessageDigest;
    
    /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

            assertTrue(raf.readBoolean());
            assertEquals((byte) 0xFF, raf.readByte());
            assertEquals(0xFF, raf.readUnsignedByte());
        }
    
        @Test
        @DisplayName("readShort/UnsignedShort/Char: big-endian decoding")
        void read_twoByteVariants() throws Exception {
            SmbRandomAccessFile raf = spy(newInstance("r", false, false, false));
            doAnswer(inv -> {
                byte[] b = inv.getArgument(0);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/net/InetAddresses.java

        }
      }
    
      /**
       * Returns an address from a <b>little-endian ordered</b> byte array (the opposite of what {@link
       * InetAddress#getByAddress} expects).
       *
       * <p>IPv4 address byte array must be 4 bytes long and IPv6 byte array must be 16 bytes long.
       *
       * @param addr the raw IP address in little-endian byte order
       * @return an InetAddress object created from the raw IP address
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenProperties.java

                valueLines = new ArrayList<>();
                this.maybeTyped = maybeTyped;
            }
    
            /**
             * Reads a property line. Returns null if Stream is
             * at EOF. Concatenates lines ending with "\".
             * Skips lines beginning with "#" or "!" and empty lines.
             * The return value is a property definition (<code>&lt;name&gt;</code>
             * = <code>&lt;value&gt;</code>)
             *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 09:03:48 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

                valueLines = new ArrayList<>();
                this.maybeTyped = maybeTyped;
            }
    
            /**
             * Reads a property line. Returns null if Stream is
             * at EOF. Concatenates lines ending with "\".
             * Skips lines beginning with "#" or "!" and empty lines.
             * The return value is a property definition (<code>&lt;name&gt;</code>
             * = <code>&lt;value&gt;</code>)
             *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 38.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeTest.java

            // Assert
            assertEquals(4, bytesWritten);
            assertEquals(SmbComTransaction.TRANS_TRANSACT_NAMED_PIPE, dst[0]);
            assertEquals(0x00, dst[1]);
    
            // Verify FID is written correctly (little-endian)
            int writtenFid = SMBUtil.readInt2(dst, 2);
            assertEquals(TEST_FID, writtenFid);
        }
    
        @Test
        @DisplayName("Test writeDataWireFormat with sufficient buffer")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java

            @DisplayName("Should handle signed byte value correctly")
            void testReadBytesWireFormatSignedByteValue() {
                // Given
                byte[] buffer = new byte[10];
                // Write 4 in little-endian format
                buffer[0] = 0x04;
                buffer[1] = 0x00;
    
                // When & Then
                assertDoesNotThrow(() -> {
                    int bytesRead = response.readBytesWireFormat(buffer, 0);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/query/TermQueryCommand.java

            context.addHighlightedQuery(text);
            return QueryBuilders.wildcardQuery(urlField, queryString).boost(boost);
        }
    
        /**
         * Converts a term query ending with asterisk to a prefix query.
         *
         * @param fessConfig the Fess configuration
         * @param context the query context
         * @param termQuery the term query to convert
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 13.6K bytes
    - Viewed (0)
Back to top