Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 510 for aligned (0.17 sec)

  1. src/text/tabwriter/example_test.go

    	// so its final cell is not part of an aligned column.
    	const padding = 3
    	w := tabwriter.NewWriter(os.Stdout, 0, 0, padding, '-', tabwriter.AlignRight|tabwriter.Debug)
    	fmt.Fprintln(w, "a\tb\taligned\t")
    	fmt.Fprintln(w, "aa\tbb\taligned\t")
    	fmt.Fprintln(w, "aaa\tbbb\tunaligned") // no trailing tab
    	fmt.Fprintln(w, "aaaa\tbbbb\taligned\t")
    	w.Flush()
    
    	// output:
    	// ------a|------b|---aligned|
    	// -----aa|-----bb|---aligned|
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 23 22:09:32 UTC 2016
    - 2K bytes
    - Viewed (0)
  2. src/go/printer/testdata/comments.golden

    	   aligned		line
    	   aligned line
    	*/
    }
    
    func _() {
    	/* freestanding comment
    	   aligned		line
    	   aligned line
    	*/
    }
    
    func _() {
    	/* freestanding comment
    	   aligned		line
    	   aligned line */
    }
    
    func _() {
    	/*	freestanding comment
    		aligned		line
    		aligned line
    	*/
    }
    
    func _() {
    	/*	freestanding comment
    		aligned		line
    		aligned line
    	*/
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 25 23:11:14 UTC 2022
    - 11.3K bytes
    - Viewed (0)
  3. src/go/printer/testdata/comments.input

    	   aligned		line
    	   aligned line
    	*/
    }
    
    func _() {
    	/* freestanding comment
    	   aligned		line
    	   aligned line
    	   */
    }
    
    func _() {
    	/* freestanding comment
    	   aligned		line
    	   aligned line */
    }
    
    func _() {
    	/*	freestanding comment
    		aligned		line
    		aligned line
    	*/
    }
    
    func _() {
    	/*	freestanding comment
    		aligned		line
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 25 23:11:14 UTC 2022
    - 11.3K bytes
    - Viewed (0)
  4. src/hash/crc32/crc32_s390x.go

    	if !hasVX {
    		panic("not available")
    	}
    	// Use vectorized function if data length is above threshold.
    	if len(p) >= vxMinLen {
    		aligned := len(p) & ^vxAlignMask
    		crc = vectorizedCastagnoli(crc, p[:aligned])
    		p = p[aligned:]
    	}
    	if len(p) == 0 {
    		return crc
    	}
    	return slicingUpdate(crc, archCastagnoliTable8, p)
    }
    
    func archAvailableIEEE() bool {
    	return hasVX
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:54:15 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  5. src/hash/crc32/crc32_ppc64le.go

    	if len(p) >= 4*vecMinLen {
    		// If not aligned then process the initial unaligned bytes
    
    		if uint64(uintptr(unsafe.Pointer(&p[0])))&uint64(vecAlignMask) != 0 {
    			align := uint64(uintptr(unsafe.Pointer(&p[0]))) & uint64(vecAlignMask)
    			newlen := vecMinLen - align
    			crc = ppc64SlicingUpdateBy8(crc, archCastagnoliTable8, p[:newlen])
    			p = p[newlen:]
    		}
    		// p should be aligned now
    		aligned := len(p) & ^vecAlignMask
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 17:59:44 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  6. src/crypto/subtle/xor_amd64.s

    	JZ    aligned
    
    not_aligned:
    	TESTQ $7, DX           // AND $7 & len, if not zero jump to loop_1b.
    	JNE   loop_1b
    	SUBQ  $8, DX           // XOR 8bytes backwards.
    	MOVQ  (SI)(DX*1), DI
    	MOVQ  (CX)(DX*1), AX
    	XORQ  AX, DI
    	MOVQ  DI, (BX)(DX*1)
    	CMPQ  DX, $16          // if len is greater or equal 16 here, it must be aligned.
    	JGE   aligned
    
    ret:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 26 18:14:32 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  7. src/go/printer/testdata/comments2.golden

    		println("test")
    	}
    }
    
    func issue5623() {
    L:
    	_ = yyyyyyyyyyyyyyyy			// comment - should be aligned
    	_ = xxxxxxxxxxxxxxxxxxxxxxxxxxxx	/* comment */
    
    	_ = yyyyyyyyyyyyyyyy			/* comment - should be aligned */
    	_ = xxxxxxxxxxxxxxxxxxxxxxxxxxxx	// comment
    
    LLLLLLL:
    	_ = yyyyyyyyyyyyyyyy			// comment - should be aligned
    	_ = xxxxxxxxxxxxxxxxxxxxxxxxxxxx	// comment
    
    LL:
    LLLLL:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:31:50 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  8. src/go/printer/testdata/comments2.input

       }
    }
    
    func issue5623() {
    L:
       _ = yyyyyyyyyyyyyyyy // comment - should be aligned
       _ = xxxxxxxxxxxxxxxxxxxxxxxxxxxx /* comment */
    
       _ = yyyyyyyyyyyyyyyy /* comment - should be aligned */
       _ = xxxxxxxxxxxxxxxxxxxxxxxxxxxx // comment
    
    LLLLLLL:
       _ = yyyyyyyyyyyyyyyy // comment - should be aligned
       _ = xxxxxxxxxxxxxxxxxxxxxxxxxxxx // comment
    
    LL:
    LLLLL:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 26 00:06:54 UTC 2017
    - 2.3K bytes
    - Viewed (0)
  9. test/fixedbugs/issue19137.go

    	_ = x
    	return b // b is not 8-byte aligned to SP
    }
    func zero() ([20]byte, [20]byte) {
    	var x [1000]int // a large stack frame
    	_ = x
    	return [20]byte{}, [20]byte{} // the second return value is not 8-byte aligned to SP
    }
    
    // Issue 21992: unaligned offset between 256 and 504 and handled
    // incorrectly.
    type T2 struct {
    	a [257]byte
    	// fields below are not 8-, 4-, 2-byte aligned
    	b [8]byte
    	c [4]byte
    	d [2]byte
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 22:28:17 UTC 2017
    - 1.1K bytes
    - Viewed (0)
  10. maven-compat/src/test/java/org/apache/maven/project/path/DefaultPathTranslatorTest.java

            String aligned = new DefaultPathTranslator().alignToBaseDirectory("${basedir}", basedir);
    
            assertEquals(basedir.getAbsolutePath(), aligned);
        }
    
        @Test
        void testAlignToBasedirWhereBasedirExpressionIsTheValuePrefix() {
            File basedir = new File(System.getProperty("java.io.tmpdir"), "test").getAbsoluteFile();
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top