Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 104 for 0x7fffffffL (0.15 sec)

  1. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java

        void testWriteSetupWireFormatBufferBoundary() {
            notifyChange = new NtTransNotifyChange(mockConfig, 0xFFFF, 0xFFFFFFFF, true);
            byte[] dst = new byte[8]; // Exact size needed
    
            int bytesWritten = notifyChange.writeSetupWireFormat(dst, 0);
    
            assertEquals(8, bytesWritten);
            assertEquals(0xFFFFFFFF, SMBUtil.readInt4(dst, 0));
            assertEquals(0xFFFF, SMBUtil.readInt2(dst, 4));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  2. src/archive/zip/zip_test.go

    				t.Fatal(err)
    			}
    		}
    	}
    	t.Run("uint32max-2_NoZip64", func(t *testing.T) {
    		t.Parallel()
    		if generatesZip64(t, gen(0xfffffffe)) {
    			t.Error("unexpected zip64")
    		}
    	})
    	t.Run("uint32max-1_Zip64", func(t *testing.T) {
    		t.Parallel()
    		if !generatesZip64(t, gen(0xffffffff)) {
    			t.Error("expected zip64")
    		}
    	})
    }
    
    // At 16k records, we need to generate a zip64 file.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/ntlmssp/Type1Message.java

                    domain = suppliedDomain.toUpperCase().getBytes(getOEMEncoding());
                } else {
                    flags &= NTLMSSP_NEGOTIATE_OEM_DOMAIN_SUPPLIED ^ 0xffffffff;
                }
                byte[] workstation = {};
                if (suppliedWorkstation != null && suppliedWorkstation.length() != 0) {
                    hostInfo = true;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java

            transaction.setTotalParameterCount(0xFFFFFFFF);
            transaction.setTotalDataCount(0xFFFFFFFF);
            transaction.setMaxParameterCount(0xFFFFFFFF);
            transaction.setMaxDataCountForTest(0xFFFFFFFF);
            transaction.setParameterCount(0xFFFFFFFF);
            transaction.setParameterOffset(0xFFFFFFFF);
            transaction.setDataCount(0xFFFFFFFF);
            transaction.setDataOffset(0xFFFFFFFF);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/util/EncdecTest.java

            // When - encode little endian
            Encdec.enc_uint32le(value, buffer, 0);
            long decoded = Encdec.dec_uint32le(buffer, 0);
    
            // Then
            assertEquals(value & 0xFFFFFFFFL, decoded);
            assertEquals(0x78, buffer[0] & 0xFF);
            assertEquals(0x56, buffer[1] & 0xFF);
            assertEquals(0x34, buffer[2] & 0xFF);
            assertEquals(0x12, buffer[3] & 0xFF);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbComReadAndX.java

            command = SMB_COM_READ_ANDX;
            openTimeout = 0xFFFFFFFF;
        }
    
        SmbComReadAndX(final int fid, final long offset, final int maxCount, final ServerMessageBlock andx) {
            super(andx);
            this.fid = fid;
            this.offset = offset;
            this.maxCount = minCount = maxCount;
            command = SMB_COM_READ_ANDX;
            openTimeout = 0xFFFFFFFF;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java

                    Arguments.of(0xFFFFFFFF, "All bits set"));
        }
    
        @Test
        @DisplayName("Test writeParametersWireFormat buffer boundary")
        void testWriteParametersWireFormatBufferBoundary() {
            querySecurityDesc = new NtTransQuerySecurityDesc(mockConfig, 0xFFFF, 0xFFFFFFFF);
            byte[] dst = new byte[8];
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  8. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt

          skipName(buf) // name
    
          val type = buf.readShort().toInt() and 0xffff
          buf.readShort() // class
          @Suppress("UNUSED_VARIABLE")
          val ttl = buf.readInt().toLong() and 0xffffffffL // ttl
          val length = buf.readShort().toInt() and 0xffff
    
          if (type == TYPE_A || type == TYPE_AAAA) {
            val bytes = ByteArray(length)
            buf.read(bytes)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/com/LockingAndXRange.java

                SMBUtil.writeInt4(this.byteOffset >> 32, dst, dstIndex + 4);
                SMBUtil.writeInt4(this.byteOffset & 0xFFFFFFFF, dst, dstIndex + 8);
                SMBUtil.writeInt4(this.lengthInBytes >> 32, dst, dstIndex + 12);
                SMBUtil.writeInt4(this.lengthInBytes & 0xFFFFFFFF, dst, dstIndex + 16);
                return 20;
            }
            SMBUtil.writeInt2(this.pid, dst, dstIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeTest.java

            // SubCommand should be TRANS_WAIT_NAMED_PIPE (0x53)
            assertEquals(SmbComTransaction.TRANS_WAIT_NAMED_PIPE, pipe.subCommand);
    
            // Timeout is set to 0xFFFFFFFF (-1 when cast to int)
            assertEquals(0xFFFFFFFF, pipe.timeout);
    
            // Max parameter and data counts should be 0
            assertEquals(0, pipe.maxParameterCount);
            assertEquals(0, pipe.maxDataCount);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
Back to top