Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 124 for prepare (0.17 sec)

  1. prepare_stmt.go

    		db.Mux.Unlock()
    		// wait for other goroutines prepared
    		<-stmt.prepared
    		if stmt.prepareErr != nil {
    			return Stmt{}, stmt.prepareErr
    		}
    
    		return *stmt, nil
    	}
    
    	// cache preparing stmt first
    	cacheStmt := Stmt{Transaction: isTransaction, prepared: make(chan struct{})}
    	db.Stmts[query] = &cacheStmt
    	db.Mux.Unlock()
    
    	// prepare completed
    	defer close(cacheStmt.prepared)
    
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Thu Mar 28 08:47:39 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  2. cmd/prepare-storage.go

    	if len(endpoints) == 0 || setCount == 0 || setDriveCount == 0 {
    		return nil, nil, errInvalidArgument
    	}
    
    	// prepare getElapsedTime() to calculate elapsed time since we started trying formatting disks.
    	// All times are rounded to avoid showing milli, micro and nano seconds
    	formatStartTime := time.Now().Round(time.Second)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  3. tests/associations_has_many_test.go

    	}
    	AssertAssociationCount(t, user2, "Pets", 0, "after delete")
    
    	// Prepare Data for Clear
    	if err := DB.Model(&user2).Association("Pets").Append(&pet); err != nil {
    		t.Fatalf("Error happened when append Pets, got %v", err)
    	}
    
    	AssertAssociationCount(t, user2, "Pets", 1, "after prepare data")
    
    	// Clear
    	if err := DB.Model(&user2).Association("Pets").Clear(); err != nil {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Dec 15 08:36:08 GMT 2023
    - 15.6K bytes
    - Viewed (0)
  4. docker/Dockerfile.distroless

    # prepare a distroless source context to copy files from
    FROM gcr.io/distroless/static-debian11@sha256:9be3fcc6abeaf985b5ecce59451acbcbb15e7be39472320c538d0d55a0834edc as distroless_source
    
    # prepare a base dev to modify file contents
    FROM ubuntu:focal 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
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Jan 23 18:23:46 GMT 2024
    - 836 bytes
    - Viewed (0)
  5. 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 {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 17:51:07 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/LocalSnapshotMetadataGenerator.java

            timestamp = (Date) ConfigUtils.getObject(session, new Date(), "maven.startTime");
    
            snapshots = new LinkedHashMap<>();
        }
    
        @Override
        public Collection<? extends Metadata> prepare(Collection<? extends Artifact> artifacts) {
            for (Artifact artifact : artifacts) {
                if (artifact.isSnapshot()) {
                    Object key = LocalSnapshotMetadata.getKey(artifact);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.7K 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:
    #
    Shell Script
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 02 18:20:41 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  8. src/archive/zip/writer.go

    				return false, false
    			}
    			require = true
    		}
    	}
    	return true, require
    }
    
    // prepare performs the bookkeeping operations required at the start of
    // CreateHeader and CreateRaw.
    func (w *Writer) prepare(fh *FileHeader) error {
    	if w.last != nil && !w.last.closed {
    		if err := w.last.close(); err != nil {
    			return err
    		}
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  9. 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>
    XML
    - Registered: Thu Apr 25 15:34:08 GMT 2024
    - Last Modified: Thu Jan 04 12:50:27 GMT 2024
    - 4K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt

            .serialNumber(1L)
            .certificateAuthority(1)
            .commonName("root")
            .build()
    
        // Add a good intermediate CA, and have that issue a good certificate to localhost. Prepare an
        // SSL context for an HTTP client under attack. It includes the trusted CA and a pinned
        // certificate.
        val goodIntermediateCa =
          HeldCertificate.Builder()
            .signedBy(rootCa)
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 23.8K bytes
    - Viewed (0)
Back to top