Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 96 for isDirect (0.97 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. utils/tests/utils.go

    	"go/ast"
    	"reflect"
    	"testing"
    	"time"
    
    	"gorm.io/gorm/utils"
    )
    
    func AssertObjEqual(t *testing.T, r, e interface{}, names ...string) {
    	for _, name := range names {
    		rv := reflect.Indirect(reflect.ValueOf(r))
    		ev := reflect.Indirect(reflect.ValueOf(e))
    		if rv.IsValid() != ev.IsValid() {
    			t.Errorf("%v: expect: %+v, got %+v", utils.FileWithLineNum(), r, e)
    			return
    		}
    		got := rv.FieldByName(name).Interface()
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Mar 10 09:21:56 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  9. 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)
  10. association.go

    			rv := reflect.Indirect(reflect.ValueOf(value))
    			appendToRelations(reflectValue, rv, clear && idx == 0)
    			if association.Error != nil {
    				return
    			}
    		}
    
    		if len(values) > 0 {
    			association.Error = associationDB.Updates(reflectValue.Addr().Interface()).Error
    		}
    	}
    
    	for _, assignBack := range assignBacks {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 21.5K bytes
    - Viewed (0)
Back to top