Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 148 for 0xffff (0.07 sec)

  1. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

            dst[dstIndex] = (byte) (this.wordCount / 2 & 0xFF);
            dstIndex++;
            dstIndex += this.wordCount;
            this.wordCount /= 2;
            this.byteCount = writeBytesWireFormat(dst, dstIndex + 2);
            dst[dstIndex++] = (byte) (this.byteCount & 0xFF);
            dst[dstIndex++] = (byte) (this.byteCount >> 8 & 0xFF);
            dstIndex += this.byteCount;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java

        private int pad2 = 0;
        private boolean hasMore = true;
        private boolean isPrimary = true;
        private int bufParameterOffset;
        private int bufDataOffset;
    
        static final int TRANSACTION_BUF_SIZE = 0xFFFF;
    
        /**
         * SMB TRANS2 subcommand for finding first matching files
         */
        public static final byte TRANS2_FIND_FIRST2 = (byte) 0x01;
        /**
         * SMB TRANS2 subcommand for finding next matching files
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Reader.kt

        val length = source.readMedium()
        if (length > INITIAL_MAX_FRAME_SIZE) {
          throw IOException("FRAME_SIZE_ERROR: $length")
        }
        val type = source.readByte() and 0xff
        val flags = source.readByte() and 0xff
        val streamId = source.readInt() and 0x7fffffff // Ignore reserved bit.
        if (type != TYPE_WINDOW_UPDATE && logger.isLoggable(FINE)) {
          logger.fine(frameLog(true, streamId, length, type, flags))
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java

        }
    
        @Test
        @DisplayName("Test close flags with different values")
        void testCloseFlagsWithDifferentValues() {
            // Test with different flag values
            int[] testFlagValues = { 0x0000, 0x0001, 0xFFFF };
    
            for (int flagValue : testFlagValues) {
                request.setCloseFlags(flagValue);
    
                byte[] buffer = new byte[256];
                request.writeBytesWireFormat(buffer, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                final byte[] addr = localInetAddress.getAddress();
                localHostname =
                        "JCIFS" + (addr[2] & 0xFF) + "_" + (addr[3] & 0xFF) + "_" + Hexdump.toHexString((int) (Math.random() * 0xFF), 2);
            }
    
            /*
             * Create an NbtAddress for the local interface with
             * the name deduced above possibly with scope applied and
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  6. src/archive/zip/zip_test.go

    	t.Run("uint16max-1_NoZip64", func(t *testing.T) {
    		t.Parallel()
    		if generatesZip64(t, gen(0xfffe)) {
    			t.Error("unexpected zip64")
    		}
    	})
    	// 16k records should make a zip64:
    	t.Run("uint16max_Zip64", func(t *testing.T) {
    		t.Parallel()
    		if !generatesZip64(t, gen(0xffff)) {
    			t.Error("expected zip64")
    		}
    	})
    }
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

                    Arguments.of(0x0300, DialectVersion.SMB300, true), Arguments.of(0x0302, DialectVersion.SMB302, true),
                    Arguments.of(0x0311, DialectVersion.SMB311, true), Arguments.of(0xFFFF, null, false), // SMB2_DIALECT_ANY
                    Arguments.of(0x9999, null, false) // Unknown dialect
            );
        }
    
        // Helper methods
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java

            @Test
            @DisplayName("Should handle hash algorithms with maximum value")
            void testMaximumHashAlgoValues() throws SMBProtocolDecodingException {
                int[] hashAlgos = { 0xFFFF, 0x0000, 0x7FFF };
                byte[] salt = { (byte) 0xFF, 0x00, 0x7F };
                PreauthIntegrityNegotiateContext originalContext = new PreauthIntegrityNegotiateContext(mockConfig, hashAlgos, salt);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 34K bytes
    - Viewed (0)
  9. src/main/java/jcifs/config/BaseConfiguration.java

        /** Maximum buffer size for IO operations */
        protected int maximumBufferSize = 0x10000;
        /** Maximum buffer size for SMB transaction operations */
        protected int transactionBufferSize = 0xFFFF - 512;
        /** Number of buffers to keep in cache */
        protected int bufferCacheSize = 16;
        /** Maximum size for list operations */
        protected int smbListSize = 65435;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

                assertEquals("Unknown dialect", exception.getMessage());
            }
    
            @ParameterizedTest
            @ValueSource(ints = { 0x0000, 0x0100, 0x0201, 0x0303, 0x0400, 0xFFFF })
            @DisplayName("Should throw exception for invalid dialects")
            void testConstructorInvalidDialects(int dialect) {
                IllegalArgumentException exception =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
Back to top