Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 145 for 0xffff (0.06 sec)

  1. src/main/java/jcifs/dcerpc/UUID.java

                value >>>= 4;
            }
            return new String(arr);
        }
    
        private static byte B(final int i) {
            return (byte) (i & 0xFF);
        }
    
        private static short S(final int i) {
            return (short) (i & 0xFFFF);
        }
    
        /**
         * Constructs a UUID from an existing rpc.uuid_t object
         *
         * @param uuid
         *            wrapped uuid object to copy values from
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java

         */
        public void enc_ndr_small(final int s) {
            buf[index] = (byte) (s & 0xFF);
            advance(1);
        }
    
        /**
         * Decodes a small integer (1 byte) from NDR format.
         *
         * @return the decoded small integer value
         */
        public int dec_ndr_small() {
            final int val = buf[index] & 0xFF;
            advance(1);
            return val;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/dcerpc/UUID.java

                value >>>= 4;
            }
            return new String(arr);
        }
    
        private static byte B(final int i) {
            return (byte) (i & 0xFF);
        }
    
        private static short S(final int i) {
            return (short) (i & 0xFFFF);
        }
    
        /**
         * Constructs a UUID from an existing rpc.uuid_t object
         *
         * @param uuid the wrapped uuid object to copy values from
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/dtyp/SecurityInfoTest.java

                    assertTrue(value > 0, "Constant " + field.getName() + " should have positive value");
                    // Values should be within reasonable range for security flags
                    assertTrue(value <= 0xFFFF, "Constant " + field.getName() + " value seems unusually large");
                }
            }
        }
    
        /**
         * Helper method to check if a number is a power of two
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

                jcifs.internal.smb1.com.SmbComReadAndX req = cap.getValue();
                assertEquals(0x12345 & 0xFFFF, req.getMaxCount(), "maxCount should contain lower 16 bits");
                assertEquals(0x12345, req.getMinCount(), "minCount should remain original full value");
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

                // Given
                byte[] buffer = new byte[60];
                SMBUtil.writeInt2(60, buffer, 0);
                SMBUtil.writeInt2(0xFFFF, buffer, 2); // Max flags
                SMBUtil.writeInt4(0xFFFFFFFF, buffer, 4); // Max reserved (ignored)
                SMBUtil.writeInt8(Long.MAX_VALUE, buffer, 8); // Max times
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/dtyp/ACETest.java

            testBuffer[0] = (byte) 0xFF; // Non-zero = Deny
            testBuffer[1] = (byte) 0xFF; // All flags
            testBuffer[2] = (byte) 0xFF; // Size low byte
            testBuffer[3] = (byte) 0xFF; // Size high byte
            testBuffer[4] = (byte) 0xFF; // Access mask all bits
            testBuffer[5] = (byte) 0xFF;
            testBuffer[6] = (byte) 0xFF;
            testBuffer[7] = (byte) 0xFF;
    
            // Add minimal SID data
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java

            assertEquals((byte) 0x12, dst[1]);
    
            // LIST_COUNT (2 bytes, LE)
            int listCount = Trans2FindFirst2.LIST_COUNT;
            assertEquals((byte) (listCount & 0xFF), dst[2]);
            assertEquals((byte) ((listCount >> 8) & 0xFF), dst[3]);
    
            // informationLevel (2 bytes, LE) -> 0x0104
            assertEquals((byte) 0x04, dst[4]);
            assertEquals((byte) 0x01, dst[5]);
    
            // resumeKey (4 bytes, LE)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java

                assertEquals(newFilename, actualFilename);
            }
        }
    
        @Test
        void testLargeBatchParameters() {
            // Test with maximum allowed values
            int maxSid = 0xFFFF;
            int maxResumeKey = 0x7FFFFFFF;
            int maxBatchCount = 65535;
            int maxBatchSize = 65535;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/config/BaseConfigurationTest.java

            assertFalse(config.isForceExtendedSecurity());
        }
    
        @Test
        @DisplayName("Test buffer configuration getters")
        void testBufferConfigurationGetters() {
            assertEquals(0xFFFF - 512, config.getTransactionBufferSize());
            assertEquals(0x10000, config.getMaximumBufferSize());
            assertEquals(16, config.getBufferCacheSize());
            assertEquals(200, config.getListCount());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.6K bytes
    - Viewed (0)
Back to top