Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 667 for minval (0.18 sec)

  1. src/syscall/syscall.go

    }
    
    // ByteSliceFromString returns a NUL-terminated slice of bytes
    // containing the text of s. If s contains a NUL byte at any
    // location, it returns (nil, [EINVAL]).
    func ByteSliceFromString(s string) ([]byte, error) {
    	if bytealg.IndexByteString(s, 0) != -1 {
    		return nil, EINVAL
    	}
    	a := make([]byte, len(s)+1)
    	copy(a, s)
    	return a, nil
    }
    
    // StringBytePtr returns a pointer to a NUL-terminated array of bytes.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. src/os/exec_test.go

    	}
    	if err := p.Release(); err != nil {
    		t.Fatalf("first Release: got err %v, want nil", err)
    	}
    
    	err = p.Release()
    
    	// We want EINVAL from a second Release call only on Windows.
    	var want error
    	if runtime.GOOS == "windows" {
    		want = syscall.EINVAL
    	}
    
    	if err != want {
    		t.Fatalf("second Release: got err %v, want %v", err, want)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 18:08:44 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. src/fmt/scan_test.go

    	{"21\n", &intVal, 21},
    	{"2_1\n", &intVal, 21},
    	{"0\n", &intVal, 0},
    	{"000\n", &intVal, 0},
    	{"0x10\n", &intVal, 0x10},
    	{"0x_1_0\n", &intVal, 0x10},
    	{"-0x10\n", &intVal, -0x10},
    	{"0377\n", &intVal, 0377},
    	{"0_3_7_7\n", &intVal, 0377},
    	{"0o377\n", &intVal, 0377},
    	{"0o_3_7_7\n", &intVal, 0377},
    	{"-0377\n", &intVal, -0377},
    	{"-0o377\n", &intVal, -0377},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 20:25:13 UTC 2023
    - 39.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/aot/tests/BUILD

            "@llvm-project//llvm:not",
        ],
    )
    
    # We disable some tfcompile tests in the open source build with the
    # "manual" tag to avoid making our OSS users build LLVM twice
    # (once for host and once for target).
    
    test_suite(
        name = "all_tests",
        tags = ["manual"],
        tests = [
            ":test_graph_tfadd_test",
            ":test_graph_tfadd_with_ckpt_saver_test",
            ":test_graph_tfadd_with_ckpt_test",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 27 18:00:18 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/UserManual.java

    import org.gradle.api.file.DirectoryProperty;
    
    /**
     * Configuration for user manual documentation
     */
    public abstract class UserManual {
        /**
         * The root of the user manual documentation.  This is the source of the adoc files.
         */
        public abstract DirectoryProperty getRoot();
    
        /**
         * Source of snippets that can be inserted into the user manual
         */
        public abstract DirectoryProperty getSnippets();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 1.7K bytes
    - Viewed (0)
  6. src/net/tcpsock_unix.go

    package net
    
    import "syscall"
    
    // SetKeepAliveConfig configures keep-alive messages sent by the operating system.
    func (c *TCPConn) SetKeepAliveConfig(config KeepAliveConfig) error {
    	if !c.ok() {
    		return syscall.EINVAL
    	}
    
    	if err := setKeepAlive(c.fd, config.Enable); err != nil {
    		return &OpError{Op: "set", Net: c.fd.net, Source: c.fd.laddr, Addr: c.fd.raddr, Err: err}
    	}
    	if err := setKeepAliveIdle(c.fd, config.Idle); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 03:10:07 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  7. dbflute_fess/dfprop/_readme.txt

    Properties for documents:
    o documentMap.dfprop
    
    Properties for non-functional adjustments:
    o sourceCopyright.dfprop
    o infraMap.dfprop (manual making)
    
    Properties for plug-ins:
    o freeGenMap.dfprop (manual making)
    o lastafluteMap.dfprop (manual making)
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Mon Jan 29 07:34:32 UTC 2018
    - 930 bytes
    - Viewed (0)
  8. src/syscall/syscall_solaris.go

    }
    
    func Pipe(p []int) (err error) {
    	return Pipe2(p, 0)
    }
    
    //sysnb	pipe2(p *[2]_C_int, flags int) (err error)
    
    func Pipe2(p []int, flags int) error {
    	if len(p) != 2 {
    		return EINVAL
    	}
    	var pp [2]_C_int
    	err := pipe2(&pp, flags)
    	if err == nil {
    		p[0] = int(pp[0])
    		p[1] = int(pp[1])
    	}
    	return err
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  9. src/syscall/fs_js.go

    		newPos = f.pos + offset
    	case 2:
    		var st Stat_t
    		if err := Fstat(fd, &st); err != nil {
    			return 0, err
    		}
    		newPos = st.Size + offset
    	default:
    		return 0, errnoErr(EINVAL)
    	}
    
    	if newPos < 0 {
    		return 0, errnoErr(EINVAL)
    	}
    
    	f.seeked = true
    	f.dirIdx = 0 // Reset directory read position. See issue 35767.
    	f.pos = newPos
    	return newPos, nil
    }
    
    func Dup(fd int) (int, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 11 18:19:17 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/ifreq_linux.go

    		return nil, EINVAL
    	}
    
    	return raw.Addr[:], nil
    }
    
    // SetInet4Addr sets a C in_addr/Go []byte (4-byte IPv4 address) value in an
    // embedded sockaddr within the Ifreq's union data. v must be 4 bytes in length
    // or an error will be returned.
    func (ifr *Ifreq) SetInet4Addr(v []byte) error {
    	if len(v) != 4 {
    		return EINVAL
    	}
    
    	var addr [4]byte
    	copy(addr[:], v)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 4.3K bytes
    - Viewed (0)
Back to top