Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 6,074 for case1 (0.15 sec)

  1. src/math/log.go

    		L6    = 1.531383769920937332e-01   /* 3FC39A09 D078C69F */
    		L7    = 1.479819860511658591e-01   /* 3FC2F112 DF3E5244 */
    	)
    
    	// special cases
    	switch {
    	case IsNaN(x) || IsInf(x, 1):
    		return x
    	case x < 0:
    		return NaN()
    	case x == 0:
    		return Inf(-1)
    	}
    
    	// reduce
    	f1, ki := Frexp(x)
    	if f1 < Sqrt2/2 {
    		f1 *= 2
    		ki--
    	}
    	f := f1 - 1
    	k := float64(ki)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/build/relnote/dump.go

    	dprintf(depth, "%s\n", typeName)
    	switch b := b.(type) {
    	case *md.Paragraph:
    		dumpInlines(b.Text.Inline, depth+1)
    	case *md.Heading:
    		dumpInlines(b.Text.Inline, depth+1)
    	case *md.List:
    		dumpBlocks(b.Items, depth+1)
    	case *md.Item:
    		dumpBlocks(b.Blocks, depth+1)
    	default:
    		// TODO(jba): additional cases as needed.
    	}
    }
    
    func dumpInlines(ins []md.Inline, depth int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/syntax/walk.go

    	case *BasicLit: // nothing to do
    
    	case *CompositeLit:
    		if n.Type != nil {
    			w.node(n.Type)
    		}
    		w.exprList(n.ElemList)
    
    	case *KeyValueExpr:
    		w.node(n.Key)
    		w.node(n.Value)
    
    	case *FuncLit:
    		w.node(n.Type)
    		w.node(n.Body)
    
    	case *ParenExpr:
    		w.node(n.X)
    
    	case *SelectorExpr:
    		w.node(n.X)
    		w.node(n.Sel)
    
    	case *IndexExpr:
    		w.node(n.X)
    		w.node(n.Index)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:55:04 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  4. pkg/kubelet/kubeletconfig/util/files/files_test.go

    			}
    		}
    
    		// short-circuit test case validation errors
    		if len(errs) > 0 {
    			return errs
    		}
    
    		// call ReplaceDir for each desired dir
    		for path, files := range dirs {
    			if err := ReplaceDir(fs, path, files); err != nil {
    				errs = append(errs, err)
    			}
    		}
    		return errs
    	}
    	cases := []test{
    		{
    			fn:      fn,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Dec 07 11:36:13 UTC 2022
    - 11.7K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssagen/abi.go

    	for i, p := range abiParams {
    		t := p.Type
    		switch t.Kind() {
    		case types.TINT32, types.TUINT32:
    			wfs[i].Type = obj.WasmI32
    		case types.TINT64, types.TUINT64:
    			wfs[i].Type = obj.WasmI64
    		case types.TFLOAT32:
    			wfs[i].Type = obj.WasmF32
    		case types.TFLOAT64:
    			wfs[i].Type = obj.WasmF64
    		case types.TUNSAFEPTR:
    			wfs[i].Type = obj.WasmPtr
    		default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/test/testdata/gen/constFoldGen.go

    	var ans uint64
    	switch op {
    	case "+":
    		ans = i + j
    	case "-":
    		ans = i - j
    	case "*":
    		ans = i * j
    	case "/":
    		if j != 0 {
    			ans = i / j
    		}
    	case "%":
    		if j != 0 {
    			ans = i % j
    		}
    	case "<<":
    		ans = i << j
    	case ">>":
    		ans = i >> j
    	}
    	switch t {
    	case "uint32":
    		ans = uint64(uint32(ans))
    	case "uint16":
    		ans = uint64(uint16(ans))
    	case "uint8":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 20 02:13:02 UTC 2022
    - 8.4K bytes
    - Viewed (0)
  7. src/internal/abi/switch.go

    	// Array of NCases elements.
    	// Each case must be a non-empty interface type.
    	Cases [1]*InterfaceType
    }
    
    type InterfaceSwitchCache struct {
    	Mask    uintptr                      // mask for index. Must be a power of 2 minus 1
    	Entries [1]InterfaceSwitchCacheEntry // Mask+1 entries total
    }
    
    type InterfaceSwitchCacheEntry struct {
    	// type of source value (a *Type)
    	Typ uintptr
    	// case # to dispatch to
    	Case int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 06 17:02:53 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  8. .github/ISSUE_TEMPLATE/feature_addition_request.yaml

            #### Ubiquity: provide concrete use cases
    
    
            Did you *actually* encounter the need for this feature in a real-world scenario, or is it
            just a feature that seems like a sensible addition to Guava?
    
    
            Before new features get added to Guava, we really want to be sure that it's for a use case
            that actually comes up in the real world. We want to hear the real-world use case so the
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Nov 17 18:47:47 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  9. src/math/lgamma.go

    		// Tt = -(tail of Tf)
    		Tt = -3.63867699703950536541e-18 // 0xBC50C7CAA48A971F
    	)
    	// special cases
    	sign = 1
    	switch {
    	case IsNaN(x):
    		lgamma = x
    		return
    	case IsInf(x, 0):
    		lgamma = x
    		return
    	case x == 0:
    		lgamma = Inf(1)
    		return
    	}
    
    	neg := false
    	if x < 0 {
    		x = -x
    		neg = true
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 11K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

    /**
     * Generated tests for {@link Monitor}.
     *
     * <p>This test class generates all of its own test cases in the {@link #suite()} method. Every
     * {@code enterXxx}, {@code tryEnterXxx}, and {@code waitForXxx} method of the {@code Monitor} class
     * is analyzed reflectively to determine appropriate test cases based on its signature. Additional
     * ad hoc test cases can be found in {@link SupplementalMonitorTest}.
     *
     * @author Justin T. Sampson
     */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 25.8K bytes
    - Viewed (0)
Back to top