Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 216 for original (0.13 sec)

  1. src/cmd/compile/internal/ssa/magic.go

    //   ⎣x / c⎦ = ⎣⎣x * (m/2) / 2^n⎦ / 2^(s-1)⎦
    //   multiply + shift
    //
    // Case 2: c is even.
    //   ⎣x / c⎦ = ⎣(x/2) / (c/2)⎦
    //   ⎣x / c⎦ = ⎣⎣x/2⎦ / (c/2)⎦
    //     This is just the original problem, with x' = ⎣x/2⎦, c' = c/2, n' = n-1.
    //       s' = s-1
    //       m' = ⎡2^(n'+s')/c'⎤
    //          = ⎡2^(n+s-1)/c⎤
    //          = ⎡m/2⎤
    //   ⎣x / c⎦ = ⎣x' * m' / 2^(n'+s')⎦
    //   ⎣x / c⎦ = ⎣⎣x/2⎦ * ⎡m/2⎤ / 2^(n+s-2)⎦
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:25 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  2. src/cmd/go/internal/work/shell.go

    //
    //	$ go build
    //	# fmt
    //	/usr/gopher/go/src/fmt/print.go:1090: undefined: asdf
    //	$
    //
    // reportCmd also replaces references to the work directory with $WORK, replaces
    // cgo file paths with the original file path, and replaces cgo-mangled names
    // with "C.name".
    //
    // desc is optional. If "", a.Package.Desc() is used.
    //
    // dir is optional. If "", a.Package.Dir is used.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  3. src/syscall/exec_linux.go

    	}
    
    	// Set the controlling TTY to Ctty
    	if sys.Setctty {
    		_, _, err1 = RawSyscall(SYS_IOCTL, uintptr(sys.Ctty), uintptr(TIOCSCTTY), 1)
    		if err1 != 0 {
    			goto childerror
    		}
    	}
    
    	// Restore original rlimit.
    	if rlim != nil {
    		rawSetrlimit(RLIMIT_NOFILE, rlim)
    	}
    
    	// Enable tracing if requested.
    	// Do this right before exec so that we don't unnecessarily trace the runtime
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 07:45:37 UTC 2024
    - 23K bytes
    - Viewed (0)
  4. src/runtime/stubs.go

    // It is up to fn to arrange for that later execution, typically by recording
    // g in a data structure, causing something to call ready(g) later.
    // mcall returns to the original goroutine g later, when g has been rescheduled.
    // fn must not return at all; typically it ends by calling schedule, to let the m
    // run other goroutines.
    //
    // mcall can only be called from g stacks (not g0, not gsignal).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  5. src/internal/xcoff/xcoff.go

    	Lvalue  uint32  // Address field
    	Lscnum  uint16  // Section number containing symbol
    	Lsmtype uint8   // Symbol type, export, import flags
    	Lsmclas uint8   // Symbol storage class
    	Lifile  uint32  // Import file ID; ordinal of import file IDs
    	Lparm   uint32  // Parameter type-check field
    }
    
    type LoaderSymbol64 struct {
    	Lvalue  uint64 // Address field
    	Loffset uint32 // Byte offset into string table of symbol name
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 08 20:36:37 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  6. src/runtime/signal_unix.go

    	if level > 0 {
    		goroutineheader(gp)
    		tracebacktrap(c.sigpc(), c.sigsp(), c.siglr(), gp)
    		if crashing.Load() > 0 && gp != mp.curg && mp.curg != nil && readgstatus(mp.curg)&^_Gscan == _Grunning {
    			// tracebackothers on original m skipped this one; trace it now.
    			goroutineheader(mp.curg)
    			traceback(^uintptr(0), ^uintptr(0), 0, mp.curg)
    		} else if crashing.Load() == 0 {
    			tracebackothers(gp)
    			print("\n")
    		}
    		dumpregs(c)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 16:04:54 UTC 2024
    - 45K bytes
    - Viewed (0)
  7. src/net/tcpsock.go

    // Closing l does not affect f, and closing f does not affect l.
    //
    // The returned os.File's file descriptor is different from the
    // connection's. Attempting to change properties of the original
    // using this duplicate may or may not have the desired effect.
    func (l *TCPListener) File() (f *os.File, err error) {
    	if !l.ok() {
    		return nil, syscall.EINVAL
    	}
    	f, err = l.file()
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 03:10:07 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  8. src/net/http/requestwrite_test.go

    		}
    	}
    	if !sawGood {
    		t.Fatalf("writeCalls constant is outdated in test")
    	}
    }
    
    // dumpRequestOut is a modified copy of net/http/httputil.DumpRequestOut.
    // Unlike the original, this version doesn't mutate the req.Body and
    // try to restore it. It always dumps the whole body.
    // And it doesn't support https.
    func dumpRequestOut(req *Request, onReadHeaders func()) ([]byte, error) {
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 07 01:07:32 UTC 2022
    - 23.3K bytes
    - Viewed (0)
  9. src/compress/flate/huffman_bit_writer.go

    	var value int32 = 2
    	if isEof {
    		value = 3
    	}
    	w.writeBits(value, 3)
    }
    
    // writeBlock will write a block of tokens with the smallest encoding.
    // The original input can be supplied, and if the huffman encoded data
    // is larger than the original bytes, the data will be written as a
    // stored block.
    // If the input is nil, the tokens will always be Huffman encoded.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 29 22:59:14 UTC 2022
    - 18.4K bytes
    - Viewed (0)
  10. src/compress/flate/deflate_test.go

    			mm++
    			if mm == 10 {
    				t.Fatal("Stopping")
    			}
    		}
    	}
    	t.Logf("got %d bytes", len(out1))
    }
    
    // TestBestSpeed tests that round-tripping through deflate and then inflate
    // recovers the original input. The Write sizes are near the thresholds in the
    // compressor.encSpeed method (0, 16, 128), as well as near maxStoreBlockSize
    // (65535).
    func TestBestSpeed(t *testing.T) {
    	t.Parallel()
    	abc := make([]byte, 128)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 25.6K bytes
    - Viewed (0)
Back to top