Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for mux (0.08 sec)

  1. prepare_stmt.go

    	db.Mux.RLock()
    	if stmt, ok := db.Stmts[query]; ok && (!stmt.Transaction || isTransaction) {
    		db.Mux.RUnlock()
    		// wait for other goroutines prepared
    		<-stmt.prepared
    		if stmt.prepareErr != nil {
    			return Stmt{}, stmt.prepareErr
    		}
    
    		return *stmt, nil
    	}
    	db.Mux.RUnlock()
    
    	db.Mux.Lock()
    	// double check
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Aug 22 11:02:05 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. tests/prepared_stmt_test.go

    	if !ok {
    		t.Fatalf("should assign PreparedStatement Manager back to database when using PrepareStmt mode")
    	}
    
    	pdb.Mux.Lock()
    	if len(pdb.Stmts) == 0 {
    		pdb.Mux.Unlock()
    		t.Fatalf("prepared stmt can not be empty")
    	}
    	pdb.Mux.Unlock()
    
    	pdb.Reset()
    	pdb.Mux.Lock()
    	defer pdb.Mux.Unlock()
    	if len(pdb.Stmts) != 0 {
    		t.Fatalf("prepared stmt should be empty")
    	}
    }
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Aug 22 11:02:05 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. cmd/tier-handlers.go

    import (
    	"encoding/json"
    	"io"
    	"net/http"
    	"strconv"
    
    	jsoniter "github.com/json-iterator/go"
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/config/storageclass"
    	"github.com/minio/mux"
    	"github.com/minio/pkg/v3/policy"
    )
    
    var (
    	// error returned when remote tier already exists
    	errTierAlreadyExists = AdminError{
    		Code:       "XMinioAdminTierAlreadyExists",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:44:05 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. cmd/bucket-handlers.go

    	"fmt"
    	"io"
    	"mime"
    	"mime/multipart"
    	"net/http"
    	"net/textproto"
    	"net/url"
    	"path"
    	"runtime"
    	"sort"
    	"strconv"
    	"strings"
    	"sync"
    
    	"github.com/google/uuid"
    	"github.com/minio/mux"
    	"github.com/valyala/bytebufferpool"
    
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio-go/v7"
    	"github.com/minio/minio-go/v7/pkg/set"
    	"github.com/minio/minio-go/v7/pkg/tags"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
  5. cmd/admin-handlers-users.go

    	"strings"
    	"time"
    	"unicode/utf8"
    
    	"github.com/klauspost/compress/zip"
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/auth"
    	"github.com/minio/minio/internal/config/dns"
    	"github.com/minio/mux"
    	xldap "github.com/minio/pkg/v3/ldap"
    	"github.com/minio/pkg/v3/policy"
    	"github.com/puzpuzpuz/xsync/v3"
    )
    
    // RemoveUser - DELETE /minio/admin/v3/remove-user?accessKey=<access_key>
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 03 23:11:02 UTC 2024
    - 85.1K bytes
    - Viewed (0)
  6. cmd/admin-bucket-handlers.go

    	objectlock "github.com/minio/minio/internal/bucket/object/lock"
    	"github.com/minio/minio/internal/bucket/versioning"
    	"github.com/minio/minio/internal/event"
    	"github.com/minio/minio/internal/kms"
    	"github.com/minio/mux"
    	"github.com/minio/pkg/v3/policy"
    )
    
    const (
    	bucketQuotaConfigFile = "quota.json"
    	bucketTargetsFile     = "bucket-targets.json"
    )
    
    // PutBucketQuotaConfigHandler - PUT Bucket quota configuration.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  7. cmd/object-multipart-handlers.go

    	"github.com/minio/minio/internal/hash"
    	"github.com/minio/minio/internal/hash/sha256"
    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/mux"
    	"github.com/minio/pkg/v3/policy"
    	"github.com/minio/sio"
    )
    
    // Multipart objectAPIHandlers
    
    // NewMultipartUploadHandler - New multipart upload.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Aug 31 18:25:48 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  8. cmd/admin-handlers.go

    	xhttp "github.com/minio/minio/internal/http"
    	xioutil "github.com/minio/minio/internal/ioutil"
    	"github.com/minio/minio/internal/kms"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/mux"
    	"github.com/minio/pkg/v3/logger/message/log"
    	xnet "github.com/minio/pkg/v3/net"
    	"github.com/minio/pkg/v3/policy"
    	"github.com/secure-io/sio-go"
    	"github.com/zeebo/xxh3"
    )
    
    const (
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  9. cmd/object-handlers.go

    	xioutil "github.com/minio/minio/internal/ioutil"
    	"github.com/minio/minio/internal/kms"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/minio/internal/s3select"
    	"github.com/minio/mux"
    	"github.com/minio/pkg/v3/policy"
    )
    
    // supportedHeadGetReqParams - supported request parameters for GET and HEAD presigned request.
    var supportedHeadGetReqParams = map[string]string{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
  10. gorm.go

    			tx.Statement.ConnPool = &PreparedStmtTX{
    				Tx:             t,
    				PreparedStmtDB: preparedStmt,
    			}
    		default:
    			tx.Statement.ConnPool = &PreparedStmtDB{
    				ConnPool: db.Config.ConnPool,
    				Mux:      preparedStmt.Mux,
    				Stmts:    preparedStmt.Stmts,
    			}
    		}
    		txConfig.ConnPool = tx.Statement.ConnPool
    		txConfig.PrepareStmt = true
    	}
    
    	if config.SkipHooks {
    		tx.Statement.SkipHooks = true
    	}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Oct 09 11:29:48 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top