Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 144 for GOLANG (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. internal/lru/lru.go

    // Package lru provides a thread-safe Least Recently Used (LRU) cache with expirable entries.
    package lru
    
    // golang -lru
    // https://github.com/hashicorp/golang-lru
    import (
    	"sync"
    	"time"
    )
    
    // EvictCallback is used to get a callback when a cache entry is evicted
    type EvictCallback[K comparable, V any] func(key K, value V)
    
    // LRU implements a thread-safe LRU with expirable entries.
    type LRU[K comparable, V any] struct {
    	size      int
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:35:55 GMT 2026
    - 12.6K bytes
    - Click Count (0)
  2. tests/gaussdb_test.go

    	DB.Migrator().DropTable(&Post{}, &Category{}, "post_categories")
    	DB.AutoMigrate(&Post{}, &Category{})
    
    	post := Post{
    		Title: "Hello World",
    		Categories: []*Category{
    			{Title: "Coding"},
    			{Title: "Golang"},
    		},
    	}
    
    	if err := DB.Create(&post).Error; err != nil {
    		t.Errorf("Failed, got error: %v", err)
    	}
    }
    
    func TestGaussDBOnConstraint(t *testing.T) {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Jul 21 02:46:58 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  3. docs/bucket/lifecycle/README.md

    Note that transition event notification is a MinIO extension.
    
    ## Explore Further
    
    - [MinIO | Golang Client API Reference](https://docs.min.io/community/minio-object-store/developers/go/API.html)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  4. tests/prepared_stmt_test.go

    	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 {
    	// https://github.com/golang/go/blob/e705a2d16e4ece77e08e80c168382cdb02890f5b/src/database/sql/sql.go#L2717
    	return err.Error() == "sql: statement is closed"
    }
    
    // TestPreparedStmtConcurrentClose test calling close and executing SQL concurrently
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Fri Apr 25 08:22:26 GMT 2025
    - 8K bytes
    - Click Count (0)
  5. cmd/http-stats.go

    		}
    		apiStats[k] = v
    	}
    	return apiStats
    }
    
    // HTTPStats holds statistics information about
    // HTTP requests made by all clients
    type HTTPStats struct {
    	s3RequestsInQueue       int32 // ref: https://golang.org/pkg/sync/atomic/#pkg-note-BUG
    	_                       int32 // For 64 bits alignment
    	s3RequestsIncoming      uint64
    	rejectedRequestsAuth    uint64
    	rejectedRequestsTime    uint64
    	rejectedRequestsHeader  uint64
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Sep 24 17:13:00 GMT 2024
    - 11.4K bytes
    - Click Count (0)
  6. cmd/api-headers.go

    			// report encoding bugs to AWS, and use ASCII-only metadata to ensure reliable S3 API
    			// compatibility.
    			if needsMimeEncoding(v) {
    				// see https://github.com/golang/go/blob/release-branch.go1.24/src/net/mail/message.go#L325
    				if strings.ContainsAny(v, "\"#$%&'(),.:;<>@[]^`{|}~") {
    					v = mime.BEncoding.Encode("UTF-8", v)
    				} else {
    					v = mime.QEncoding.Encode("UTF-8", v)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  7. CHANGELOG/CHANGELOG-1.34.md

    - github.com/go-stack/stack: [v1.8.0](https://github.com/go-stack/stack/tree/v1.8.0)
    - github.com/golang-jwt/jwt/v4: [v4.5.2](https://github.com/golang-jwt/jwt/tree/v4.5.2)
    - github.com/golang/mock: [v1.1.1](https://github.com/golang/mock/tree/v1.1.1)
    - github.com/google/shlex: [e7afc7f](https://github.com/google/shlex/tree/e7afc7f)
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Thu Mar 19 03:19:43 GMT 2026
    - 368.7K bytes
    - Click Count (2)
  8. CHANGELOG/CHANGELOG-1.27.md

    - go.uber.org/goleak: v1.2.0 → v1.2.1
    - golang.org/x/mod: v0.6.0 → v0.9.0
    - golang.org/x/net: 1e63c2f → v0.8.0
    - golang.org/x/sync: 886fb93 → v0.1.0
    - golang.org/x/sys: v0.3.0 → v0.6.0
    - golang.org/x/term: v0.3.0 → v0.6.0
    - golang.org/x/text: v0.5.0 → v0.8.0
    - golang.org/x/tools: v0.2.0 → v0.7.0
    - golang.org/x/xerrors: 5ec99f8 → 04be3eb
    - google.golang.org/grpc: v1.49.0 → v1.51.0
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Wed Jul 17 07:48:22 GMT 2024
    - 466.3K bytes
    - Click Count (2)
  9. internal/config/identity/openid/jwt.go

    package openid
    
    import (
    	"context"
    	"encoding/json"
    	"errors"
    	"fmt"
    	"io"
    	"net/http"
    	"sync"
    	"time"
    
    	jwtgo "github.com/golang-jwt/jwt/v4"
    	"github.com/minio/minio/internal/arn"
    	"github.com/minio/minio/internal/auth"
    	xnet "github.com/minio/pkg/v3/net"
    	"github.com/minio/pkg/v3/policy"
    )
    
    type publicKeys struct {
    	*sync.RWMutex
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  10. CHANGELOG/CHANGELOG-1.36.md

    - go.uber.org/zap: v1.27.0 → v1.27.1
    - golang.org/x/crypto: v0.45.0 → v0.47.0
    - golang.org/x/exp: 8a7402a → 944ab1f
    - golang.org/x/mod: v0.29.0 → v0.32.0
    - golang.org/x/net: v0.47.0 → v0.49.0
    - golang.org/x/oauth2: v0.30.0 → v0.34.0
    - golang.org/x/sync: v0.18.0 → v0.19.0
    - golang.org/x/sys: v0.38.0 → v0.40.0
    - golang.org/x/telemetry: 078029d → 8fff8a5
    - golang.org/x/term: v0.37.0 → v0.39.0
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Thu Mar 19 23:38:00 GMT 2026
    - 142.1K bytes
    - Click Count (0)
Back to Top