- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 58 for preparse (0.14 sec)
-
prepare_stmt.go
// - maxSize: The maximum number of prepared statements that can be stored in the statement store. // - ttl: The time-to-live duration for each prepared statement in the store. Statements older than this duration will be automatically removed. // // Returns: // - A pointer to a PreparedStmtDB instance, which manages prepared statements using the provided connection pool and configuration.
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Fri Apr 25 08:22:26 UTC 2025 - 5.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/CommonServerMessageBlockResponse.java
/** * * @return the next response */ @Override CommonServerMessageBlockResponse getNextResponse(); /** * Prepares this response for the next request. * * @param next the next request to prepare for */ void prepare(CommonServerMessageBlockRequest next);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java
// prepare should propagate session id when received CIFSContext mockCtx = mock(CIFSContext.class); when(mockCtx.getConfig()).thenReturn(mock(Configuration.class)); Smb2SessionSetupRequest nextReq = new Smb2SessionSetupRequest(mockCtx, 0, 0, 0L, null); assertEquals(0L, nextReq.getSessionId()); resp.prepare(nextReq);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.7K bytes - Viewed (0) -
internal/stmt_store/stmt_store.go
defer close(cacheStmt.prepared) // Prepare the SQL statement using the provided connection. cacheStmt.Stmt, err = conn.PrepareContext(ctx, key) if err != nil { // If statement preparation fails, record the error and remove the invalid Stmt object from the cache. cacheStmt.prepareErr = err s.Delete(key) return &Stmt{}, err } // Return the successfully prepared Stmt object. return cacheStmt, nil
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Sun Apr 27 06:05:16 UTC 2025 - 6K bytes - Viewed (0) -
tests/prepared_stmt_test.go
} pdb.Mux.Lock() if len(pdb.Stmts.Keys()) == 0 { pdb.Mux.Unlock() t.Fatalf("prepared stmt can not be empty") } pdb.Mux.Unlock() pdb.Close() pdb.Mux.Lock() defer pdb.Mux.Unlock() if len(pdb.Stmts.Keys()) != 0 { t.Fatalf("prepared stmt should be empty") } } func isUsingClosedConnError(err error) bool {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Fri Apr 25 08:22:26 UTC 2025 - 8K bytes - Viewed (0) -
docs/releasing.md
``` 4. Tag the release and push to GitHub. ``` git commit -am "Prepare for release $RELEASE_VERSION." git tag -a parent-$RELEASE_VERSION -m "Version $RELEASE_VERSION" git push && git push --tags ``` 5. Wait for [GitHub Actions][github_actions] to start the publish job. 6. Prepare for ongoing development and push to GitHub. ``` sed -i "" \
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Dec 26 22:07:16 UTC 2022 - 1.5K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacSignatureTest.java
* @throws PACDecodingException if the PAC is malformed */ @Test void testConstructorKerbChecksumHmacMd5() throws IOException, PACDecodingException { // Prepare data ByteArrayOutputStream baos = new ByteArrayOutputStream(); writeLittleEndianInt(baos, PacSignature.KERB_CHECKSUM_HMAC_MD5); byte[] checksum = new byte[16];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java
// Pre-populate buffer with the encoding of a short value NdrBuffer prepare = new NdrBuffer(new byte[10], 0); prepare.enc_ndr_short(0x34); // Encode value 0x34 prepare.reset(); // Reset to beginning for decoding NdrBuffer spy = spy(prepare); ns.decode(spy); verify(spy).dec_ndr_short(); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupResponse.java
/** * {@inheritDoc} * * @see jcifs.internal.smb2.ServerMessageBlock2Response#prepare(jcifs.internal.CommonServerMessageBlockRequest) */ @Override public void prepare(final CommonServerMessageBlockRequest next) { if (isReceived()) { next.setSessionId(getSessionId()); } super.prepare(next); } /** * {@inheritDoc} *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.8K bytes - Viewed (1) -
src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.8K bytes - Viewed (0)