Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 132 for encInt (0.12 sec)

  1. src/encoding/gob/encode.go

    	reflect.Bool:       encBool,
    	reflect.Int:        encInt,
    	reflect.Int8:       encInt,
    	reflect.Int16:      encInt,
    	reflect.Int32:      encInt,
    	reflect.Int64:      encInt,
    	reflect.Uint:       encUint,
    	reflect.Uint8:      encUint,
    	reflect.Uint16:     encUint,
    	reflect.Uint32:     encUint,
    	reflect.Uint64:     encUint,
    	reflect.Uintptr:    encUint,
    	reflect.Float32:    encFloat,
    	reflect.Float64:    encFloat,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 02:00:26 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. src/encoding/gob/codec_test.go

    		b.Reset()
    		var data int = 17
    		instr := &encInstr{encInt, 6, nil, 0}
    		state := newEncoderState(b)
    		instr.op(instr, state, reflect.ValueOf(data))
    		if !bytes.Equal(signedResult, b.Bytes()) {
    			t.Errorf("int enc instructions: expected % x got % x", signedResult, b.Bytes())
    		}
    	}
    
    	// uint
    	{
    		b.Reset()
    		var data uint = 17
    		instr := &encInstr{encUint, 6, nil, 0}
    		state := newEncoderState(b)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 19 23:03:14 UTC 2023
    - 36.9K bytes
    - Viewed (0)
  3. src/internal/poll/errno_unix.go

    	errEINVAL error = syscall.EINVAL
    	errENOENT error = syscall.ENOENT
    )
    
    // errnoErr returns common boxed Errno values, to prevent
    // allocations at runtime.
    func errnoErr(e syscall.Errno) error {
    	switch e {
    	case 0:
    		return nil
    	case syscall.EAGAIN:
    		return errEAGAIN
    	case syscall.EINVAL:
    		return errEINVAL
    	case syscall.ENOENT:
    		return errENOENT
    	}
    	return e
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 25 00:12:40 UTC 2023
    - 696 bytes
    - Viewed (0)
  4. platforms/jvm/jvm-services/src/main/java/org/gradle/internal/jvm/inspection/JvmVendor.java

            JETBRAINS("jetbrains", "JetBrains"),
            MICROSOFT("microsoft", "Microsoft"),
            ORACLE("oracle", "Oracle"),
            SAP("sap se", "SAP SapMachine"),
            TENCENT("tencent", "Tencent"),
            UNKNOWN("gradle", "Unknown Vendor");
    
            private final String indicatorString;
            private final Pattern indicatorPattern;
            private final String displayName;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 02 23:55:59 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  5. platforms/jvm/toolchains-jvm-shared/src/main/java/org/gradle/jvm/toolchain/JvmVendorSpec.java

        public static final JvmVendorSpec SAP = matching(KnownJvmVendor.SAP);
    
        /**
         * A constant for using <a href="https://tencent.github.io/konajdk">Tencent Kona JDK</a> as the JVM vendor.
         *
         * @since 8.6
         */
        @Incubating
        public static final JvmVendorSpec TENCENT = matching(KnownJvmVendor.TENCENT);
    
        /**
         * Determines if the vendor passed as an argument matches this spec.
         * @param vendor the vendor to test
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 01 16:57:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. src/syscall/tables_wasip1.go

    	ENAMETOOLONG    Errno = 37
    	ENETDOWN        Errno = 38
    	ENETRESET       Errno = 39
    	ENETUNREACH     Errno = 40
    	ENFILE          Errno = 41
    	ENOBUFS         Errno = 42
    	ENODEV          Errno = 43
    	ENOENT          Errno = 44
    	ENOEXEC         Errno = 45
    	ENOLCK          Errno = 46
    	ENOLINK         Errno = 47
    	ENOMEM          Errno = 48
    	ENOMSG          Errno = 49
    	ENOPROTOOPT     Errno = 50
    	ENOSPC          Errno = 51
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 06 20:58:35 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  7. src/runtime/os3_plan9.go

    		} else {
    			c.setpc(abi.FuncPCABI0(sigpanic0))
    		}
    		return _NCONT
    	}
    	if flags&_SigNotify != 0 {
    		if ignoredNote(note) {
    			return _NCONT
    		}
    		if sendNote(note) {
    			return _NCONT
    		}
    	}
    	if flags&_SigKill != 0 {
    		goto Exit
    	}
    	if flags&_SigThrow == 0 {
    		return _NCONT
    	}
    Throw:
    	mp.throwing = throwTypeRuntime
    	mp.caughtsig.set(gp)
    	startpanic_m()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. src/os/user/cgo_lookup_unix.go

    		var errno syscall.Errno
    		pwd, found, errno = _C_getpwnam_r((*_C_char)(unsafe.Pointer(&nameC[0])),
    			(*_C_char)(unsafe.Pointer(&buf[0])), _C_size_t(len(buf)))
    		return errno
    	})
    	if err == syscall.ENOENT || (err == nil && !found) {
    		return nil, UnknownUserError(username)
    	}
    	if err != nil {
    		return nil, fmt.Errorf("user: lookup username %s: %v", username, err)
    	}
    	return buildUser(&pwd), err
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:08:14 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. src/cmd/go/internal/robustio/robustio_darwin.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package robustio
    
    import (
    	"errors"
    	"syscall"
    )
    
    const errFileNotFound = syscall.ENOENT
    
    // isEphemeralError returns true if err may be resolved by waiting.
    func isEphemeralError(err error) bool {
    	var errno syscall.Errno
    	if errors.As(err, &errno) {
    		return errno == errFileNotFound
    	}
    	return false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 26 15:28:04 UTC 2019
    - 466 bytes
    - Viewed (0)
  10. src/time/sys_windows.go

    func open(name string) (uintptr, error) {
    	fd, err := syscall.Open(name, syscall.O_RDONLY, 0)
    	if err != nil {
    		// This condition solves issue https://go.dev/issue/50248
    		if err == syscall.ERROR_PATH_NOT_FOUND {
    			err = syscall.ENOENT
    		}
    		return 0, err
    	}
    	return uintptr(fd), nil
    }
    
    func read(fd uintptr, buf []byte) (int, error) {
    	return syscall.Read(syscall.Handle(fd), buf)
    }
    
    func closefd(fd uintptr) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 08 17:19:07 UTC 2022
    - 1.1K bytes
    - Viewed (0)
Back to top