Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for isDirect (0.05 sec)

  1. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

         * @param isDirect whether to use direct transmission
         * @throws IOException if an I/O error occurs
         */
        protected abstract void doSendFragment(byte[] buf, int off, int length, boolean isDirect) throws IOException;
    
        /**
         * Receives a DCERPC fragment from the remote endpoint
         * @param buf the buffer to receive the fragment
         * @param isDirect whether to use direct reception
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/dcerpc/DcerpcPipeHandle.java

                out = (SmbFileOutputStream) pipe.getNamedPipeOutputStream();
            }
            if (isDirect) {
                out.writeDirect(buf, off, length, 1);
                return;
            }
            out.write(buf, off, length);
        }
    
        @Override
        protected void doReceiveFragment(final byte[] buf, final boolean isDirect) throws IOException {
            int off, flags, length;
    
            if (buf.length < max_recv) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/rdma/disni/DisniMemoryRegion.java

            // In real implementation, this would get the native memory address:
            // For direct ByteBuffers, this could be obtained through unsafe operations
            // or DiSNI-specific methods
    
            if (buffer.isDirect()) {
                // Assign a unique address to each buffer instance
                return bufferAddresses.computeIfAbsent(buffer, b -> addressCounter.getAndIncrement());
            } else {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/rdma/RdmaBufferManagerTest.java

            assertNotNull(buffer, "Buffer should not be null");
            assertTrue(buffer.capacity() >= 2048, "Buffer should be at least requested size");
            assertTrue(buffer.isDirect(), "Buffer should be direct");
        }
    
        @Test
        public void testReleaseBuffer() {
            ByteBuffer buffer = bufferManager.allocateBuffer(1024);
    
            // Release should not throw exception
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/DcerpcHandle.java

                off += fragSize;
            }
            throw new IOException();
        }
    
        /**
         * @param msg
         * @param in
         * @param off
         * @param isDirect
         * @return
         * @throws IOException
         * @throws DcerpcException
         * @throws NdrException
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  6. docs/debugging/s3-verify/go.mod

    require (
    	github.com/davecgh/go-spew v1.1.1 // indirect
    	github.com/dustin/go-humanize v1.0.1 // indirect
    	github.com/go-ini/ini v1.67.0 // indirect
    	github.com/goccy/go-json v0.10.4 // indirect
    	github.com/google/uuid v1.6.0 // indirect
    	github.com/klauspost/compress v1.17.11 // indirect
    	github.com/klauspost/cpuid/v2 v2.2.9 // indirect
    	github.com/minio/md5-simd v1.1.2 // indirect
    	github.com/pmezard/go-difflib v1.0.0 // indirect
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Apr 22 11:16:32 UTC 2025
    - 803 bytes
    - Viewed (0)
  7. go.mod

    	github.com/rivo/uniseg v0.4.7 // indirect
    	github.com/rjeczalik/notify v0.9.3 // indirect
    	github.com/rs/xid v1.6.0 // indirect
    	github.com/safchain/ethtool v0.5.10 // indirect
    	github.com/segmentio/asm v1.2.0 // indirect
    	github.com/shoenig/go-m1cpu v0.1.6 // indirect
    	github.com/spiffe/go-spiffe/v2 v2.5.0 // indirect
    	github.com/tidwall/gjson v1.18.0 // indirect
    	github.com/tidwall/match v1.1.1 // indirect
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Sep 06 17:33:19 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  8. tests/go.mod

    	github.com/jackc/pgx/v5 v5.7.5 // indirect
    	github.com/jackc/puddle/v2 v2.2.2 // indirect
    	github.com/jinzhu/inflection v1.0.0 // indirect
    	github.com/mattn/go-sqlite3 v1.14.32 // indirect
    	github.com/microsoft/go-mssqldb v1.9.3 // indirect
    	github.com/pmezard/go-difflib v1.0.0 // indirect
    	github.com/tjfoc/gmsm v1.4.1 // indirect
    	golang.org/x/crypto v0.41.0 // indirect
    	golang.org/x/sync v0.16.0 // indirect
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  9. docs/debugging/inspect/go.mod

    require (
    	github.com/cespare/xxhash/v2 v2.3.0 // indirect
    	github.com/fatih/color v1.18.0 // indirect
    	github.com/mattn/go-colorable v0.1.14 // indirect
    	github.com/mattn/go-isatty v0.0.20 // indirect
    	github.com/minio/pkg/v3 v3.0.28 // indirect
    	github.com/philhofer/fwd v1.1.3-0.20240916144458-20a13a1f6b7c // indirect
    	golang.org/x/crypto v0.35.0 // indirect
    	golang.org/x/sys v0.30.0 // indirect
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Apr 24 23:34:11 UTC 2025
    - 722 bytes
    - Viewed (0)
  10. schema/field.go

    		field.ValueOf = func(ctx context.Context, v reflect.Value) (interface{}, bool) {
    			v = reflect.Indirect(v)
    			fieldValue := v.Field(fieldIndex)
    			return fieldValue.Interface(), fieldValue.IsZero()
    		}
    	default:
    		field.ValueOf = func(ctx context.Context, v reflect.Value) (interface{}, bool) {
    			v = reflect.Indirect(v)
    			for _, fieldIdx := range field.StructField.Index {
    				if fieldIdx >= 0 {
    					v = v.Field(fieldIdx)
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Aug 20 04:51:17 UTC 2025
    - 32K bytes
    - Viewed (0)
Back to top