Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 92 for 0x7fffffffL (0.04 sec)

  1. src/main/java/jcifs/ntlmssp/Type2Message.java

                            : targetName.toUpperCase().getBytes(getOEMEncoding());
                    size += targetBytes.length;
                } else {
                    flags &= 0xffffffff ^ NTLMSSP_REQUEST_TARGET;
                }
            }
    
            if (targetInformationBytes != null) {
                size += targetInformationBytes.length;
                flags |= NTLMSSP_NEGOTIATE_TARGET_INFO;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/math/LongMath.java

          }
    
          @Override
          long mulMod(long a, long b, long m) {
            long aHi = a >>> 32; // < 2^31
            long bHi = b >>> 32; // < 2^31
            long aLo = a & 0xFFFFFFFFL; // < 2^32
            long bLo = b & 0xFFFFFFFFL; // < 2^32
    
            /*
             * a * b == aHi * bHi * 2^64 + (aHi * bLo + aLo * bHi) * 2^32 + aLo * bLo.
             *       == (aHi * bHi * 2^32 + aHi * bLo + aLo * bHi) * 2^32 + aLo * bLo
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 29 16:20:07 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java

            // Prepare test data with maximum values
            byte[] buffer = new byte[50];
            int bufferIndex = 0;
    
            // Set maximum values
            int testCapabilities = 0xFFFFFFFF;
            byte[] testGuid = new byte[16];
            Arrays.fill(testGuid, (byte) 0xFF);
            int testSecurityMode = 0xFFFF;
            int testDialect = 0xFFFF;
    
            // Write to buffer
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java

            // Assert
            assertNotNull(transPeekNamedPipe);
            assertEquals(TEST_PIPE_NAME, transPeekNamedPipe.name);
            assertEquals(0xFFFFFFFF, transPeekNamedPipe.timeout);
            assertEquals(6, transPeekNamedPipe.maxParameterCount);
            assertEquals(1, transPeekNamedPipe.maxDataCount);
            assertEquals((byte) 0x00, transPeekNamedPipe.maxSetupCount);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java

                assertArrayEquals(token, actualToken);
            }
        }
    
        @ParameterizedTest
        @CsvSource({ "0x00, 0x00000000", "0x01, 0x00000001", "0x03, 0x0000000F", "0xFF, 0x7FFFFFFF" })
        @DisplayName("Should handle various security modes and capabilities")
        void testVariousSecurityModesAndCapabilities(String securityModeHex, String capabilitiesHex) throws Exception {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java

            buffer[bufferIndex + 2] = (byte) 0xFF;
    
            // Set fields with negative values (should be treated as unsigned)
            SMBUtil.writeInt4(-1, buffer, bufferIndex + 3); // Should be read as 0xFFFFFFFF
            SMBUtil.writeInt4(-100, buffer, bufferIndex + 7);
            SMBUtil.writeInt4(-1000, buffer, bufferIndex + 11);
            SMBUtil.writeInt4(0, buffer, bufferIndex + 15);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/util/HexdumpTest.java

            Hexdump.toHexChars(0, dst1, 0, 4);
            assertEquals("0000", new String(dst1));
    
            // Test with all F's
            char[] dst2 = new char[8];
            Hexdump.toHexChars(0xFFFFFFFF, dst2, 0, 8);
            assertEquals("FFFFFFFF", new String(dst2));
    
            // Test partial buffer update
            char[] dst3 = new char[6];
            java.util.Arrays.fill(dst3, 'Z');
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/UUIDTest.java

            @DisplayName("toString() should handle maximum values correctly")
            void testToStringMaxValues() {
                // Arrange
                rpc.uuid_t rpcUuid = new rpc.uuid_t();
                rpcUuid.time_low = 0xFFFFFFFF;
                rpcUuid.time_mid = (short) 0xFFFF;
                rpcUuid.time_hi_and_version = (short) 0xFFFF;
                rpcUuid.clock_seq_hi_and_reserved = (byte) 0xFF;
                rpcUuid.clock_seq_low = (byte) 0xFF;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HpackTest.kt

        assertBytes(0xe0 or 31, 154, 10)
      }
    
      @Test
      fun max31BitValue() {
        hpackWriter!!.writeInt(0x7fffffff, 31, 0)
        assertBytes(31, 224, 255, 255, 255, 7)
        assertThat(newReader(byteStream(224, 255, 255, 255, 7)).readInt(31, 31))
          .isEqualTo(0x7fffffff)
      }
    
      @Test
      fun prefixMask() {
        hpackWriter!!.writeInt(31, 31, 0)
        assertBytes(31, 0)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 38.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SID.java

                this.sub_authority = new int[this.sub_authority_count];
                for (int i = 0; i < this.sub_authority_count; i++) {
                    this.sub_authority[i] = (int) (Long.parseLong(st.nextToken()) & 0xFFFFFFFFL);
                }
            }
        }
    
        /**
         * Construct a SID from a domain SID and an RID
         * (relative identifier). For example, a domain SID
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.5K bytes
    - Viewed (0)
Back to top