Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 6,074 for case1 (0.04 sec)

  1. src/cmd/link/internal/loadpe/ldpe.go

    // symbols ("__imp__fmode") and text symbols ("__imp_CreateEventA").
    // In some case import symbols are just references to some external
    // thing, and in other cases we see actual definitions of import
    // symbols when reading host objects.
    //
    // Previous versions of the linker would in most cases immediately
    // "forward" import symbol references, e.g. treat a references to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 20:26:46 UTC 2023
    - 26.5K bytes
    - Viewed (0)
  2. internal/s3select/sql/aggregation.go

    	// Stores if at least one record has been seen
    	seen bool
    }
    
    func newAggVal(fn FuncName) *aggVal {
    	switch fn {
    	case aggFnAvg, aggFnSum:
    		return &aggVal{runningSum: FromFloat(0)}
    	case aggFnMin:
    		return &aggVal{runningMin: FromInt(0)}
    	case aggFnMax:
    		return &aggVal{runningMax: FromInt(0)}
    	default:
    		return &aggVal{}
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Dec 23 07:19:11 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  3. src/path/filepath/symlink_windows.go

    // result of EvalSymlinks must be unique, so we have
    // EvalSymlinks(`c:\a`) == EvalSymlinks(`C:\a`).
    func normVolumeName(path string) string {
    	volume := VolumeName(path)
    
    	if len(volume) > 2 { // isUNC
    		return volume
    	}
    
    	return strings.ToUpper(volume)
    }
    
    // normBase returns the last element of path with correct case.
    func normBase(path string) (string, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 24 07:42:17 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  4. src/math/tanh.go

    }
    
    // Tanh returns the hyperbolic tangent of x.
    //
    // Special cases are:
    //
    //	Tanh(±0) = ±0
    //	Tanh(±Inf) = ±1
    //	Tanh(NaN) = NaN
    func Tanh(x float64) float64 {
    	if haveArchTanh {
    		return archTanh(x)
    	}
    	return tanh(x)
    }
    
    func tanh(x float64) float64 {
    	const MAXLOG = 8.8029691931113054295988e+01 // log(2**127)
    	z := Abs(x)
    	switch {
    	case z > 0.5*MAXLOG:
    		if x < 0 {
    			return -1
    		}
    		return 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  5. src/math/logb.go

    package math
    
    // Logb returns the binary exponent of x.
    //
    // Special cases are:
    //
    //	Logb(±Inf) = +Inf
    //	Logb(0) = -Inf
    //	Logb(NaN) = NaN
    func Logb(x float64) float64 {
    	// special cases
    	switch {
    	case x == 0:
    		return Inf(-1)
    	case IsInf(x, 0):
    		return Inf(1)
    	case IsNaN(x):
    		return x
    	}
    	return float64(ilogb(x))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 07 19:46:45 UTC 2022
    - 1021 bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/util/waitgroup/waitgroup_test.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    // Package waitgroup test cases reference golang sync.WaitGroup https://golang.org/src/sync/waitgroup_test.go.
    package waitgroup
    
    import (
    	"testing"
    )
    
    func TestWaitGroup(t *testing.T) {
    	wg1 := &SafeWaitGroup{}
    	wg2 := &SafeWaitGroup{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 13 05:42:40 UTC 2017
    - 1.4K bytes
    - Viewed (0)
  7. pilot/pkg/networking/util/util_test.go

    			},
    		},
    	}
    	for _, tt := range cases {
    		t.Run(tt.name, func(t *testing.T) {
    			input := &core.Metadata{}
    			AppendLbEndpointMetadata(tt.metadata, input)
    			if !reflect.DeepEqual(input, tt.want) {
    				t.Errorf("Unexpected Endpoint metadata got %v, want %v", input, tt.want)
    			}
    		})
    	}
    }
    
    func TestByteCount(t *testing.T) {
    	cases := []struct {
    		in  int
    		out string
    	}{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 40K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/marshal_test.go

    type JSONSchemaPropsOrBoolHolder struct {
    	JSPoB          JSONSchemaPropsOrBool  `json:"val1"`
    	JSPoBOmitEmpty *JSONSchemaPropsOrBool `json:"val2,omitempty"`
    }
    
    func TestJSONSchemaPropsOrBoolUnmarshalJSON(t *testing.T) {
    	cases := []struct {
    		input  string
    		result JSONSchemaPropsOrBoolHolder
    	}{
    		{`{}`, JSONSchemaPropsOrBoolHolder{}},
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 15 16:26:13 UTC 2019
    - 7.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/math/BigDecimalMath.java

       * will return {@code Double.MAX_VALUE}, not {@code Double.POSITIVE_INFINITY}.
       *
       * <p>For the case of {@link RoundingMode#HALF_EVEN}, this implementation uses the IEEE 754
       * default rounding mode: if the two nearest representable values are equally near, the one with
       * the least significant bit zero is chosen. (In such cases, both of the nearest representable
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 23 18:45:50 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  10. src/internal/trace/raw/doc.go

    Any amount of whitespace is allowed to separate each token. Whitespace
    is identified via unicode.IsSpace.
    
    Some events have additional data on following lines. There are two such
    special cases.
    
    The first special case consists of events with trailing byte-oriented data.
    The trailer begins on the following line from the event. That line consists
    of a single argument 'data' and a Go-quoted string representing the byte data
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top