Search Options

Results per page
Sort
Preferred Languages
Advance

Results 411 - 420 of 1,756 for writeFn (0.04 sec)

  1. src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java

            byte[] dst = new byte[1024];
            int dstIndex = 0;
    
            int bytesWritten = netServerEnum2.writeParametersWireFormat(dst, dstIndex);
    
            // Verify bytes written
            assertTrue(bytesWritten > 0);
    
            // Verify subcommand
            assertEquals(SmbComTransaction.NET_SERVER_ENUM2, dst[0]);
            assertEquals(0, dst[1]);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  2. interfaces.go

    type Dialector interface {
    	Name() string
    	Initialize(*DB) error
    	Migrator(db *DB) Migrator
    	DataTypeOf(*schema.Field) string
    	DefaultValueOf(*schema.Field) clause.Expression
    	BindVarTo(writer clause.Writer, stmt *Statement, v interface{})
    	QuoteTo(clause.Writer, string)
    	Explain(sql string, vars ...interface{}) string
    }
    
    // Plugin GORM plugin interface
    type Plugin interface {
    	Name() string
    	Initialize(*DB) error
    }
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sat Aug 19 13:33:31 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/netbios/NameServicePacketTest.java

            packet.questionCount = 1;
            packet.answerCount = 2;
            packet.authorityCount = 3;
            packet.additionalCount = 4;
    
            int written = packet.writeHeaderWireFormat(dst, 0);
            assertEquals(NameServicePacket.HEADER_LENGTH, written);
    
            assertEquals((byte) 0x12, dst[0]); // nameTrnId
            assertEquals((byte) 0x34, dst[1]);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  4. src/bufio/scan_test.go

    type slowReader struct {
    	max int
    	buf io.Reader
    }
    
    func (sr *slowReader) Read(p []byte) (n int, err error) {
    	if len(p) > sr.max {
    		p = p[0:sr.max]
    	}
    	return sr.buf.Read(p)
    }
    
    // genLine writes to buf a predictable but non-trivial line of text of length
    // n, including the terminal newline and an occasional carriage return.
    // If addNewline is false, the \r and \n are not emitted.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Sep 22 16:22:42 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  5. cmd/erasure-metadata-utils.go

    			continue
    		}
    		if !init && !partsMetadata[index].IsValid() {
    			// Check for parts metadata validity for only
    			// fi.ModTime is not empty - ModTime is always set,
    			// if object was ever written previously.
    			continue
    		}
    		if !init && fi.XLV1 != partsMetadata[index].XLV1 {
    			continue
    		}
    		blockIndex := distribution[index]
    		shuffledPartsMetadata[blockIndex-1] = partsMetadata[index]
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  6. cmd/metacache-stream_test.go

    "src/compress/lzw/", "src/compress/lzw/reader.go", "src/compress/lzw/reader_test.go", "src/compress/lzw/writer.go", "src/compress/lzw/writer_test.go", "src/compress/testdata/", "src/compress/testdata/e.txt", "src/compress/testdata/gettysburg.txt", "src/compress/testdata/pi.txt", "src/compress/zlib/", "src/compress/zlib/example_test.go", "src/compress/zlib/reader.go", "src/compress/zlib/reader_test.go", "src/compress/zlib/writer.go", "src/compress/zlib/writer_test.go"}
    
    func loadMetacacheSample(t testing.TB)...
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 15K bytes
    - Viewed (0)
  7. docs/en/docs/management-tasks.md

    ///
    
    ```
    
    it would change the style to the default one, it would look like:
    
    /// consejo
    
    Esto es un consejo.
    
    ///
    
    Those don't have to be translated, but if they are, they need to be written as:
    
    ```
    /// tip | consejo
    
    Esto es un consejo.
    
    ///
    
    ```
    
    Which looks like:
    
    /// tip | consejo
    
    Esto es un consejo.
    
    ///
    
    ## First Translation PR
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java

                int smallEncodedSize = context.encode(smallBuffer, 0);
                int largeEncodedSize = context.encode(largeBuffer, 500);
    
                // Assert
                // encode() returns actual bytes written (6), not size() value (8)
                assertEquals(6, smallEncodedSize); // actual: 2 bytes count + 2*2 bytes for ciphers
                assertEquals(6, largeEncodedSize);
    
                // Verify data at different positions
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache2/FileOperatorTest.kt

          )
        val bufferA = Buffer()
        val bufferB = Buffer()
        bufferA.writeUtf8("Dodgson!\n")
        operatorA.write(0, bufferA, 9)
        bufferB.writeUtf8("You shouldn't use my name.\n")
        operatorB.write(9, bufferB, 27)
        bufferA.writeUtf8("Dodgson, we've got Dodgson here!\n")
        operatorA.write(36, bufferA, 33)
        operatorB.read(0, bufferB, 9)
        assertThat(bufferB.readUtf8()).isEqualTo("Dodgson!\n")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/NetServerEnum2Test.java

            // Verify domain
            String writtenDomain = new String(dst, currentIndex, testDomain.length(), StandardCharsets.US_ASCII);
            assertEquals(testDomain.toUpperCase(), writtenDomain);
    
            // Verify total bytes written
            assertEquals(currentIndex + testDomain.length() + 1, bytesWritten);
        }
    
        /**
         * Test the writeParametersWireFormat method for NET_SERVER_ENUM3.
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.6K bytes
    - Viewed (0)
Back to top