Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 210 for gotype (0.11 sec)

  1. src/net/sockopt_aix.go

    )
    
    func setDefaultSockopts(s, family, sotype int, ipv6only bool) error {
    	if family == syscall.AF_INET6 && sotype != syscall.SOCK_RAW {
    		// Allow both IP versions even if the OS default
    		// is otherwise. Note that some operating systems
    		// never admit this option.
    		syscall.SetsockoptInt(s, syscall.IPPROTO_IPV6, syscall.IPV6_V6ONLY, boolint(ipv6only))
    	}
    	if (sotype == syscall.SOCK_DGRAM || sotype == syscall.SOCK_RAW) && family != syscall.AF_UNIX {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 09 00:33:27 UTC 2020
    - 1.4K bytes
    - Viewed (0)
  2. maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java

         *
         * @param parser The XML parser
         * @param toType The target type
         * @return Converted instance of the target type
         */
        private Object parse(final MXParser parser, final TypeLiteral<?> toType) throws Exception {
            parser.require(XmlPullParser.START_TAG, null, null);
    
            final Class<?> rawType = toType.getRawType();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 18 00:24:53 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  3. src/net/internal/socktest/switch_posix.go

    	}
    }
    
    func typeString(sotype int) string {
    	var s string
    	switch sotype & 0xff {
    	case syscall.SOCK_STREAM:
    		s = "stream"
    	case syscall.SOCK_DGRAM:
    		s = "datagram"
    	case syscall.SOCK_RAW:
    		s = "raw"
    	case syscall.SOCK_SEQPACKET:
    		s = "seqpacket"
    	default:
    		s = fmt.Sprintf("%d", sotype&0xff)
    	}
    	if flags := uint(sotype) & ^uint(0xff); flags != 0 {
    		s += fmt.Sprintf("|%#x", flags)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 1K bytes
    - Viewed (0)
  4. src/net/sockopt_solaris.go

    )
    
    func setDefaultSockopts(s, family, sotype int, ipv6only bool) error {
    	if family == syscall.AF_INET6 && sotype != syscall.SOCK_RAW {
    		// Allow both IP versions even if the OS default
    		// is otherwise. Note that some operating systems
    		// never admit this option.
    		syscall.SetsockoptInt(s, syscall.IPPROTO_IPV6, syscall.IPV6_V6ONLY, boolint(ipv6only))
    	}
    	if (sotype == syscall.SOCK_DGRAM || sotype == syscall.SOCK_RAW) && family != syscall.AF_UNIX {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 09 00:33:27 UTC 2020
    - 1.3K bytes
    - Viewed (0)
  5. src/net/unixsock_posix.go

    	var sotype int
    	switch net {
    	case "unix":
    		sotype = syscall.SOCK_STREAM
    	case "unixgram":
    		sotype = syscall.SOCK_DGRAM
    	case "unixpacket":
    		sotype = syscall.SOCK_SEQPACKET
    	default:
    		return nil, UnknownNetworkError(net)
    	}
    
    	switch mode {
    	case "dial":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:54:32 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. src/internal/syscall/windows/registry/registry_test.go

    	if gottype != test.Type {
    		t.Errorf("want %s value type %v, got %v", test.Name, test.Type, gottype)
    		return
    	}
    	// read full data
    	gotsize, gottype, err = k.GetValue(test.Name, make([]byte, size))
    	if err != nil {
    		t.Errorf("GetValue(%s, [%d]byte) failed: %v", test.Name, size, err)
    		return
    	}
    	if gotsize != size {
    		t.Errorf("want %s value size of %d, got %v", test.Name, size, gotsize)
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 19:19:00 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  7. src/net/sockopt_windows.go

    func setDefaultSockopts(s syscall.Handle, family, sotype int, ipv6only bool) error {
    	if family == syscall.AF_INET6 && sotype != syscall.SOCK_RAW {
    		// Allow both IP versions even if the OS default
    		// is otherwise. Note that some operating systems
    		// never admit this option.
    		syscall.SetsockoptInt(s, syscall.IPPROTO_IPV6, syscall.IPV6_V6ONLY, boolint(ipv6only))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 09 00:33:27 UTC 2020
    - 1.5K bytes
    - Viewed (0)
  8. src/net/sock_cloexec_solaris.go

    )
    
    // Wrapper around the socket system call that marks the returned file
    // descriptor as nonblocking and close-on-exec.
    func sysSocket(family, sotype, proto int) (int, error) {
    	// Perform a cheap test and try the fast path first.
    	if unix.SupportSockNonblockCloexec() {
    		s, err := socketFunc(family, sotype|syscall.SOCK_NONBLOCK|syscall.SOCK_CLOEXEC, proto)
    		if err != nil {
    			return -1, os.NewSyscallError("socket", err)
    		}
    		return s, nil
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:17:25 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  9. src/net/fd_unix.go

    	writeMsgSyscallName = "sendmsg"
    )
    
    func newFD(sysfd, family, sotype int, net string) (*netFD, error) {
    	ret := &netFD{
    		pfd: poll.FD{
    			Sysfd:         sysfd,
    			IsStream:      sotype == syscall.SOCK_STREAM,
    			ZeroReadIsEOF: sotype != syscall.SOCK_DGRAM && sotype != syscall.SOCK_RAW,
    		},
    		family: family,
    		sotype: sotype,
    		net:    net,
    	}
    	return ret, nil
    }
    
    func (fd *netFD) init() error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 20:19:46 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/log/LogType.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.log;
    
    /**
     * @author shinsuke
     *
     */
    public enum LogType {
        START_CRAWLING, //
        CLEANUP_CRAWLING, //
        UNSUPPORTED_URL_AT_CRAWLING_STARTED, //
        CHECK_LAST_MODIFIED, //
        NOT_MODIFIED, //
        GET_CONTENT, //
        REDIRECT_LOCATION, //
        PROCESS_RESPONSE, //
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.2K bytes
    - Viewed (0)
Back to top