Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 298 for difference (1.38 sec)

  1. src/cmd/link/elf_test.go

    			elfpie, err := elf.Open(binpie)
    			if err != nil {
    				t.Fatal(err)
    			}
    			defer elfpie.Close()
    
    			// The difference in size between exe and PIE
    			// should be approximately the difference in
    			// size of the .text section plus the size of
    			// the PIE dynamic data sections plus the
    			// difference in size of the .got and .plt
    			// sections if they exist.
    			// We ignore unallocated sections.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 16:34:01 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/syntax/testdata/linalg.go

    	}
    	return r
    }
    
    // NumericAbs matches numeric types with an Abs method.
    type NumericAbs[T any] interface {
    	Numeric
    
    	Abs() T
    }
    
    // AbsDifference computes the absolute value of the difference of
    // a and b, where the absolute value is determined by the Abs method.
    func AbsDifference[T NumericAbs[T]](a, b T) T {
    	d := a - b
    	return d.Abs()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 30 18:02:18 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/google/pprof/profile/prune.go

    	}
    	return nil
    }
    
    // PruneFrom removes all nodes beneath the lowest node matching dropRx, not including itself.
    //
    // Please see the example below to understand this method as well as
    // the difference from Prune method.
    //
    // A sample contains Location of [A,B,C,B,D] where D is the top frame and there's no inline.
    //
    // PruneFrom(A) returns [A,B,C,B,D] because there's no node beneath A.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 18:58:12 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/lex/slice.go

    	// position to discover whether there is a blank before the parenthesis.
    	// We only get here if defining a macro inside a macro.
    	// This imperfect implementation means we cannot tell the difference between
    	//	#define A #define B(x) x
    	// and
    	//	#define A #define B (x) x
    	// The first definition of B has an argument, the second doesn't. Because we let
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 29 22:49:50 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/outbuf_darwin.go

    func (out *OutBuf) fallocate(size uint64) error {
    	stat, err := out.f.Stat()
    	if err != nil {
    		return err
    	}
    	// F_PEOFPOSMODE allocates from the end of the file, so we want the size difference.
    	// Apparently, it uses the end of the allocation, instead of the logical end of the
    	// file.
    	cursize := uint64(stat.Sys().(*syscall.Stat_t).Blocks * 512) // allocated size
    	if size <= cursize {
    		return nil
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 13 15:50:02 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/arm64/a.out.go

    	REG_ELEM_END
    )
    
    // Not registers, but flags that can be combined with regular register
    // constants to indicate extended register conversion. When checking,
    // you should subtract obj.RBaseARM64 first. From this difference, bit 11
    // indicates extended register, bits 8-10 select the conversion mode.
    // REG_LSL is the index shift specifier, bit 9 indicates shifted offset register.
    const REG_LSL = obj.RBaseARM64 + 1<<9
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 17:56:30 UTC 2023
    - 18.1K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/numberlines.go

    				if f.pass.debug > 0 {
    					fmt.Printf("Mark stmt effectively-empty-block %s %s %s\n", f.Name, b, flc(b.Pos))
    				}
    			}
    			endlines[b.ID] = b.Pos
    			continue
    		}
    		// check predecessors for any difference; if firstPos differs, then it is a boundary.
    		if len(b.Preds) == 0 { // Don't forget the entry block
    			b.Values[firstPosIndex].Pos = firstPos.WithIsStmt()
    			if f.pass.debug > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 14 21:26:13 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/abt/avlint32_test.go

    	axb2 := B.Union(A, alwaysNil)
    	assert(t, AXB, axb2, "axb2")
    
    	adb := A.Difference(B, alwaysNil)
    	assert(t, ADB, adb, "adb")
    	bda := B.Difference(A, nil)
    	assert(t, BDA, bda, "bda")
    
    	Ap1 := treePlus1([]int32{1, 2, 3, 4})
    
    	ada1_1 := A.Difference(Ap1, smaller)
    	assert(t, A, ada1_1, "ada1_1")
    	ada1_2 := Ap1.Difference(A, smaller)
    	assert(t, A, ada1_2, "ada1_2")
    
    }
    
    type sstring struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 11 16:34:41 UTC 2022
    - 20.3K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/arch/arm.go

    func IsARMFloatCmp(op obj.As) bool {
    	switch op {
    	case arm.ACMPF, arm.ACMPD:
    		return true
    	}
    	return false
    }
    
    // ARMMRCOffset implements the peculiar encoding of the MRC and MCR instructions.
    // The difference between MRC and MCR is represented by a bit high in the word, not
    // in the usual way by the opcode itself. Asm must use AMRC for both instructions, so
    // we return the opcode for MRC so that asm doesn't need to import obj/arm.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 17:59:44 UTC 2022
    - 6.1K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/unify.go

    // If a call fails (returns false), unification fails.
    //
    // In the unification context, structural equivalence of two types
    // ignores the difference between a defined type and its underlying
    // type if one type is a defined type and the other one is not.
    // It also ignores the difference between an (external, unbound)
    // type parameter and its core type.
    // If two types are not structurally equivalent, they cannot be Go
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.8K bytes
    - Viewed (0)
Back to top