Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 126 for Dword2 (0.23 sec)

  1. src/internal/runtime/atomic/atomic_arm.go

    	word := uint32(v) << ((uaddr & 3) * 8) // little endian
    	for {
    		old := *addr32
    		if Cas(addr32, old, old|word) {
    			return
    		}
    	}
    }
    
    //go:nosplit
    func And8(addr *uint8, v uint8) {
    	// Align down to 4 bytes and use 32-bit CAS.
    	uaddr := uintptr(unsafe.Pointer(addr))
    	addr32 := (*uint32)(unsafe.Pointer(uaddr &^ 3))
    	word := uint32(v) << ((uaddr & 3) * 8)    // little endian
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. build/pause/windows/pause.c

    #include <windows.h>
    #include <stdio.h>
    #include <string.h>
    
    #define STRINGIFY(x) #x
    #define VERSION_STRING(x) STRINGIFY(x)
    
    #ifndef VERSION
    #define VERSION HEAD
    #endif
    
    BOOL WINAPI CtrlHandler(DWORD fdwCtrlType)
    {
    	switch (fdwCtrlType)
    	{
    	case CTRL_C_EVENT:
    		fprintf(stderr, "Shutting down, got signal\n");
    		exit(0);
    
    	case CTRL_BREAK_EVENT:
    		fprintf(stderr, "Shutting down, got signal\n");
    		exit(0);
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 13:09:17 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/ops/gen/common/case_format.cc

      const bool toSnake = (to == LOWER_SNAKE || to == UPPER_SNAKE);
    
      string result;
    
      bool inputStart = true;
      bool wordStart = true;
      for (const char c : str) {
        // Find a word start.
        if (c == delimiter) {
          // Repeated cases of wordStart means explicit delimiter usage.
          if (wordStart) {
            result.push_back(delimiter);
          }
          wordStart = true;
          continue;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 09:51:28 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. src/runtime/mgcmark.go

    	}
    
    	for i := uintptr(0); i < n; i += goarch.PtrSize {
    		if ptrmask != nil {
    			word := i / goarch.PtrSize
    			bits := *addb(ptrmask, word/8)
    			if bits == 0 {
    				// Skip 8 words (the loop increment will do the 8th)
    				//
    				// This must be the first time we've
    				// seen this word of ptrmask, so i
    				// must be 8-word-aligned, but check
    				// our reasoning just in case.
    				if i%(goarch.PtrSize*8) != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  5. src/internal/reflectlite/value.go

    		// Value is indirect, but interface is direct. We need
    		// to load the data at v.ptr into the interface data word.
    		e.Data = *(*unsafe.Pointer)(v.ptr)
    	default:
    		// Value is direct, and so is the interface.
    		e.Data = v.ptr
    	}
    	// Now, fill in the type portion. We're very careful here not
    	// to have any operation between the e.word and e.typ assignments
    	// that would let the garbage collector observe the partially-built
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:01:54 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  6. docs/en/docs/python-types.md

    I think `Union[SomeType, None]` is more explicit about what it means.
    
    It's just about the words and names. But those words can affect how you and your teammates think about the code.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri May 31 02:38:05 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  7. src/sync/atomic/doc.go

    //
    // On ARM, 386, and 32-bit MIPS, it is the caller's responsibility to arrange
    // for 64-bit alignment of 64-bit words accessed atomically via the primitive
    // atomic functions (types [Int64] and [Uint64] are automatically aligned).
    // The first word in an allocated struct, array, or slice; in a global
    // variable; or in a local variable (because the subject of all atomic operations
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  8. src/sync/once.go

    	done atomic.Uint32
    	m    Mutex
    }
    
    // Do calls the function f if and only if Do is being called for the
    // first time for this instance of [Once]. In other words, given
    //
    //	var once Once
    //
    // if once.Do(f) is called multiple times, only the first call will invoke f,
    // even if f has a different value in each invocation. A new instance of
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/KotlinPlatformComponent.kt

     * implementation, such as [KotlinProjectMessageBusProvider] for [KotlinMessageBusProvider].
     *
     * Platform component interfaces and their default implementations are always prefixed with the word `Kotlin`, in contrast to
     * [KaEngineService]s which are prefixed with `Ka`. It is recommended to keep this naming convention in platform implementations. For
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:57:40 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/bpxsvc_zos.go

    }
    
    const (
    	PT_TRACE_ME             = 0  // Debug this process
    	PT_READ_I               = 1  // Read a full word
    	PT_READ_D               = 2  // Read a full word
    	PT_READ_U               = 3  // Read control info
    	PT_WRITE_I              = 4  //Write a full word
    	PT_WRITE_D              = 5  //Write a full word
    	PT_CONTINUE             = 7  //Continue the process
    	PT_KILL                 = 8  //Terminate the process
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 19.9K bytes
    - Viewed (0)
Back to top