Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 466 for COffset (0.07 sec)

  1. src/cmd/asm/internal/asm/asm.go

    	if lastAddr, ok := p.dataAddr[name]; ok && nameAddr.Offset < lastAddr {
    		p.errorf("overlapping DATA entry for %s", name)
    		return
    	}
    	p.dataAddr[name] = nameAddr.Offset + int64(sz)
    
    	switch valueAddr.Type {
    	case obj.TYPE_CONST:
    		switch sz {
    		case 1, 2, 4, 8:
    			nameAddr.Sym.WriteInt(p.ctxt, nameAddr.Offset, int(sz), valueAddr.Offset)
    		default:
    			p.errorf("bad int size for DATA argument: %d", sz)
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Aug 05 17:31:25 UTC 2025
    - 26.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java

            byte[] buffer = new byte[10];
            int offset = 2;
    
            // Act
            int bytesWritten = transPeekNamedPipe.writeSetupWireFormat(buffer, offset);
    
            // Assert
            assertEquals(4, bytesWritten);
            assertEquals(SmbComTransaction.TRANS_PEEK_NAMED_PIPE, buffer[offset]);
            assertEquals((byte) 0x00, buffer[offset + 1]);
    
            // Verify FID is written correctly (little-endian)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt

     *
     * ```
     *  0..63 : Length of the UTF-16 sequence that this range maps to. The offset is b2b3.
     * 64..79 : Offset by a fixed negative offset. The bottom 4 bits of b1 are the top 4 bits of the offset.
     * 80..95 : Offset by a fixed positive offset. The bottom 4 bits of b1 are the top 4 bits of the offset.
     *    119 : Ignored.
     *    120 : Valid.
     *    121 : Disallowed
     *    122 : Mapped inline to the sequence: [b2].
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

        /**
         * Test integer overflow protection in security buffer offset calculation.
         */
        @Test
        public void testSecurityBufferIntegerOverflow() {
            byte[] buffer = createBasicNegotiateResponseBuffer();
    
            // Set security buffer offset close to Integer.MAX_VALUE to test overflow protection
            SMBUtil.writeInt2(32767, buffer, 56); // Large offset (will be added to header start)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java

        }
    
        @Test
        @DisplayName("Test decode with offset")
        void testDecodeWithOffset() throws SMBProtocolDecodingException {
            // Prepare buffer with offset
            long expectedValue = 0xAAAABBBBCCCCDDDDL;
            byte[] buffer = new byte[20];
            int offset = 7;
            SMBUtil.writeInt8(expectedValue, buffer, offset);
    
            // Decode from offset
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/ntlmssp/Type2Message.java

            int offset = 0;
            if (domainLength > 0) {
                writeUShort(targetInfo, offset, 2);
                offset += 2;
                writeUShort(targetInfo, offset, domainLength);
                offset += 2;
                System.arraycopy(domain, 0, targetInfo, offset, domainLength);
                offset += domainLength;
            }
            if (serverLength > 0) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 13K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/HashCode.java

        writeBytesToImpl(dest, offset, maxLength);
        return maxLength;
      }
    
      abstract void writeBytesToImpl(byte[] dest, int offset, int maxLength);
    
      /**
       * Returns a mutable view of the underlying bytes for the given {@code HashCode} if it is a
       * byte-based hashcode. Otherwise it returns {@link HashCode#asBytes}. Do <i>not</i> mutate this
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java

            @DisplayName("Should encode with offset correctly")
            void testEncodeWithOffset() {
                String path = "\\\\test";
                int maxReferralLevel = 5;
                buffer = new DfsReferralRequestBuffer(path, maxReferralLevel);
    
                int offset = 10;
                byte[] dst = new byte[offset + buffer.size()];
                int bytesEncoded = buffer.encode(dst, offset);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  9. generics.go

    	return c.with(func(db *DB) *DB {
    		return db.Or(query, args...)
    	})
    }
    
    func (c chainG[T]) Limit(offset int) ChainInterface[T] {
    	return c.with(func(db *DB) *DB {
    		return db.Limit(offset)
    	})
    }
    
    func (c chainG[T]) Offset(offset int) ChainInterface[T] {
    	return c.with(func(db *DB) *DB {
    		return db.Offset(offset)
    	})
    }
    
    type joinBuilder struct {
    	db *DB
    }
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/com/SmbComSeek.java

         */
        public final void setMode(final int mode) {
            this.mode = mode;
        }
    
        /**
         * Sets the seek offset.
         *
         * @param offset
         *            the offset to set
         */
        public final void setOffset(final long offset) {
            this.offset = offset;
        }
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.4K bytes
    - Viewed (0)
Back to top