Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 228 for Golang (0.08 seconds)

  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. 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)
  3. 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)
  4. CHANGELOG/CHANGELOG-1.33.md

    - go.opentelemetry.io/proto/otlp: v1.3.1 → v1.4.0
    - golang.org/x/crypto: v0.28.0 → v0.36.0
    - golang.org/x/net: v0.30.0 → v0.38.0
    - golang.org/x/oauth2: v0.23.0 → v0.27.0
    - golang.org/x/sync: v0.8.0 → v0.12.0
    - golang.org/x/sys: v0.26.0 → v0.31.0
    - golang.org/x/term: v0.25.0 → v0.30.0
    - golang.org/x/text: v0.19.0 → v0.23.0
    - golang.org/x/time: v0.7.0 → v0.9.0
    - google.golang.org/appengine: v1.6.7 → v1.4.0
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Thu Mar 19 03:17:58 GMT 2026
    - 369K bytes
    - Click Count (0)
  5. gorm.go

    // Package gorm is a full-featured, developer-friendly ORM for Golang.
    // See https://gorm.io for documentation and community.
    package gorm
    
    import (
    	"context"
    	"database/sql"
    	"fmt"
    	"reflect"
    	"sort"
    	"sync"
    	"time"
    
    	"gorm.io/gorm/clause"
    	"gorm.io/gorm/logger"
    	"gorm.io/gorm/schema"
    )
    
    // for Config.cacheStore store PreparedStmtDB key
    const preparedStmtDBKey = "preparedStmt"
    
    // Config GORM config
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:35:55 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  6. CHANGELOG/CHANGELOG-1.35.md

    - go.yaml.in/yaml/v2: v2.4.2 → v2.4.3
    - golang.org/x/crypto: v0.36.0 → v0.45.0
    - golang.org/x/mod: v0.21.0 → v0.29.0
    - golang.org/x/net: v0.38.0 → v0.47.0
    - golang.org/x/oauth2: v0.27.0 → v0.30.0
    - golang.org/x/sync: v0.12.0 → v0.18.0
    - golang.org/x/sys: v0.31.0 → v0.38.0
    - golang.org/x/telemetry: bda5523 → 078029d
    - golang.org/x/term: v0.30.0 → v0.37.0
    - golang.org/x/text: v0.23.0 → v0.31.0
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Thu Mar 19 03:20:49 GMT 2026
    - 265.9K bytes
    - Click Count (0)
  7. src/bytes/bytes.go

    func Repeat(b []byte, count int) []byte {
    	if count == 0 {
    		return []byte{}
    	}
    
    	// Since we cannot return an error on overflow,
    	// we should panic if the repeat will generate an overflow.
    	// See golang.org/issue/16237.
    	if count < 0 {
    		panic("bytes: negative Repeat count")
    	}
    	hi, lo := bits.Mul(uint(len(b)), uint(count))
    	if hi > 0 || lo > uint(maxInt) {
    		panic("bytes: Repeat output length overflow")
    	}
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Mar 12 17:56:55 GMT 2026
    - 36.3K bytes
    - Click Count (0)
  8. src/cmd/asm/internal/asm/testdata/arm64sveenc.s

    // Code generated by 'instgen -o=$GOROOT # from go install golang.org/x/arch/arm64/instgen@latest'. DO NOT EDIT.
    
    #include "../../../../../runtime/textflag.h"
    
    TEXT asmtest(SB),DUPOK|NOSPLIT,$-8
    	PAND P4.B, P2.B, P1.Z, P14.B                      // 4e440425
    	PANDS P4.B, P2.B, P1.Z, P14.B                     // 4e444425
    	PBIC P4.B, P2.B, P1.Z, P14.B                      // 5e440425
    	PBICS P4.B, P2.B, P1.Z, P14.B                     // 5e444425
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Mar 20 17:02:17 GMT 2026
    - 35.1K bytes
    - Click Count (0)
  9. src/cmd/asm/internal/asm/testdata/arm64sveerror.s

    // Code generated by 'instgen -o=$GOROOT # from go install golang.org/x/arch/arm64/instgen@latest'. DO NOT EDIT.
    
    #include "../../../../../runtime/textflag.h"
    
    TEXT asmtest(SB),DUPOK|NOSPLIT,$-8
    	PAND P14.S, P13.S, P14.M, P5.D                    // ERROR "illegal combination from SVE"
    	PANDS P14.S, P13.S, P14.M, P5.D                   // ERROR "illegal combination from SVE"
    	PBIC P14.S, P13.S, P14.M, P5.D                    // ERROR "illegal combination from SVE"
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Mar 20 17:02:17 GMT 2026
    - 50.6K bytes
    - Click Count (0)
  10. src/bytes/bytes_test.go

    			switch v := r.(type) {
    			case error:
    				err = v
    			default:
    				err = fmt.Errorf("%s", v)
    			}
    		}
    	}()
    
    	Repeat(b, count)
    
    	return
    }
    
    // See Issue golang.org/issue/16237
    func TestRepeatCatchesOverflow(t *testing.T) {
    	type testCase struct {
    		s      string
    		count  int
    		errStr string
    	}
    
    	runTestCases := func(prefix string, tests []testCase) {
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Mar 11 03:07:05 GMT 2026
    - 62.9K bytes
    - Click Count (0)
Back to Top