- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 1,422 for go$$ (0.02 sec)
-
internal/http/listener.go
case <-listener.ctxDoneCh: return } } } // Start separate goroutine for each listener to handle connection. for idx, ln := range listener.listeners { go handleListener(idx, ln) } } // Accept - reads from httpListener.acceptCh for one of previously accepted TCP connection and returns the same. func (listener *httpListener) Accept() (conn net.Conn, err error) { select {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 5.8K bytes - Viewed (0) -
cmd/postpolicyform_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "bytes" "encoding/base64" "net/http" "strings" "testing" minio "github.com/minio/minio-go/v7" xhttp "github.com/minio/minio/internal/http" ) func TestParsePostPolicyForm(t *testing.T) { testCases := []struct { policy string success bool }{ // missing expiration, will fail. {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 12.3K bytes - Viewed (0) -
internal/s3select/jstream/decoder.go
return d } // Stream begins decoding from the underlying reader and returns a // streaming MetaValue channel for JSON values at the configured emitDepth. func (d *Decoder) Stream() chan *MetaValue { go d.decode() return d.metaCh } // Pos returns the number of bytes consumed from the underlying reader func (d *Decoder) Pos() int { return int(d.pos) } // Err returns the most recent decoder error if any, or nil
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 13.4K bytes - Viewed (0) -
internal/event/target/nsq.go
package target import ( "context" "crypto/tls" "encoding/json" "errors" "fmt" "net/url" "os" "path/filepath" "github.com/nsqio/go-nsq" "github.com/minio/minio/internal/event" "github.com/minio/minio/internal/logger" "github.com/minio/minio/internal/once" "github.com/minio/minio/internal/store" xnet "github.com/minio/pkg/v3/net" )
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 7.1K bytes - Viewed (0) -
internal/logger/console.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package logger import ( "encoding/json" "fmt" "os" "strings" "time" "github.com/minio/madmin-go/v3/logger/log" "github.com/minio/minio/internal/color" ) // ConsoleLoggerTgt is a stringified value to represent console logging const ConsoleLoggerTgt = "console+http"
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 7.2K bytes - Viewed (0) -
cmd/tier.go
import ( "bytes" "context" "encoding/base64" "encoding/binary" "errors" "fmt" "maps" "math/rand" "net/http" "path" "strings" "sync" "time" "github.com/minio/madmin-go/v3" "github.com/minio/minio/internal/crypto" "github.com/minio/minio/internal/hash" "github.com/minio/minio/internal/kms" "github.com/prometheus/client_golang/prometheus" ) //go:generate msgp -file $GOFILE
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 15.6K bytes - Viewed (0) -
tests/embedded_struct_test.go
} } type Content struct { Content interface{} `gorm:"type:String"` } func (c Content) Value() (driver.Value, error) { // mssql driver with issue on handling null bytes https://github.com/denisenkom/go-mssqldb/issues/530, b, err := json.Marshal(c) return string(b[:]), err } func (c *Content) Scan(src interface{}) error { var value Content str, ok := src.(string) if !ok {Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Wed May 08 04:07:58 UTC 2024 - 7.3K bytes - Viewed (0) -
cmd/apierrorcode_string.go
// Code generated by "stringer -type=APIErrorCode -trimprefix=Err api-errors.go"; DO NOT EDIT. package cmd import "strconv" func _() { // An "invalid array index" compiler error signifies that the constant values have changed. // Re-run the stringer command to generate them again. var x [1]struct{} _ = x[ErrNone-0] _ = x[ErrAccessDenied-1] _ = x[ErrBadDigest-2] _ = x[ErrEntityTooSmall-3] _ = x[ErrEntityTooLarge-4]
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Apr 16 07:34:24 UTC 2025 - 21.6K bytes - Viewed (0) -
internal/lock/lock_windows.go
// // The MSDN docs appear to say that a normal path that is 248 bytes long // will work; empirically the path must be less then 248 bytes long. if len(path) < 248 { // Don't fix. (This is how Go 1.7 and earlier worked, // not automatically generating the \\?\ form) return path } // The extended form begins with \\?\, as in // \\?\c:\windows\foo.txt or \\?\UNC\server\share\foo.txt.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 7.9K bytes - Viewed (0) -
tests/preload_test.go
t.Errorf("json marshal is not empty slice, got %v", string(r)) } } func TestPreloadGoroutine(t *testing.T) { var wg sync.WaitGroup wg.Add(10) for i := 0; i < 10; i++ { go func() { defer wg.Done() var user2 []User tx := DB.Where("id = ?", 1).Session(&gorm.Session{}) if err := tx.Preload("Team").Find(&user2).Error; err != nil { t.Error(err) } }() }
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Wed Jun 12 10:00:47 UTC 2024 - 15.9K bytes - Viewed (0)