Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 251 for Implementation (0.16 sec)

  1. src/net/tcpsock.go

    func TCPAddrFromAddrPort(addr netip.AddrPort) *TCPAddr {
    	return &TCPAddr{
    		IP:   addr.Addr().AsSlice(),
    		Zone: addr.Addr().Zone(),
    		Port: int(addr.Port()),
    	}
    }
    
    // TCPConn is an implementation of the [Conn] interface for TCP network
    // connections.
    type TCPConn struct {
    	conn
    }
    
    // KeepAliveConfig contains TCP keep-alive options.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 03:10:07 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  2. src/runtime/select.go

    // Copyright 2009 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package runtime
    
    // This file contains the implementation of Go select statements.
    
    import (
    	"internal/abi"
    	"unsafe"
    )
    
    const debugSelect = false
    
    // Select case descriptor.
    // Known to compiler.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 13 21:36:04 UTC 2024
    - 15K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/lookup.go

    			if _, ok := obj.(*Var); !ok {
    				obj, index, indirect = nil, nil, false // accept fields (variables) only
    			}
    		}
    	}
    	return
    }
    
    // lookupFieldOrMethodImpl is the implementation of lookupFieldOrMethod.
    // Notably, in contrast to lookupFieldOrMethod, it won't find struct fields
    // in base types of defined (*Named) pointer types T. For instance, given
    // the declaration:
    //
    //	type T *struct{f int}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  4. src/go/types/lookup.go

    			if _, ok := obj.(*Var); !ok {
    				obj, index, indirect = nil, nil, false // accept fields (variables) only
    			}
    		}
    	}
    	return
    }
    
    // lookupFieldOrMethodImpl is the implementation of lookupFieldOrMethod.
    // Notably, in contrast to lookupFieldOrMethod, it won't find struct fields
    // in base types of defined (*Named) pointer types T. For instance, given
    // the declaration:
    //
    //	type T *struct{f int}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  5. src/net/rpc/server.go

    	// Asynchronous call
    	quotient := new(Quotient)
    	divCall := client.Go("Arith.Divide", args, quotient, nil)
    	replyCall := <-divCall.Done	// will be equal to divCall
    	// check errors, print, etc.
    
    A server implementation will often provide a simple, type-safe wrapper for the
    client.
    
    The net/rpc package is frozen and is not accepting new features.
    */
    package rpc
    
    import (
    	"bufio"
    	"encoding/gob"
    	"errors"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  6. src/flag/flag.go

    }
    
    // Var defines a flag with the specified name and usage string. The type and
    // value of the flag are represented by the first argument, of type [Value], which
    // typically holds a user-defined implementation of [Value]. For instance, the
    // caller could create a flag that turns a comma-separated string into a slice
    // of strings by giving the slice the methods of [Value]; in particular, [Set] would
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:38:24 UTC 2024
    - 39.7K bytes
    - Viewed (0)
  7. src/cmd/go/internal/work/shell.go

    		if escaped != sh.workDir {
    			cmd = strings.ReplaceAll(cmd, escaped, "$WORK")
    		}
    	}
    	return cmd
    }
    
    // ShowCmd prints the given command to standard output
    // for the implementation of -n or -x.
    //
    // ShowCmd also replaces the name of the current script directory with dot (.)
    // but only when it is at the beginning of a space-separated token.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/text/language/language.go

    func (r Region) M49() int {
    	return r.regionID.M49()
    }
    
    // IsPrivateUse reports whether r has the ISO 3166 User-assigned status. This
    // may include private-use tags that are assigned by CLDR and used in this
    // implementation. So IsPrivateUse and IsCountry can be simultaneously true.
    func (r Region) IsPrivateUse() bool {
    	return r.regionID.IsPrivateUse()
    }
    
    // IsCountry returns whether this region is a country or autonomous area. This
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  9. src/text/template/doc.go

    	  may be accessed by a field or map key invocation.
    		print (.F1 arg1) (.F2 arg2)
    		(.StructValuedMethod "arg").Field
    
    Arguments may evaluate to any type; if they are pointers the implementation
    automatically indirects to the base type when required.
    If an evaluation yields a function value, such as a function-valued
    field of a struct, the function is not invoked automatically, but it
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  10. src/math/big/float.go

    // x and y must have a non-empty mantissa and valid exponent.
    func (z *Float) uadd(x, y *Float) {
    	// Note: This implementation requires 2 shifts most of the
    	// time. It is also inefficient if exponents or precisions
    	// differ by wide margins. The following article describes
    	// an efficient (but much more complicated) implementation
    	// compatible with the internal representation used here:
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 15:46:54 UTC 2024
    - 44.5K bytes
    - Viewed (0)
Back to top