Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 231 for Largest (0.28 sec)

  1. src/hash/adler32/adler32.go

    //	significant-byte first (network) order.
    package adler32
    
    import (
    	"errors"
    	"hash"
    	"internal/byteorder"
    )
    
    const (
    	// mod is the largest prime that is less than 65536.
    	mod = 65521
    	// nmax is the largest n such that
    	// 255 * n * (n+1) / 2 + (n+1) * (mod-1) <= 2^32-1.
    	// It is mentioned in RFC 1950 (search for "5552").
    	nmax = 5552
    )
    
    // The size of an Adler-32 checksum in bytes.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 12 05:36:29 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. src/cmd/nm/nm.go

          for compatibility with other nm commands
      -size
          print symbol size in decimal between address and type
      -sort {address,name,none,size}
          sort output in the given order (default name)
          size orders from largest to smallest
      -type
          print symbol type after name
    `
    
    func usage() {
    	fmt.Fprint(os.Stderr, helpText)
    	os.Exit(2)
    }
    
    var (
    	sortOrder = flag.String("sort", "name", "")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. cmd/erasure-common.go

    					continue
    				}
    				quorum++
    				if toAdd.Modtime.After(gotFile.Modtime) || len(gotFile.Data) < len(toAdd.Data) {
    					// Pick latest, or largest to avoid possible truncated entries.
    					continue
    				}
    				toAdd = gotFile
    			}
    		}
    		if quorum < readQuorum {
    			toAdd.Exists = false
    			toAdd.Error = errErasureReadQuorum.Error()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/syntax/pos.go

    // Copyright 2018 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package syntax
    
    import "fmt"
    
    // PosMax is the largest line or column value that can be represented without loss.
    // Incoming values (arguments) larger than PosMax will be set to PosMax.
    //
    // Keep this consistent with maxLineCol in go/scanner.
    const PosMax = 1 << 30
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 20:44:57 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. src/vendor/golang.org/x/crypto/sha3/sha3.go

    	// spongeSqueezing indicates that the sponge is being squeezed.
    	spongeSqueezing
    )
    
    const (
    	// maxRate is the maximum size of the internal buffer. SHAKE-256
    	// currently needs the largest buffer.
    	maxRate = 168
    )
    
    type state struct {
    	// Generic sponge components.
    	a    [25]uint64 // main state of the hash
    	rate int        // the number of bytes of state to use
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  6. src/go/ast/commentmap.go

    //     at least one empty line after g and before the next node
    //   - g starts before n and is not associated to the node before n
    //     via the previous rules
    //
    // NewCommentMap tries to associate a comment group to the "largest"
    // node possible: For instance, if the comment is a line comment
    // trailing an assignment, the comment is associated with the entire
    // assignment rather than just the last operand in the assignment.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  7. src/net/addrselect.go

    		Precedence: 40,
    		Label:      1,
    	},
    }
    
    // Classify returns the policyTableEntry of the entry with the longest
    // matching prefix that contains ip.
    // The table t must be sorted from largest mask size to smallest.
    func (t policyTable) Classify(ip netip.Addr) policyTableEntry {
    	// Prefix.Contains() will not match an IPv6 prefix for an IPv4 address.
    	if ip.Is4() {
    		ip = netip.AddrFrom16(ip.As16())
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 00:24:06 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  8. internal/logger/targets.go

    //	group2 contains the remaining targets
    func splitTargets(targets []Target, t types.TargetType) (group1 []Target, group2 []Target) {
    	for _, target := range targets {
    		if target.Type() == t {
    			group1 = append(group1, target)
    		} else {
    			group2 = append(group2, target)
    		}
    	}
    	return
    }
    
    func cancelTargets(targets []Target) {
    	for _, target := range targets {
    		go target.Cancel()
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 03 15:44:50 UTC 2024
    - 6K bytes
    - Viewed (0)
  9. internal/event/targetlist.go

    	targetSet TargetIDSet
    }
    
    // Add - adds unique target to target list.
    func (list *TargetList) Add(targets ...Target) error {
    	list.Lock()
    	defer list.Unlock()
    
    	for _, target := range targets {
    		if _, ok := list.targets[target.ID()]; ok {
    			return fmt.Errorf("target %v already exists", target.ID())
    		}
    		list.targets[target.ID()] = target
    	}
    
    	return nil
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  10. internal/config/lambda/parse.go

    // GetLambdaWebhook - returns a map of registered notification 'webhook' targets
    func GetLambdaWebhook(webhookKVS map[string]config.KVS, transport *http.Transport) (
    	map[string]target.WebhookArgs, error,
    ) {
    	webhookTargets := make(map[string]target.WebhookArgs)
    	for k, kv := range config.Merge(webhookKVS, target.EnvWebhookEnable, DefaultWebhookKVS) {
    		enableEnv := target.EnvWebhookEnable
    		if k != config.Default {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top