Search Options

Results per page
Sort
Preferred Languages
Advance

Results 461 - 470 of 592 for x_const (0.07 sec)

  1. internal/event/target/kafka.go

    	"github.com/minio/minio/internal/store"
    	xnet "github.com/minio/pkg/v3/net"
    
    	"github.com/IBM/sarama"
    	saramatls "github.com/IBM/sarama/tools/tls"
    )
    
    // Kafka input constants
    const (
    	KafkaBrokers            = "brokers"
    	KafkaTopic              = "topic"
    	KafkaQueueDir           = "queue_dir"
    	KafkaQueueLimit         = "queue_limit"
    	KafkaTLS                = "tls"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  2. internal/dsync/dsync_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package dsync
    
    import (
    	"context"
    	"math/rand"
    	"os"
    	"sync"
    	"testing"
    	"time"
    
    	"github.com/google/uuid"
    )
    
    const (
    	testDrwMutexAcquireTimeout         = 250 * time.Millisecond
    	testDrwMutexRefreshCallTimeout     = 250 * time.Millisecond
    	testDrwMutexUnlockCallTimeout      = 250 * time.Millisecond
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 19 14:35:19 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  3. schema/relationship.go

    	"strings"
    
    	"github.com/jinzhu/inflection"
    	"golang.org/x/text/cases"
    	"golang.org/x/text/language"
    
    	"gorm.io/gorm/clause"
    )
    
    // RelationshipType relationship type
    type RelationshipType string
    
    const (
    	HasOne    RelationshipType = "has_one"      // HasOneRel has one relationship
    	HasMany   RelationshipType = "has_many"     // HasManyRel has many relationship
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 03:46:59 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  4. cmd/benchmark-utils_test.go

    	runPutObjectBenchmarkParallel(b, objLayer, objSize)
    }
    
    // randomly picks a character and returns its equivalent byte array.
    func getRandomByte() []byte {
    	const letterBytes = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
    	// seeding the random number generator.
    	rand.Seed(UTCNow().UnixNano())
    	// pick a character randomly.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Dec 23 15:46:00 UTC 2022
    - 8.2K bytes
    - Viewed (0)
  5. internal/s3select/sql/aggregation.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package sql
    
    import (
    	"errors"
    	"fmt"
    )
    
    // Aggregation Function name constants
    const (
    	aggFnAvg   FuncName = "AVG"
    	aggFnCount FuncName = "COUNT"
    	aggFnMax   FuncName = "MAX"
    	aggFnMin   FuncName = "MIN"
    	aggFnSum   FuncName = "SUM"
    )
    
    var (
    	errNonNumericArg = func(fnStr FuncName) error {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 23 07:19:11 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  6. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportWorkAction.kt

            collectors
                .flatMap { it.collectFrom(sourceFile).entries }
                .associate { it.key to it.value }
    }
    
    
    private
    const val VERSION_NOT_FOUND = "Not found"
    
    
    private
    class JavaVersionsToIncubatingCollector(srcDir: File) : VersionsToIncubatingCollector {
    
        private
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:28 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  7. cmd/storage-datatypes.go

    	if fi.Metadata == nil {
    		fi.Metadata = make(map[string]string, 1)
    	}
    	fi.Metadata[ReservedMetadataPrefixLower+"inline-data"] = "true"
    }
    
    // VersionPurgeStatusKey denotes purge status in metadata
    const (
    	VersionPurgeStatusKey = ReservedMetadataPrefixLower + "purgestatus"
    )
    
    // newFileInfo - initializes new FileInfo, allocates a fresh erasure info.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  8. src/bufio/scan.go

    	ErrAdvanceTooFar   = errors.New("bufio.Scanner: SplitFunc returns advance count beyond input")
    	ErrBadReadCount    = errors.New("bufio.Scanner: Read returned impossible count")
    )
    
    const (
    	// MaxScanTokenSize is the maximum size used to buffer a token
    	// unless the user provides an explicit buffer with [Scanner.Buffer].
    	// The actual maximum token size may be smaller as the buffer
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Oct 23 09:06:30 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  9. misc/go_android_exec/main.go

    }
    
    func adbCmd(args ...string) *exec.Cmd {
    	if flags := os.Getenv("GOANDROID_ADB_FLAGS"); flags != "" {
    		args = append(strings.Split(flags, " "), args...)
    	}
    	return exec.Command("adb", args...)
    }
    
    const (
    	deviceRoot   = "/data/local/tmp/go_android_exec"
    	deviceGoroot = deviceRoot + "/goroot"
    )
    
    func main() {
    	log.SetFlags(0)
    	log.SetPrefix("go_android_exec: ")
    	exitCode, err := runMain()
    	if err != nil {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Aug 21 17:46:57 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  10. internal/bucket/lifecycle/filter.go

    func (f Filter) Validate() error {
    	if f.IsEmpty() {
    		return errXMLNotWellFormed
    	}
    	// A Filter must have exactly one of Prefix, Tag,
    	// ObjectSize{LessThan,GreaterThan} or And specified.
    	type predType uint8
    	const (
    		nonePred predType = iota
    		prefixPred
    		andPred
    		tagPred
    		sizeLtPred
    		sizeGtPred
    	)
    	var predCount int
    	var pType predType
    	if !f.And.isEmpty() {
    		pType = andPred
    		predCount++
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 04 17:01:26 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top