Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 743 for elim (0.16 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/runtime/debug/mod.go

    		newline   = "\n"
    		tab       = "\t"
    	)
    
    	readModuleLine := func(elem []string) (Module, error) {
    		if len(elem) != 2 && len(elem) != 3 {
    			return Module{}, fmt.Errorf("expected 2 or 3 columns; got %d", len(elem))
    		}
    		version := elem[1]
    		sum := ""
    		if len(elem) == 3 {
    			sum = elem[2]
    		}
    		return Module{
    			Path:    elem[0],
    			Version: version,
    			Sum:     sum,
    		}, nil
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 25 15:06:51 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  5. schema/utils.go

    	case reflect.Slice, reflect.Array:
    		for i := 0; i < reflectValue.Len(); i++ {
    			elem := reflectValue.Index(i)
    			elemKey := elem.Interface()
    			if elem.Kind() != reflect.Ptr && elem.CanAddr() {
    				elemKey = elem.Addr().Interface()
    			}
    
    			if _, ok := loaded[elemKey]; ok {
    				continue
    			}
    			loaded[elemKey] = true
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Sat Aug 19 13:35:14 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  6. src/syscall/exec_libc.go

    			goto childerror
    		}
    		err1 = ioctl(uintptr(sys.Ctty), uintptr(TIOCSCTTY), 0)
    		if err1 != 0 {
    			goto childerror
    		}
    	}
    
    	// Restore original rlimit.
    	if rlim != nil {
    		setrlimit1(RLIMIT_NOFILE, unsafe.Pointer(rlim))
    	}
    
    	// Time to exec.
    	err1 = execve(
    		uintptr(unsafe.Pointer(argv0)),
    		uintptr(unsafe.Pointer(&argv[0])),
    		uintptr(unsafe.Pointer(&envv[0])))
    
    childerror:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 29 18:51:35 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  7. src/runtime/select.go

    		} else if cas.elem != nil {
    			asanwrite(cas.elem, c.elemtype.Size_)
    		}
    	}
    
    	selunlock(scases, lockorder)
    	goto retc
    
    bufrecv:
    	// can receive from buffer
    	if raceenabled {
    		if cas.elem != nil {
    			raceWriteObjectPC(c.elemtype, cas.elem, casePC(casi), chanrecvpc)
    		}
    		racenotify(c, c.recvx, nil)
    	}
    	if msanenabled && cas.elem != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 13 21:36:04 UTC 2024
    - 15K bytes
    - Viewed (0)
  8. operator/pkg/util/reflect.go

    	return kindOf(v) == reflect.Ptr && reflect.TypeOf(v).Elem().Kind() == reflect.Slice
    }
    
    // IsSliceInterfacePtr reports whether v is a slice ptr type.
    func IsSliceInterfacePtr(v any) bool {
    	// Must use ValueOf because Elem().Elem() type resolves dynamically.
    	vv := reflect.ValueOf(v)
    	return vv.Kind() == reflect.Ptr && vv.Elem().Kind() == reflect.Interface && vv.Elem().Elem().Kind() == reflect.Slice
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 8.6K bytes
    - Viewed (0)
  9. test/fixedbugs/issue53702.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    type Elem struct{}
    
    func (*Elem) Wait(callback func()) {}
    
    type Base struct {
    	elem [8]*Elem
    }
    
    var g_val = 1
    
    func (s *Base) Do() *int {
    	resp := &g_val
    	for _, e := range s.elem {
    		e.Wait(func() {
    			*resp = 0
    		})
    	}
    	return resp
    }
    
    type Sub struct {
    	*Base
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Aug 14 00:14:04 UTC 2022
    - 551 bytes
    - Viewed (0)
  10. src/go/types/map.go

    // A Map represents a map type.
    type Map struct {
    	key, elem Type
    }
    
    // NewMap returns a new map for the given key and element types.
    func NewMap(key, elem Type) *Map {
    	return &Map{key: key, elem: elem}
    }
    
    // Key returns the key type of map m.
    func (m *Map) Key() Type { return m.key }
    
    // Elem returns the element type of map m.
    func (m *Map) Elem() Type { return m.elem }
    
    func (t *Map) Underlying() Type { return t }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 781 bytes
    - Viewed (0)
Back to top