Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 571 - 580 of 1,832 for context_ (0.06 seconds)

  1. logger/slog_test.go

    //go:build go1.21
    
    package logger
    
    import (
    	"bytes"
    	"context"
    	"log/slog"
    	"strings"
    	"testing"
    	"time"
    )
    
    func TestSlogLogger(t *testing.T) {
    	buf := &bytes.Buffer{}
    	handler := slog.NewTextHandler(buf, &slog.HandlerOptions{AddSource: true})
    	logger := NewSlogLogger(slog.New(handler), Config{LogLevel: Info})
    
    	logger.Trace(context.Background(), time.Now(), func() (string, int64) {
    		return "select count(*) from users", 0
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Thu Oct 30 10:56:26 GMT 2025
    - 782 bytes
    - Click Count (0)
  2. docs/extensions/s3zip/examples/minio-go/main.go

    package main
    
    import (
    	"context"
    	"io"
    	"log"
    	"os"
    
    	"github.com/minio/minio-go/v7"
    	"github.com/minio/minio-go/v7/pkg/credentials"
    )
    
    func main() {
    	s3Client, err := minio.New("minio-server-address:9000", &minio.Options{
    		Creds: credentials.NewStaticV4("access-key", "secret-key", ""),
    	})
    	if err != nil {
    		log.Fatalln(err)
    	}
    
    	var opts minio.GetObjectOptions
    
    	// Add extract header to request:
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Jun 14 18:04:14 GMT 2021
    - 694 bytes
    - Click Count (0)
  3. tensorflow/c/eager/c_api_experimental.h

    // Dynamic cluster API.
    
    // Update an existing context with a new set of servers defined in a ServerDef
    // proto. Servers can be added to and removed from the list of remote workers
    // in the context. A New set of servers identified by the ServerDef must be up
    // when the context is updated.
    //
    // This API is for experimental usage and may be subject to change.
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Click Count (1)
  4. api/go1.17.txt

    pkg compress/lzw, type Reader struct
    pkg compress/lzw, type Writer struct
    pkg crypto/tls, method (*CertificateRequestInfo) Context() context.Context
    pkg crypto/tls, method (*ClientHelloInfo) Context() context.Context
    pkg crypto/tls, method (*Conn) HandshakeContext(context.Context) error
    pkg database/sql, method (*NullByte) Scan(interface{}) error
    pkg database/sql, method (*NullInt16) Scan(interface{}) error
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 18K bytes
    - Click Count (0)
  5. .github/ISSUE_TEMPLATE/10_contributor_bug_report.yml

          description: Tell us what should happen
        validations:
          required: true
      - type: textarea
        id: context
        attributes:
          label: Context (optional)
          description: |
            How has this issue affected you? What are you trying to accomplish?
            Providing context helps us come up with a solution that is most useful in the real world
        validations:
          required: false
      - type: textarea
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Sep 09 14:48:49 GMT 2024
    - 3K bytes
    - Click Count (1)
  6. src/main/java/jcifs/smb/MIEName.java

     */
    package jcifs.smb;
    
    import java.util.Objects;
    
    import org.bouncycastle.asn1.ASN1ObjectIdentifier;
    
    /**
     * This class is used to parse the name of context initiator and
     * context acceptor which are retrieved from GSSContext.
     *
     * @author Shun
     *
     */
    class MIEName {
    
        private static byte[] TOK_ID = { 04, 01 };
        private static int TOK_ID_SIZE = 2;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  7. cmd/bitrot-whole.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    	"hash"
    	"io"
    )
    
    // Implementation to calculate bitrot for the whole file.
    type wholeBitrotWriter struct {
    	disk      StorageAPI
    	volume    string
    	filePath  string
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Jan 31 02:11:45 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  8. .github/ISSUE_TEMPLATE/bug_report.md

    **Environment (please complete the following information):**
     - OS: [e.g. Windows 10]
     - Browser [e.g. chrome, safari]
     - Version [e.g. 13.5.0]
    
    **Additional context**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Aug 17 22:53:30 GMT 2020
    - 782 bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/resident/ResidentMavenInvoker.java

            for (MavenContext context : residentContext.values()) {
                try {
                    context.doCloseContainer();
                } catch (Exception e) {
                    exceptions.add(e);
                }
            }
            if (!exceptions.isEmpty()) {
                InvokerException exception = new InvokerException("Could not cleanly shut down context pool");
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Sep 11 17:20:46 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  10. tests/association_generics_test.go

    package tests_test
    
    import (
    	"context"
    	"testing"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/clause"
    	. "gorm.io/gorm/utils/tests"
    )
    
    // BelongsToCompany and BelongsToUser models for belongs to tests - using existing User and Company models
    
    // Test Set + Create with Association OpCreate operation using real database
    func TestClauseAssociationSetCreateWithOpCreate(t *testing.T) {
    	ctx := context.Background()
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Fri Sep 12 05:42:26 GMT 2025
    - 37.9K bytes
    - Click Count (0)
Back to Top