Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 75 for Alignment (0.19 sec)

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

    func init() {
    	// TODO(mdempsky): Push into types.InitUniverse or typecheck.InitUniverse.
    	types.PtrSize = 8
    	types.RegSize = 8
    	types.MaxWidth = 1 << 50
    
    	base.Ctxt = &obj.Link{Arch: &obj.LinkArch{Arch: &sys.Arch{Alignment: 1, CanMergeLoads: true}}}
    	typecheck.InitUniverse()
    	testTypes.SetTypPtrs()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 21:19:39 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. src/cmd/internal/src/xpos_test.go

    	}
    
    	if tab.baseList[0] != nil || tab.indexMap[nil] != 0 {
    		t.Errorf("nil base not at index 0")
    	}
    }
    
    func TestSize(t *testing.T) {
    	var p XPos
    	if unsafe.Alignof(p) != 4 {
    		t.Errorf("alignment = %v; want 4", unsafe.Alignof(p))
    	}
    	if unsafe.Sizeof(p) != 8 {
    		t.Errorf("size = %v; want 8", unsafe.Sizeof(p))
    	}
    }
    
    func TestSetBase(t *testing.T) {
    	var tab PosTable
    	b1 := NewFileBase("b1", "b1")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 15:52:41 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  3. src/runtime/sys_windows_arm.s

    	// Do we have more than 4 arguments?
    	MOVW	4(R4), R0	// libcall->n
    	SUB.S	$4, R0, R2
    	BLE	loadregs
    
    	// Reserve stack space for remaining args
    	SUB	R2<<2, R13
    	BIC	$0x7, R13	// alignment for ABI
    
    	// R0: count of arguments
    	// R1:
    	// R2: loop counter, from 0 to (n-4)
    	// R3: scratch
    	// R4: pointer to libcall struct
    	// R12: libcall->args
    	MOVW	$0, R2
    stackargs:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 21 15:56:43 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  4. src/runtime/sys_windows_amd64.s

    TEXT runtime·asmstdcall_trampoline<ABIInternal>(SB),NOSPLIT,$0
    	MOVQ	AX, CX
    	JMP	runtime·asmstdcall(SB)
    
    // void runtime·asmstdcall(void *c);
    TEXT runtime·asmstdcall(SB),NOSPLIT,$16
    	MOVQ	SP, AX
    	ANDQ	$~15, SP	// alignment as per Windows requirement
    	MOVQ	AX, 8(SP)
    	MOVQ	CX, 0(SP)	// asmcgocall will put first argument into CX.
    
    	MOVQ	libcall_fn(CX), AX
    	MOVQ	libcall_args(CX), SI
    	MOVQ	libcall_n(CX), CX
    
    	// SetLastError(0).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 19 07:24:08 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. README.md

    That said, if you have questions, reach out to us
    [one way or another][communication].
    
    [announcement]: https://cncf.io/news/announcement/2015/07/new-cloud-native-computing-foundation-drive-alignment-among-container
    [Borg]: https://research.google.com/pubs/pub43438.html
    [CNCF]: https://www.cncf.io/about
    [communication]: https://git.k8s.io/community/communication
    [community repository]: https://git.k8s.io/community
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:51 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. src/cmd/link/internal/arm64/obj.go

    			*ld.FlagTextAddr = ld.Rnd(0x10000, *ld.FlagRound) + int64(ld.HEADR)
    		}
    
    	case objabi.Hdarwin: /* apple MACH */
    		ld.HEADR = ld.INITIAL_MACHO_HEADR
    		if *ld.FlagRound == -1 {
    			*ld.FlagRound = 16384 // 16K page alignment
    		}
    		if *ld.FlagTextAddr == -1 {
    			*ld.FlagTextAddr = ld.Rnd(1<<32, *ld.FlagRound) + int64(ld.HEADR)
    		}
    
    	case objabi.Hwindows: /* PE executable */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 19:32:19 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/alignment/AbstractAlignmentSpec.groovy

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.integtests.resolve.alignment
    
    import org.gradle.integtests.fixtures.publish.RemoteRepositorySpec
    import org.gradle.integtests.resolve.AbstractModuleDependencyResolveTest
    
    abstract class AbstractAlignmentSpec extends AbstractModuleDependencyResolveTest {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 9K bytes
    - Viewed (0)
  8. src/strings/search.go

    	// badCharSkip[b] is len(pattern).
    	//
    	// Whenever a mismatch is found with byte b in the text, we can safely
    	// shift the matching frame at least badCharSkip[b] until the next time
    	// the matching char could be in alignment.
    	badCharSkip [256]int
    
    	// goodSuffixSkip[i] defines how far we can shift the matching frame given
    	// that the suffix pattern[i+1:] matches, but the byte pattern[i] does
    	// not. There are two cases to consider:
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 18:49:51 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/unsafeptr/unsafeptr.go

    	case *ast.BinaryExpr:
    		// "It is valid both to add and to subtract offsets from a
    		// pointer in this way. It is also valid to use &^ to round
    		// pointers, usually for alignment."
    		switch x.Op {
    		case token.ADD, token.SUB, token.AND_NOT:
    			// TODO(mdempsky): Match compiler
    			// semantics. ADD allows a pointer on either
    			// side; SUB and AND_NOT don't care about RHS.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  10. src/runtime/cgo/gcc_libinit.c

    // cgo uses -Werror. See #65290.
    #pragma GCC diagnostic ignored "-Wpragmas"
    #pragma GCC diagnostic ignored "-Wunknown-warning-option"
    #pragma GCC diagnostic ignored "-Watomic-alignment"
    
    #include <pthread.h>
    #include <errno.h>
    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h> // strerror
    #include <time.h>
    #include "libcgo.h"
    #include "libcgo_unix.h"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 01:07:18 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top