Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/go/types/chan.go

    // Dir returns the direction of channel c.
    func (c *Chan) Dir() ChanDir { return c.dir }
    
    // Elem returns the element type of channel c.
    func (c *Chan) Elem() Type { return c.elem }
    
    func (c *Chan) Underlying() Type { return c }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 1K bytes
    - Viewed (0)
  2. test/fixedbugs/issue17449.go

    func (l *PriorityList) remove(i int) interface{} {
        elem := l.elems[i]
        l.elems = append(l.elems[:i], l.elems[i+1:]...)
        return elem
    }
    
    func (l *PriorityList) Next() interface{} {
        return l.remove(l.Len() - 1)
    }
    
    var l *PriorityList
    
    func Foo() {
        // It would fail here if instrumented code (including inline-label) was copied.
        for elem := l.Next(); elem != nil; elem = l.Next() {
        }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/native-binaries/tool-chains/groovy/src/main/cpp/main.cpp

            std::cout << "Hello from clang!" << std::endl;
        #elif defined(__GNUC__) && defined(__MINGW32__)
            std::cout << "Hello from mingw!" << std::endl;
        #elif defined(__GNUC__) && defined(__CYGWIN__)
            std::cout << "Hello from gcc cygwin!" << std::endl;
        #elif defined(__GNUC__)
            std::cout << "Hello from gcc!" << std::endl;
        #elif defined(_MSC_VER)
            std::cout << "Hello from visual c++!" << std::endl;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 615 bytes
    - Viewed (0)
  4. src/syscall/syscall_linux_mipsx.go

    	if errno != ENOSYS {
    		return errno
    	}
    
    	rl := rlimit32{}
    	if rlim.Cur == rlimInf64 {
    		rl.Cur = rlimInf32
    	} else if rlim.Cur < uint64(rlimInf32) {
    		rl.Cur = uint32(rlim.Cur)
    	} else {
    		return EINVAL
    	}
    	if rlim.Max == rlimInf64 {
    		rl.Max = rlimInf32
    	} else if rlim.Max < uint64(rlimInf32) {
    		rl.Max = uint32(rlim.Max)
    	} else {
    		return EINVAL
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 22:23:07 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  5. src/go/types/pointer.go

    type Pointer struct {
    	base Type // element type
    }
    
    // NewPointer returns a new pointer type for the given element (base) type.
    func NewPointer(elem Type) *Pointer { return &Pointer{base: elem} }
    
    // Elem returns the element type for the given pointer p.
    func (p *Pointer) Elem() Type { return p.base }
    
    func (p *Pointer) Underlying() Type { return p }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 761 bytes
    - Viewed (0)
  6. src/go/types/slice.go

    package types
    
    // A Slice represents a slice type.
    type Slice struct {
    	elem Type
    }
    
    // NewSlice returns a new slice type for the given element type.
    func NewSlice(elem Type) *Slice { return &Slice{elem: elem} }
    
    // Elem returns the element type of slice s.
    func (s *Slice) Elem() Type { return s.elem }
    
    func (s *Slice) Underlying() Type { return s }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 701 bytes
    - Viewed (0)
  7. src/syscall/syscall_linux_arm64.go

    func Getrlimit(resource int, rlim *Rlimit) error {
    	err := prlimit(0, resource, nil, rlim)
    	if err != ENOSYS {
    		return err
    	}
    	return getrlimit(resource, rlim)
    }
    
    // setrlimit prefers the prlimit64 system call. See issue 38604.
    func setrlimit(resource int, rlim *Rlimit) error {
    	err := prlimit(0, resource, rlim, nil)
    	if err != ENOSYS {
    		return err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 22:23:07 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  8. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/CCompilerDetectingTestApp.groovy

                        printf("clang");
                    #elif defined(__GNUC__) && defined(__MINGW32__)
                        printf("mingw");
                    #elif defined(__GNUC__) && defined(__CYGWIN__)
                        printf("gcc cygwin");
                    #elif defined(__GNUC__)
                        printf("gcc");
                    #elif defined(_MSC_VER)
                        printf("visual c++");
                    #else
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  9. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/CppCompilerDetectingTestApp.groovy

                        printf("clang");
                    #elif defined(__GNUC__) && defined(__MINGW32__)
                        printf("mingw");
                    #elif defined(__GNUC__) && defined(__CYGWIN__)
                        printf("gcc cygwin");
                    #elif defined(__GNUC__)
                        printf("gcc");
                    #elif defined(_MSC_VER)
                        printf("visual c++");
                    #else
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  10. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/PlatformDetectingTestApp.groovy

        cout << "amd64";
        #elif defined(__i386) || defined(_M_IX86)
        cout << "i386";
        #elif defined(_M_IA64)
        cout << "itanium";
        #else
        cout << "unknown";
        #endif
        cout << " ";
    
        #if defined(__linux__)
        cout << "linux";
        #elif defined(__APPLE__) && defined(__MACH__)
        cout << "os x";
        #elif defined(_WIN32) || defined (_WIN64) || defined (__CYGWIN__)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2K bytes
    - Viewed (0)
Back to top