Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 76 for BarTest (0.19 sec)

  1. 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)
  2. src/cmd/compile/internal/types2/gcsizes.go

    			//
    			// This logic is equivalent to the logic in
    			// cmd/compile/internal/types/size.go:calcStructOffset
    			return 8
    		}
    
    		// spec: "For a variable x of struct type: unsafe.Alignof(x)
    		// is the largest of the values unsafe.Alignof(x.f) for each
    		// field f of x, but at least 1."
    		max := int64(1)
    		for _, f := range t.fields {
    			if a := s.Alignof(f.typ); a > max {
    				max = a
    			}
    		}
    		return max
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. 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)
  4. src/cmd/compile/internal/test/testdata/gen/arithBoundaryGen.go

    		return int64(int8(i))
    	}
    	return i
    }
    
    type sizedTestData struct {
    	name string
    	sn   string
    	u    []uint64
    	i    []int64
    }
    
    // values to generate tests. these should include the smallest and largest values, along
    // with any other values that might cause issues. we generate n^2 tests for each size to
    // cover all cases.
    var szs = []sizedTestData{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 20 02:13:02 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  5. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/btree/FreeListBlockStore.java

                if (index < 0) {
                    index = -index - 1;
                }
                if (index == entries.size()) {
                    // Largest free block is too small
                    return;
                }
    
                FreeListEntry entry = entries.remove(index);
                block.setPos(entry.pos);
                block.setSize(entry.size);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:32 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/struct.go

    }
    
    // NewStruct returns a new struct with the given fields and corresponding field tags.
    // If a field with index i has a tag, tags[i] must be that tag, but len(tags) may be
    // only as long as required to hold the tag with the largest index i. Consequently,
    // if no field has a tag, tags may be nil.
    func NewStruct(fields []*Var, tags []string) *Struct {
    	var fset objset
    	for _, f := range fields {
    		if f.name != "_" && fset.insert(f) != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:06:18 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  7. test/float_lit2.go

    // Copyright 2014 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 main
    
    import (
    	"fmt"
    	"math"
    )
    
    // The largest exact float32 is f₁ = (1+1-1/2²³)×2¹²⁷ = (2-2⁻²³)×2¹²⁷ = 2¹²⁸ - 2¹⁰⁴.
    // The next float32 would be f₂ = (1+1)×2¹²⁷ = 1×2¹²⁸, except that exponent is out of range.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 14 16:39:47 UTC 2016
    - 7.9K bytes
    - Viewed (0)
  8. src/go/types/struct.go

    }
    
    // NewStruct returns a new struct with the given fields and corresponding field tags.
    // If a field with index i has a tag, tags[i] must be that tag, but len(tags) may be
    // only as long as required to hold the tag with the largest index i. Consequently,
    // if no field has a tag, tags may be nil.
    func NewStruct(fields []*Var, tags []string) *Struct {
    	var fset objset
    	for _, f := range fields {
    		if f.name != "_" && fset.insert(f) != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:06:18 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  9. 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)
  10. guava/src/com/google/common/primitives/SignedBytes.java

    // TODO(kevinb): how to prevent warning on UnsignedBytes when building GWT
    // javadoc?
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class SignedBytes {
      private SignedBytes() {}
    
      /**
       * The largest power of two that can be represented as a signed {@code byte}.
       *
       * @since 10.0
       */
      public static final byte MAX_POWER_OF_TWO = 1 << 6;
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 22 13:09:25 UTC 2021
    - 7.5K bytes
    - Viewed (0)
Back to top