Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 900 for makeAs (0.18 sec)

  1. internal/s3select/jstream/decoder.go

    func NewDecoder(r io.Reader, emitDepth int) *Decoder {
    	d := &Decoder{
    		scanner:   newScanner(r),
    		emitDepth: emitDepth,
    		scratch:   &scratch{data: make([]byte, 1024)},
    		metaCh:    make(chan *MetaValue, 128),
    	}
    	if emitDepth < 0 {
    		d.emitDepth = 0
    		d.emitRecursive = true
    	}
    	return d
    }
    
    // ObjectAsKVS - by default JSON returns map[string]interface{} this
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  2. .gitignore

    .idea/**
    /build/
    [Bb]uild/
    /build_output/
    /tensorflow/core/util/version_info.cc
    /tensorflow/python/framework/fast_tensor_util.cpp
    /tensorflow/lite/gen/**
    /tensorflow/lite/tools/make/downloads/**
    /tensorflow/lite/tools/make/gen/**
    /api_init_files_list.txt
    /estimator_api_init_files_list.txt
    *.whl
    dist
    
    # Android
    .gradle
    .idea
    *.iml
    local.properties
    gradleBuild
    
    # iOS
    *.pbxproj
    Registered: Tue Oct 29 12:39:09 UTC 2024
    - Last Modified: Fri Sep 20 17:43:17 UTC 2024
    - 939 bytes
    - Viewed (0)
  3. src/cmd/asm/internal/lex/lex.go

    // A Token is a scan token plus its string value.
    // A macro is stored as a sequence of Tokens with spaces stripped.
    type Token struct {
    	ScanToken
    	text string
    }
    
    // Make returns a Token with the given rune (ScanToken) and text representation.
    func Make(token ScanToken, text string) Token {
    	// Substitute the substitutes for . and /.
    	text = strings.ReplaceAll(text, "\u00B7", ".")
    	text = strings.ReplaceAll(text, "\u2215", "/")
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Tue Aug 29 18:31:05 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  4. internal/logger/targets.go

    }
    
    // CurrentStats returns the current statistics.
    func CurrentStats() map[string]types.TargetStats {
    	sys := SystemTargets()
    	audit := AuditTargets()
    	res := make(map[string]types.TargetStats, len(sys)+len(audit))
    	cnt := make(map[string]int, len(sys)+len(audit))
    
    	// Add system and audit.
    	for _, t := range sys {
    		key := strings.ToLower(t.Type().String())
    		n := cnt[key]
    		cnt[key]++
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Jun 03 15:44:50 UTC 2024
    - 6K bytes
    - Viewed (0)
  5. cmd/http-stats.go

    }
    
    type bucketHTTPStats struct {
    	sync.RWMutex
    	httpStats map[string]bucketHTTPAPIStats
    }
    
    func newBucketHTTPStats() *bucketHTTPStats {
    	return &bucketHTTPStats{
    		httpStats: make(map[string]bucketHTTPAPIStats),
    	}
    }
    
    func (bh *bucketHTTPStats) delete(bucket string) {
    	bh.Lock()
    	defer bh.Unlock()
    
    	delete(bh.httpStats, bucket)
    }
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  6. cmd/erasure-heal_test.go

    		if err != nil {
    			t.Fatalf("Test %d: failed to create ErasureStorage: %v", i, err)
    		}
    		data := make([]byte, test.size)
    		if _, err = io.ReadFull(rand.Reader, data); err != nil {
    			t.Fatalf("Test %d: failed to create random test data: %v", i, err)
    		}
    		buffer := make([]byte, test.blocksize, 2*test.blocksize)
    		writers := make([]io.Writer, len(disks))
    		for i, disk := range disks {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  7. internal/event/rulesmap.go

    	rules := make(Rules)
    	rules.Add(pattern, targetID)
    
    	for _, eventName := range eventNames {
    		for _, name := range eventName.Expand() {
    			rulesMap[name] = rulesMap[name].Union(rules)
    		}
    	}
    }
    
    // Clone - returns copy of this rules map.
    func (rulesMap RulesMap) Clone() RulesMap {
    	rulesMapCopy := make(RulesMap)
    
    	for eventName, rules := range rulesMap {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 2.6K bytes
    - Viewed (0)
  8. docs/debugging/hash-set/main.go

    // in the slices returned.
    func hashOrder(key string, cardinality int) []int {
    	if cardinality <= 0 {
    		// Returns an empty int slice for cardinality < 0.
    		return nil
    	}
    
    	nums := make([]int, cardinality)
    	keyCrc := crc32.Checksum([]byte(key), crc32.IEEETable)
    
    	start := int(keyCrc % uint32(cardinality))
    	for i := 1; i <= cardinality; i++ {
    		nums[i-1] = 1 + ((start + i) % cardinality)
    	}
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  9. internal/s3select/sql/utils.go

    package sql
    
    import (
    	"fmt"
    	"strings"
    )
    
    // String functions
    
    // String - returns the JSONPath representation
    func (e *JSONPath) String() string {
    	if len(e.pathString) == 0 {
    		parts := make([]string, len(e.PathExpr)+1)
    		parts[0] = e.BaseKey.String()
    		for i, pe := range e.PathExpr {
    			parts[i+1] = pe.String()
    		}
    		e.pathString = strings.Join(parts, "")
    	}
    	return e.pathString
    }
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Wed Nov 10 16:12:50 UTC 2021
    - 3.6K bytes
    - Viewed (0)
  10. .teamcity/README.md

    There are 3 subprojects in the TeamCity project hierarchy: `Check` for Gradle builds, `Promotion` for releasing Gradle versions, `Util` for miscellaneous utilities.
    
    ## Develop and verify
    
    After you make a change, you can run `mvn clean teamcity-configs:generate` to generate and verify the generated TeamCity configuration XMLs.
    
    You also need to run `mvn clean verify` with Java 8 before committing changes.
    
    Registered: Wed Oct 30 11:36:09 UTC 2024
    - Last Modified: Wed Mar 06 23:02:25 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top