Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for isDirect (0.06 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. docs/debugging/xattr/go.mod

    go 1.21
    
    require (
    	github.com/olekukonko/tablewriter v0.0.5
    	github.com/pkg/xattr v0.4.9
    )
    
    require (
    	github.com/mattn/go-runewidth v0.0.15 // indirect
    	github.com/rivo/uniseg v0.4.4 // indirect
    	golang.org/x/sys v0.15.0 // indirect
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 289 bytes
    - Viewed (0)
  9. schema/utils.go

    		appendToResults := func(value reflect.Value) {
    			if _, isZero := rel.Field.ValueOf(ctx, value); !isZero {
    				result := reflect.Indirect(rel.Field.ReflectValueOf(ctx, value))
    				switch result.Kind() {
    				case reflect.Struct:
    					reflectResults = reflect.Append(reflectResults, result.Addr())
    				case reflect.Slice, reflect.Array:
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Feb 13 06:16:26 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/pac/PacCredentialTypeTest.java

            assertTrue(pacCredentialType.isCredentialTypeCorrect());
        }
    
        /**
         * Tests the isCredentialTypeCorrect method with a null byte array.
         * This test is indirect as the constructor would throw an exception.
         * We can't instantiate the class with null, so we can't directly test this method's behavior with null.
         * However, the constructor logic `!isCredentialTypeCorrect()` covers this.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.9K bytes
    - Viewed (0)
Back to top