Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 948 for nBytes (0.17 sec)

  1. src/test/java/jcifs/ntlmssp/Type3MessageTest.java

        void testInvalidMessageBytes() {
            // Given
            byte[] invalidBytes = { 1, 2, 3, 4, 5 }; // Too short and invalid
    
            // When/Then
            assertThrows(IOException.class, () -> {
                new Type3Message(invalidBytes);
            });
        }
    
        @Test
        @DisplayName("Should handle parsing null message bytes")
        void testNullMessageBytes() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/http/NtlmSspTest.java

            message[8] = 0x03;
    
            // LM Response (24 bytes at offset 64)
            message[12] = 24; // Length
            message[13] = 0;
            message[14] = 24; // Max Length
            message[15] = 0;
            message[16] = 64; // Offset
            message[17] = 0;
            message[18] = 0;
            message[19] = 0;
    
            // NT Response (24 bytes at offset 88)
            message[20] = 24; // Length
            message[21] = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/util/DocList.java

         * Gets the total content size of all documents in this list.
         *
         * @return the total content size in bytes
         */
        public long getContentSize() {
            return contentSize;
        }
    
        /**
         * Adds to the total content size of this document list.
         *
         * @param contentSize the content size to add in bytes
         */
        public void addContentSize(final long contentSize) {
            this.contentSize += contentSize;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/extra-data-types.md

            * In responses, the `set` will be converted to a `list`.
            * The generated schema will specify that the `set` values are unique (using JSON Schema's `uniqueItems`).
    * `bytes`:
        * Standard Python `bytes`.
        * In requests and responses will be treated as `str`.
        * The generated schema will specify that it's a `str` with `binary` "format".
    * `Decimal`:
        * Standard Python `Decimal`.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  5. docs/es/docs/tutorial/extra-data-types.md

            * En responses, el `set` se convertirá en una `list`.
            * El esquema generado especificará que los valores del `set` son únicos (usando `uniqueItems` de JSON Schema).
    * `bytes`:
        * `bytes` estándar de Python.
        * En requests y responses se tratará como `str`.
        * El esquema generado especificará que es un `str` con "binary" como "format".
    * `Decimal`:
        * `Decimal` estándar de Python.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. docs/iam/access-manager-plugin.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package main
    
    import (
    	"bytes"
    	"encoding/json"
    	"flag"
    	"fmt"
    	"io"
    	"log"
    	"net/http"
    	"strings"
    )
    
    var (
    	keyFile  string
    	certFile string
    )
    
    func init() {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Feb 08 17:15:20 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. docs/debugging/hash-set/main.go

    	id := uuid.MustParse(deploymentID)
    
    	if file != "" {
    		distrib := make([][]string, setCount)
    		b, err := os.ReadFile(file)
    		if err != nil {
    			log.Fatalln(err)
    		}
    		b = bytes.ReplaceAll(b, []byte("\r"), []byte{})
    		sc := bufio.NewScanner(bytes.NewBuffer(b))
    		for sc.Scan() {
    			object = strings.TrimSpace(sc.Text())
    			set := sipHashMod(prefix+object, setCount, id)
    			distrib[set] = append(distrib[set], prefix+object)
    		}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java

            int writeParameterWordsWireFormat(byte[] dst, int dstIndex) {
                paramWordsWritten = 10; // simulate write of 10 bytes of parameter words
                return paramWordsWritten;
            }
    
            @Override
            int writeBytesWireFormat(byte[] dst, int dstIndex) {
                bytesWritten = 20; // simulate 20 bytes of data
                return bytesWritten;
            }
    
            @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

        @DisplayName("Happy path")
        class HappyPath {
    
            @Test
            @DisplayName("readDirect over SMB2 returns bytes read and uses current offset")
            void readDirectSmb2Happy() throws Exception {
                SmbFileInputStream in = newStream();
    
                // Arrange SMB2 response to return 3 bytes
                Smb2ReadResponse smb2Resp = mock(Smb2ReadResponse.class);
                when(smb2Resp.getDataLength()).thenReturn(3);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java

            // Then
            // SMB2_HEADER_LENGTH + 4 bytes for tree disconnect structure
            int expectedSize = Smb2Constants.SMB2_HEADER_LENGTH + 4;
            // size8 method aligns to 8-byte boundary
            int alignedSize = (expectedSize + 7) & ~7;
            assertEquals(alignedSize, size);
        }
    
        @Test
        @DisplayName("Should write correct bytes to wire format")
        void testWriteBytesWireFormat() {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
Back to top