Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 244 for ROUND (0.05 sec)

  1. src/encoding/gob/encoder_test.go

    	}
    
    	enc.Encode(et1)
    	newEt1 = new(ET1)
    	err = dec.Decode(newEt1)
    	if err != nil {
    		t.Fatal("round 2: error decoding ET1:", err)
    	}
    	if !reflect.DeepEqual(et1, newEt1) {
    		t.Fatalf("round 2: invalid data for et1: expected %+v; got %+v", *et1, *newEt1)
    	}
    	if b.Len() != 0 {
    		t.Error("round 2: not at eof;", b.Len(), "bytes left")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  2. src/math/big/ratconv_test.go

    	"long:2." + strings.Repeat("2", 4000) + "e+1",
    
    	// Exactly halfway between 1 and math.Nextafter(1, 2).
    	// Round to even (down).
    	"1.00000000000000011102230246251565404236316680908203125",
    	// Slightly lower; still round down.
    	"1.00000000000000011102230246251565404236316680908203124",
    	// Slightly higher; round up.
    	"1.00000000000000011102230246251565404236316680908203126",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 15 22:16:34 UTC 2023
    - 19.3K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/_gen/genericOps.go

    	// Round to integer, float64 only.
    	// Special cases:
    	//   ±∞  → ±∞ (sign preserved)
    	//   ±0  → ±0 (sign preserved)
    	//   NaN → NaN
    	{name: "Floor", argLength: 1},       // round arg0 toward -∞
    	{name: "Ceil", argLength: 1},        // round arg0 toward +∞
    	{name: "Trunc", argLength: 1},       // round arg0 toward 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  4. cmd/prepare-storage.go

    	// All times are rounded to avoid showing milli, micro and nano seconds
    	formatStartTime := time.Now().Round(time.Second)
    	getElapsedTime := func() string {
    		return time.Now().Round(time.Second).Sub(formatStartTime).String()
    	}
    
    	var (
    		tries   int
    		verbose bool
    	)
    
    	// Initialize all storage disks
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun May 19 08:06:49 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  5. src/crypto/sha256/sha256block_amd64.s

    #define numBytes	DX	// input, number of input bytes to be processed
    #define sha256Constants	AX	// round contents from K256 table, indexed by round number x 32
    #define msg		X0	// input data
    #define state0		X1	// round intermediates and outputs
    #define state1		X2
    #define m0		X3	// m0, m1,... m4 -- round message temps
    #define m1		X4
    #define m2		X5
    #define m3		X6
    #define m4		X7
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 47.3K bytes
    - Viewed (0)
  6. src/runtime/map_test.go

    			}
    		}
    	}
    }
    
    // Issue 8410
    func TestMapSparseIterOrder(t *testing.T) {
    	// Run several rounds to increase the probability
    	// of failure. One is not enough.
    NextRound:
    	for round := 0; round < 10; round++ {
    		m := make(map[int]bool)
    		// Add 1000 items, remove 980.
    		for i := 0; i < 1000; i++ {
    			m[i] = true
    		}
    		for i := 20; i < 1000; i++ {
    			delete(m, i)
    		}
    
    		var first []int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  7. src/crypto/internal/edwards25519/field/fe_test.go

    		in[len(in)-1] &= (1 << 7) - 1
    
    		return bytes.Equal(in[:], fe.Bytes()) && isInBounds(&fe)
    	}
    	if err := quick.Check(f1, nil); err != nil {
    		t.Errorf("failed bytes->FE->bytes round-trip: %v", err)
    	}
    
    	f2 := func(fe, r Element) bool {
    		r.SetBytes(fe.Bytes())
    
    		// Intentionally not using Equal not to go through Bytes again.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 17:26:17 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/test/apis_meta_v1_unstructed_unstructure_test.go

    	err := runtime.DecodeInto(codec, originalJSON, pod)
    	if err != nil {
    		t.Fatalf("unexpected error: %v", err)
    	}
    
    	// Round-trip with unstructured codec
    	unstructuredObj, err := runtime.Decode(unstructured.UnstructuredJSONScheme, originalJSON)
    	if err != nil {
    		t.Fatalf("unexpected error: %v", err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 05 20:12:50 UTC 2022
    - 17.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/flowcontrol/v1/types_swagger_doc_generated.go

    }
    
    func (ExemptPriorityLevelConfiguration) SwaggerDoc() map[string]string {
    	return map_ExemptPriorityLevelConfiguration
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 22:22:51 UTC 2023
    - 21.7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/flowcontrol/v1beta3/types_swagger_doc_generated.go

    }
    
    func (ExemptPriorityLevelConfiguration) SwaggerDoc() map[string]string {
    	return map_ExemptPriorityLevelConfiguration
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 01:00:06 UTC 2023
    - 21.5K bytes
    - Viewed (0)
Back to top