Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 229 for Subtract (0.13 sec)

  1. src/runtime/mgcpacer.go

    	// One oddity you may have noticed is that we also subtract out heapFree, i.e. unscavenged
    	// memory that may contain heap objects in the future.
    	//
    	// Let's take a step back. In an ideal world, this term would look something like just
    	// the heap goal. That is, we "reserve" enough space for the heap to grow to the heap
    	// goal, and subtract out everything else. This is of course impossible; the definition
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/wasm/ssa.go

        - jump to the location indicated by the block ID argument
          (which appears in local variable 0)
        - at block 0
          - check for Go stack overflow, call morestack if needed
          - subtract frame size from SP
          - note that arguments now start at SP+framesize+8
    
       Normal epilogue:
        - pop frame from Go stack
        - pop return address from Go stack
        - push 0 (type i32) on the Wasm stack
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:21:13 UTC 2023
    - 17.6K bytes
    - Viewed (0)
  3. src/internal/coverage/cfile/emit.go

    				}
    			} else {
    				// The package ID value stored in the counter array
    				// has 1 added to it (so as to preclude the
    				// possibility of a zero value ; see
    				// runtime.addCovMeta), so subtract off 1 here to form
    				// the real package ID.
    				pkgId--
    			}
    
    			tcounters = rdCounters(counters, tcounters)
    			if err := f(pkgId, funcId, tcounters); err != nil {
    				return err
    			}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/aes/aes_test.go

    			if bytes.Equal(randomN, make([]byte, len(randomN))) {
    				t.Error("got all zeros for random four byte nonce")
    			}
    
    			counter := nonce[4:]
    			counters[binary.LittleEndian.Uint64(counter)-1]++ // subtract one because the counter starts at 1, not 0
    
    			plaintextAgain, _, err := transformer.TransformFromStorage(ctx, out, dataCtx)
    			if err != nil {
    				t.Error(err)
    				return
    			}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 21 19:25:52 UTC 2023
    - 23.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_sharding_identification_pass.cc

        int tile_assignment_rank = sharding->tile_assignment_dimensions_size();
    
        // When a tensor is partial or subgroup tiled, its tile assignment will
        // have one or more dimension(s) than its rank; so, we subtract them to
        // determine which rank the sharding is compatible with.
        tile_assignment_rank -= (int)sharding->replicate_on_last_tile_dim();
        tile_assignment_rank -= sharding->last_tile_dims_size();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 02:01:13 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  6. src/syscall/syscall_aix.go

    	return n, nil
    }
    
    func (sa *RawSockaddrUnix) getLen() (int, error) {
    	// Some versions of AIX have a bug in getsockname (see IV78655).
    	// We can't rely on sa.Len being set correctly.
    	n := SizeofSockaddrUnix - 3 // subtract leading Family, Len, terminating NUL.
    	for i := 0; i < n; i++ {
    		if sa.Path[i] == 0 {
    			n = i
    			break
    		}
    	}
    	return n, nil
    }
    
    func anyToSockaddr(rsa *RawSockaddrAny) (Sockaddr, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:50:55 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  7. src/encoding/gob/encode.go

    		state.b.writeByte(uint8(x))
    		return
    	}
    
    	binary.BigEndian.PutUint64(state.buf[1:], x)
    	bc := bits.LeadingZeros64(x) >> 3      // 8 - bytelen(x)
    	state.buf[bc] = uint8(bc - uint64Size) // and then we subtract 8 to get -bytelen(x)
    
    	state.b.Write(state.buf[bc : uint64Size+1])
    }
    
    // encodeInt writes an encoded signed integer to state.w.
    // The low bit of the encoding says whether to bit complement the (other bits of the)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 02:00:26 UTC 2024
    - 19K bytes
    - Viewed (0)
  8. src/cmd/vendor/github.com/google/pprof/internal/binutils/binutils.go

    	}
    
    	return nil, fmt.Errorf("unrecognized binary format: %s", name)
    }
    
    func (b *binrep) openMachOCommon(name string, of *macho.File, start, limit, offset uint64) (plugin.ObjFile, error) {
    
    	// Subtract the load address of the __TEXT section. Usually 0 for shared
    	// libraries or 0x100000000 for executables. You can check this value by
    	// running `objdump -private-headers <file>`.
    
    	textSegment := of.Segment("__TEXT")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  9. src/debug/gosym/pclntab.go

    func (t *LineTable) LineToPC(line int, maxpc uint64) uint64 {
    	if t.isGo12() {
    		return 0
    	}
    	_, pc, line1 := t.parse(maxpc, line)
    	if line1 != line {
    		return 0
    	}
    	// Subtract quantum from PC to account for post-line increment
    	return pc - oldQuantum
    }
    
    // NewLineTable returns a new PC/line table
    // corresponding to the encoded data.
    // Text must be the start address of the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 25 19:43:24 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  10. src/cmd/link/internal/loadmacho/ldmacho.go

    					// taking the address of the relocation and adding 4 to it (since the rip-relative
    					// offset can at most be 32 bits long).  To calculate the offset into the section the
    					// relocation is referencing, we subtract the vaddr of the start of the referenced
    					// section found in the original object file.
    					//
    					// [For future reference, see Darwin's /usr/include/mach-o/x86_64/reloc.h]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 12 18:45:57 UTC 2022
    - 19.1K bytes
    - Viewed (0)
Back to top