Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 80 for original (0.22 sec)

  1. src/net/lookup_windows_test.go

    	testenv.MustHaveExternalNetwork(t)
    
    	for _, addr := range lookupTestIPs {
    		names, err := LookupAddr(addr)
    		if err != nil {
    			// The DNSError type stores the error as a string, so it cannot wrap the
    			// original error code and we cannot check for it here. However, we can at
    			// least use its error string to identify the correct localized text for
    			// the error to skip.
    			var DNS_ERROR_RCODE_SERVER_FAILURE syscall.Errno = 9002
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  2. src/syscall/exec_libc.go

    		if TIOCSCTTY == 0 {
    			err1 = ENOSYS
    			goto childerror
    		}
    		err1 = ioctl(uintptr(sys.Ctty), uintptr(TIOCSCTTY), 0)
    		if err1 != 0 {
    			goto childerror
    		}
    	}
    
    	// Restore original rlimit.
    	if rlim != nil {
    		setrlimit1(RLIMIT_NOFILE, unsafe.Pointer(rlim))
    	}
    
    	// Time to exec.
    	err1 = execve(
    		uintptr(unsafe.Pointer(argv0)),
    		uintptr(unsafe.Pointer(&argv[0])),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 29 18:51:35 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  3. src/internal/godebug/godebug.go

    // available to other packages. These settings are often used for compatibility
    // tweaks, when we need to change a default behavior but want to let users
    // opt back in to the original. For example GODEBUG=http2server=0 disables
    // HTTP/2 support in the net/http server.
    //
    // In typical usage, code should declare a Setting as a global
    // and then call Value each time the current setting value is needed:
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 14:19:39 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  4. src/net/addrselect.go

    		if commonA > commonB {
    			return preferDA
    		}
    		if commonA < commonB {
    			return preferDB
    		}
    	}
    
    	// Rule 10: Otherwise, leave the order unchanged.
    	// If DA preceded DB in the original list, prefer DA.
    	// Otherwise, prefer DB.
    	return false // "equal"
    }
    
    type policyTableEntry struct {
    	Prefix     netip.Prefix
    	Precedence uint8
    	Label      uint8
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 00:24:06 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  5. src/net/http/httputil/dump.go

    // an [http.Request]. In particular, the order and case of header field
    // names are lost. The order of values in multi-valued headers is kept
    // intact. HTTP/2 requests are dumped in HTTP/1.x form, not in their
    // original binary representations.
    //
    // If body is true, DumpRequest also returns the body. To do so, it
    // consumes req.Body and then replaces it with a new [io.ReadCloser]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/syntax/type.go

    // license that can be found in the LICENSE file.
    
    package syntax
    
    import "go/constant"
    
    // A Type represents a type of Go.
    // All types implement the Type interface.
    // (This type originally lived in types2. We moved it here
    // so we could depend on it from other packages without
    // introducing an import cycle.)
    type Type interface {
    	// Underlying returns the underlying type of a type.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. src/internal/goexperiment/flags.go

    	//
    	// Requires wrappers (to do ABI translation), and reflect (so
    	// reflection calls use registers).
    	RegabiArgs bool
    
    	// HeapMinimum512KiB reduces the minimum heap size to 512 KiB.
    	//
    	// This was originally reduced as part of PacerRedesign, but
    	// has been broken out to its own experiment that is disabled
    	// by default.
    	HeapMinimum512KiB bool
    
    	// CoverageRedesign enables the new compiler-based code coverage
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 16:19:47 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. src/compress/zlib/reader.go

    	if checksum != z.digest.Sum32() {
    		z.err = ErrChecksum
    		return n, z.err
    	}
    	return n, io.EOF
    }
    
    // Calling Close does not close the wrapped [io.Reader] originally passed to [NewReader].
    // In order for the ZLIB checksum to be verified, the reader must be
    // fully consumed until the [io.EOF].
    func (z *reader) Close() error {
    	if z.err != nil && z.err != io.EOF {
    		return z.err
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 23:20:03 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  9. src/internal/coverage/pods/pods.go

    			pod.CounterDataFiles = append(pod.CounterDataFiles, e.file)
    			pod.Origins = append(pod.Origins, e.origin)
    			pod.ProcessIDs = append(pod.ProcessIDs, e.pid)
    		}
    		pods = append(pods, pod)
    	}
    	slices.SortFunc(pods, func(a, b Pod) int {
    		return strings.Compare(a.MetaFile, b.MetaFile)
    	})
    	return pods
    }
    
    func warning(s string, a ...interface{}) {
    	fmt.Fprintf(os.Stderr, "warning: ")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  10. src/crypto/internal/edwards25519/scalarmult_test.go

    		t.Error(err)
    	}
    }
    
    func TestScalarMultNonIdentityPoint(t *testing.T) {
    	// Check whether p.ScalarMult and q.ScalaBaseMult give the same,
    	// when p and q are originally set to the base point.
    
    	scalarMultNonIdentityPoint := func(x Scalar) bool {
    		var p, q Point
    		p.Set(B)
    		q.Set(B)
    
    		p.ScalarMult(&x, B)
    		q.ScalarBaseMult(&x)
    
    		checkOnCurve(t, &p, &q)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 17:26:17 UTC 2023
    - 4.9K bytes
    - Viewed (0)
Back to top