Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 58 for prepareFS (0.07 sec)

  1. cmd/test-utils_test.go

    	if remainingBytes > 0 {
    		streamLen += calculateSignedChunkLength(remainingBytes)
    	}
    	streamLen += calculateSignedChunkLength(0)
    	return streamLen
    }
    
    func prepareFS(ctx context.Context) (ObjectLayer, string, error) {
    	nDisks := 1
    	fsDirs, err := getRandomDisks(nDisks)
    	if err != nil {
    		return nil, "", err
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
  2. prepare_stmt.go

    		db.Mux.RUnlock()
    		// wait for other goroutines prepared
    		<-stmt.prepared
    		if stmt.prepareErr != nil {
    			return Stmt{}, stmt.prepareErr
    		}
    
    		return *stmt, nil
    	}
    	db.Mux.RUnlock()
    
    	db.Mux.Lock()
    	// double check
    	if stmt, ok := db.Stmts[query]; ok && (!stmt.Transaction || isTransaction) {
    		db.Mux.Unlock()
    		// wait for other goroutines prepared
    		<-stmt.prepared
    		if stmt.prepareErr != nil {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Aug 22 11:02:05 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  3. tests/prepared_stmt_test.go

    	}
    
    	pdb.Mux.Lock()
    	if len(pdb.Stmts) == 0 {
    		pdb.Mux.Unlock()
    		t.Fatalf("prepared stmt can not be empty")
    	}
    	pdb.Mux.Unlock()
    
    	pdb.Reset()
    	pdb.Mux.Lock()
    	defer pdb.Mux.Unlock()
    	if len(pdb.Stmts) != 0 {
    		t.Fatalf("prepared stmt should be empty")
    	}
    }
    
    func isUsingClosedConnError(err error) bool {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Aug 22 11:02:05 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. finisher_api.go

    		// close prepared statement, because SavePoint not support prepared statement.
    		// e.g. mysql8.0 doc: https://dev.mysql.com/doc/refman/8.0/en/sql-prepared-statements.html
    		var (
    			preparedStmtTx   *PreparedStmtTX
    			isPreparedStmtTx bool
    		)
    		// close prepared statement, because SavePoint not support prepared statement.
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Sep 14 12:58:29 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/test/java/org/apache/maven/cli/event/ExecutionEventLoggerTest.java

            when(logger.isInfoEnabled()).thenReturn(true);
            executionEventLogger = new ExecutionEventLogger(messageBuilderFactory, logger);
        }
    
        @Test
        void testProjectStarted() {
            // prepare
            File basedir = new File("").getAbsoluteFile();
            ExecutionEvent event = mock(ExecutionEvent.class);
            MavenProject project = mock(MavenProject.class);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  6. docker/Dockerfile.distroless

    # prepare a distroless source context to copy files from
    FROM cgr.dev/chainguard/static@sha256:d07036a3beff43183f49bce5b2a0bd945f2ffe6e76f734ebd040059a40d371bc AS distroless_source
    
    # prepare a base dev to modify file contents
    FROM ubuntu:noble AS ubuntu_source
    
    # Modify contents of container
    COPY --from=distroless_source /etc/ /home/etc
    COPY --from=distroless_source /home/nonroot /home/nonroot
    RUN echo istio-proxy:x:1337: >> /home/etc/group
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 23 15:22:31 UTC 2024
    - 829 bytes
    - Viewed (0)
  7. lib/time/update.bash

    # This script rebuilds the time zone files using files
    # downloaded from the ICANN/IANA distribution.
    #
    # To prepare an update for a new Go release,
    # consult https://www.iana.org/time-zones for the latest versions,
    # update CODE and DATA below, and then run
    #
    #	./update.bash -commit
    #
    # That will prepare the files and create the commit.
    #
    # To review such a commit (as the reviewer), use:
    #
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:25:08 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. pom.xml

    				<artifactId>jacoco-maven-plugin</artifactId>
    				<version>0.8.10</version>
    				<executions>
    					<execution>
    						<goals>
    							<goal>prepare-agent</goal>
    						</goals>
    					</execution>
    					<execution>
    						<id>report</id>
    						<phase>prepare-package</phase>
    						<goals>
    							<goal>report</goal>
    						</goals>
    					</execution>
    				</executions>
    			</plugin>
    			<plugin>
    Registered: Thu Oct 31 02:32:13 UTC 2024
    - Last Modified: Thu Oct 03 17:04:48 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/searchlist/SearchBody.java

    import org.lastaflute.web.validation.theme.conversion.ValidateTypeFailure;
    
    public class SearchBody extends ListForm {
    
        // `size` is an alias of `num`.
        // `size` is prepared to be compatible with other Admin APIs
        @ValidateTypeFailure
        public Integer size;
    
        @Override
        public void initialize() {
            if (size != null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  10. internal/event/target/postgresql.go

    		if target.updateStmt, err = target.db.Prepare(fmt.Sprintf(psqlUpdateRow, target.args.Table)); err != nil {
    			return err
    		}
    		// delete statement
    		if target.deleteStmt, err = target.db.Prepare(fmt.Sprintf(psqlDeleteRow, target.args.Table)); err != nil {
    			return err
    		}
    	case event.AccessFormat:
    		// insert statement
    		if target.insertStmt, err = target.db.Prepare(fmt.Sprintf(psqlInsertRow, target.args.Table)); err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top