Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 469 for unpinned (0.17 sec)

  1. src/runtime/cgocheck.go

    package runtime
    
    import (
    	"internal/abi"
    	"internal/goarch"
    	"unsafe"
    )
    
    const cgoWriteBarrierFail = "unpinned Go pointer stored into non-Go memory"
    
    // cgoCheckPtrWrite is called whenever a pointer is stored into memory.
    // It throws if the program is storing an unpinned Go pointer into non-Go
    // memory.
    //
    // This is called from generated code when GOEXPERIMENT=cgocheck2 is enabled.
    //
    //go:nosplit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. src/runtime/cgocall.go

    		}
    	}
    
    	cgoCheckArg(t, ep.data, t.Kind_&abi.KindDirectIface == 0, top, cgoCheckPointerFail)
    }
    
    const cgoCheckPointerFail = "cgo argument has Go pointer to unpinned Go pointer"
    const cgoResultFail = "cgo result is unpinned Go pointer or points to unpinned Go pointer"
    
    // cgoCheckArg is the real work of cgoCheckPointer. The argument p
    // is either a pointer to the value (of type t), or the value itself,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:47 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  3. src/runtime/pinner.go

    				pinState.setPinned(false)
    			}
    		} else {
    			// unpinning unpinned object, bail out
    			throw("runtime.Pinner: object already unpinned")
    		}
    	}
    	unlock(&span.speciallock)
    	releasem(mp)
    	return true
    }
    
    type pinState struct {
    	bytep   *uint8
    	byteVal uint8
    	mask    uint8
    }
    
    // nosplit, because it's called by isPinned, which is nosplit
    //
    //go:nosplit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 11K bytes
    - Viewed (0)
  4. src/cmd/cgo/doc.go

    The standard C numeric types are available under the names
    C.char, C.schar (signed char), C.uchar (unsigned char),
    C.short, C.ushort (unsigned short), C.int, C.uint (unsigned int),
    C.long, C.ulong (unsigned long), C.longlong (long long),
    C.ulonglong (unsigned long long), C.float, C.double,
    C.complexfloat (complex float), and C.complexdouble (complex double).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 17:12:16 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  5. CHANGELOG.md

        `EventSourceListener.onOpen()`.
     *  Fix: Enforce the max intermediates constraint when using pinned certificates with Conscrypt.
        This impacts Conscrypt when the server's presented certificates form both a trusted-but-unpinned
        chain and an untrusted-but-pinned chain.
     *  Upgrade: [Kotlin 1.6.10][kotlin_1_6_10].
    
    
    ## Version 5.0.0-alpha.3
    
    _2021-11-22_
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 18 01:31:39 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  6. src/runtime/pinner_test.go

    	pinner.Pin(&ifc)
    	if !runtime.IsPinned(unsafe.Pointer(&ifc)) {
    		t.Fatal("not marked as pinned")
    	}
    	if runtime.IsPinned(unsafe.Pointer(o)) {
    		t.Fatal("marked as pinned")
    	}
    	pinner.Unpin()
    	pinner.Pin(ifc)
    	if !runtime.IsPinned(unsafe.Pointer(o)) {
    		t.Fatal("not marked as pinned")
    	}
    	if runtime.IsPinned(unsafe.Pointer(&ifc)) {
    		t.Fatal("marked as pinned")
    	}
    	pinner.Unpin()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 18:36:12 UTC 2023
    - 11K bytes
    - Viewed (0)
  7. cmd/streaming-v4-unsigned.go

    // The s3ChunkedReader returns io.EOF when the final 0-length chunk is read.
    func newUnsignedV4ChunkedReader(req *http.Request, trailer bool) (io.ReadCloser, APIErrorCode) {
    	if trailer {
    		// Discard anything unsigned.
    		req.Trailer = make(http.Header)
    		trailers := req.Header.Values(awsTrailerHeader)
    		for _, key := range trailers {
    			req.Trailer.Add(key, "")
    		}
    	} else {
    		req.Trailer = nil
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat May 06 02:53:12 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/UnsignedInts.java

      }
    
      /**
       * Compares the two specified {@code int} values, treating them as unsigned values between {@code
       * 0} and {@code 2^32 - 1} inclusive.
       *
       * <p><b>Java 8+ users:</b> use {@link Integer#compareUnsigned(int, int)} instead.
       *
       * @param a the first unsigned {@code int} to compare
       * @param b the second unsigned {@code int} to compare
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/primitives/UnsignedInts.java

      }
    
      /**
       * Compares the two specified {@code int} values, treating them as unsigned values between {@code
       * 0} and {@code 2^32 - 1} inclusive.
       *
       * <p><b>Java 8+ users:</b> use {@link Integer#compareUnsigned(int, int)} instead.
       *
       * @param a the first unsigned {@code int} to compare
       * @param b the second unsigned {@code int} to compare
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/testgodefs/testdata/bitfields.go

    /*
    struct bitfields {
        unsigned int B1     :  5;
        unsigned int B2     :  1;
        unsigned int B3     :  1;
        unsigned int B4     :  1;
        unsigned int Short1 : 16; // misaligned on 8 bit boundary
        unsigned int B5     :  1;
        unsigned int B6     :  1;
        unsigned int B7     :  1;
        unsigned int B8     :  1;
        unsigned int B9     :  1;
        unsigned int B10    :  3;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 838 bytes
    - Viewed (0)
Back to top