Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 866 for elim (0.04 sec)

  1. src/compress/gzip/fuzz_test.go

    	"encoding/base64"
    	"io"
    	"os"
    	"path/filepath"
    	"strings"
    	"testing"
    )
    
    func FuzzReader(f *testing.F) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 13 18:06:33 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  2. src/cmd/vendor/rsc.io/markdown/table.go

    	col := 0
    	delim := tableTrimOuter(delim1)
    	i := 0
    	for ; ; col++ {
    		for i < len(delim) && isTableSpace(delim[i]) {
    			i++
    		}
    		if i >= len(delim) {
    			break
    		}
    		if i < len(delim) && delim[i] == ':' {
    			i++
    		}
    		if i >= len(delim) || delim[i] != '-' {
    			return false
    		}
    		i++
    		for i < len(delim) && delim[i] == '-' {
    			i++
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. test/typeparam/chansimp.dir/a.go

    // until c is closed or the context is canceled, at which point the
    // returned channel is closed.
    func Filter[Elem any](ctx context.Context, c <-chan Elem, f func(Elem) bool) <-chan Elem {
    	r := make(chan Elem)
    	go func(ctx context.Context, c <-chan Elem, f func(Elem) bool, r chan<- Elem) {
    		defer close(r)
    		for {
    			select {
    			case <-ctx.Done():
    				return
    			case v, ok := <-c:
    				if !ok {
    					return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 28 21:40:40 UTC 2021
    - 5.5K bytes
    - Viewed (0)
  4. src/cmd/vendor/github.com/google/pprof/internal/driver/html/common.js

        paramSetter(params);
    
        elem.href = url.toString();
      }
    
      function handleTopClick(e) {
        // Walk back until we find TR and then get the Name column (index 5)
        let elem = e.target;
        while (elem != null && elem.nodeName != 'TR') {
          elem = elem.parentElement;
        }
        if (elem == null || elem.children.length < 6) return;
    
        e.preventDefault();
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 20K bytes
    - Viewed (0)
  5. test/typeparam/ordered.go

    		~float32 | ~float64 |
    		~string
    }
    
    type orderedSlice[Elem Ordered] []Elem
    
    func (s orderedSlice[Elem]) Len() int { return len(s) }
    func (s orderedSlice[Elem]) Less(i, j int) bool {
    	if s[i] < s[j] {
    		return true
    	}
    	isNaN := func(f Elem) bool { return f != f }
    	if isNaN(s[i]) && !isNaN(s[j]) {
    		return true
    	}
    	return false
    }
    func (s orderedSlice[Elem]) Swap(i, j int) { s[i], s[j] = s[j], s[i] }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/convert/NumberConversionUtilTest.java

            final String delim = NumberConversionUtil.findDecimalSeparator(Locale.JAPAN);
            assertEquals(".", delim);
        }
    
        /**
         * @throws Exception
         */
        public void testFindFractionDelimeter2() throws Exception {
            final String delim = NumberConversionUtil.findDecimalSeparator(Locale.FRANCE);
            assertEquals(",", delim);
        }
    
        /**
         * @throws Exception
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. src/syscall/syscall_linux_arm.go

    	if rl.Cur == rlimInf32 {
    		rlim.Cur = rlimInf64
    	} else {
    		rlim.Cur = uint64(rl.Cur)
    	}
    
    	if rl.Max == rlimInf32 {
    		rlim.Max = rlimInf64
    	} else {
    		rlim.Max = uint64(rl.Max)
    	}
    	return
    }
    
    //sysnb setrlimit1(resource int, rlim *rlimit32) (err error) = SYS_SETRLIMIT
    
    func setrlimit(resource int, rlim *Rlimit) (err error) {
    	err = prlimit(0, resource, rlim, nil)
    	if err != ENOSYS {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 22:23:07 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  8. test/typeparam/chans.go

    // until c is closed or the context is canceled, at which point the
    // returned channel is closed.
    func _Filter[Elem any](ctx context.Context, c <-chan Elem, f func(Elem) bool) <-chan Elem {
    	r := make(chan Elem)
    	go func(ctx context.Context, c <-chan Elem, f func(Elem) bool, r chan<- Elem) {
    		defer close(r)
    		for {
    			select {
    			case <-ctx.Done():
    				return
    			case v, ok := <-c:
    				if !ok {
    					return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 8.4K bytes
    - Viewed (0)
  9. src/go/types/array.go

    package types
    
    // An Array represents an array type.
    type Array struct {
    	len  int64
    	elem Type
    }
    
    // NewArray returns a new array type for the given element type and length.
    // A negative length indicates an unknown length.
    func NewArray(elem Type, len int64) *Array { return &Array{len: len, elem: elem} }
    
    // Len returns the length of array a.
    // A negative result indicates an unknown length.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 927 bytes
    - Viewed (0)
  10. test/typeparam/slices.go

    func _Filter[Elem any](s []Elem, f func(Elem) bool) []Elem {
    	var r []Elem
    	for _, v := range s {
    		if f(v) {
    			r = append(r, v)
    		}
    	}
    	return r
    }
    
    // _Max returns the maximum element in a slice of some ordered type.
    // If the slice is empty it returns the zero value of the element type.
    func _SliceMax[Elem Ordered](s []Elem) Elem {
    	if len(s) == 0 {
    		var zero Elem
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 7.8K bytes
    - Viewed (0)
Back to top