Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 39 for isDirect (0.08 seconds)

  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) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.5K bytes
    - Click Count (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 {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 5.3K bytes
    - Click Count (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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 7.1K bytes
    - Click Count (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
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 803 bytes
    - Click Count (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()
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Fri Mar 10 09:21:56 GMT 2023
    - 3.9K bytes
    - Click Count (0)
  6. tests/go.mod

    	github.com/jackc/pgx/v5 v5.7.6 // 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.43.0 // indirect
    	golang.org/x/sync v0.17.0 // indirect
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sun Nov 02 14:09:18 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  7. scripts/tests/test_translation_fixer/test_header_permalinks/test_header_number_mismatch.py

        "scripts/tests/test_translation_fixer/test_header_permalinks/data"
    ).absolute()
    
    
    @pytest.mark.parametrize(
        "copy_test_files",
        [(f"{data_path}/en_doc.md", f"{data_path}/translated_doc_number_gt.md")],
        indirect=True,
    )
    def test_gt(runner: CliRunner, root_dir: Path, copy_test_files):
        result = runner.invoke(
            cli,
            ["fix-pages", "docs/lang/docs/doc.md"],
        )
        assert result.exit_code == 1
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 22:43:44 GMT 2026
    - 1.9K bytes
    - Click Count (0)
  8. tests/test_computed_fields.py

    
    @pytest.mark.parametrize("client", [True, False], indirect=True)
    @pytest.mark.parametrize("path", ["/", "/responses"])
    def test_get(client: TestClient, path: str):
        response = client.get(path)
        assert response.status_code == 200, response.text
        assert response.json() == {"width": 3, "length": 4, "area": 12}
    
    
    @pytest.mark.parametrize("client", [True, False], indirect=True)
    def test_openapi_schema(client: TestClient):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 3.8K bytes
    - Click Count (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
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 722 bytes
    - Click Count (0)
  10. go.mod

    module gorm.io/gorm
    
    go 1.18
    
    require (
    	github.com/jinzhu/inflection v1.0.0
    	github.com/jinzhu/now v1.1.5
    	golang.org/x/text v0.20.0
    )
    
    require (
    	github.com/mattn/go-sqlite3 v1.14.22 // indirect
    	gorm.io/driver/sqlite v1.6.0 // indirect
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Fri Sep 12 04:33:27 GMT 2025
    - 241 bytes
    - Click Count (0)
Back to Top