Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 5,327 for cas3 (0.05 sec)

  1. src/runtime/runtime1.go

    	}
    
    	var z uint32
    	z = 1
    	if !atomic.Cas(&z, 1, 2) {
    		throw("cas1")
    	}
    	if z != 2 {
    		throw("cas2")
    	}
    
    	z = 4
    	if atomic.Cas(&z, 5, 6) {
    		throw("cas3")
    	}
    	if z != 4 {
    		throw("cas4")
    	}
    
    	z = 0xffffffff
    	if !atomic.Cas(&z, 0xffffffff, 0xfffffffe) {
    		throw("cas5")
    	}
    	if z != 0xfffffffe {
    		throw("cas6")
    	}
    
    	m = [4]byte{1, 1, 1, 1}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  2. platforms/core-runtime/stdlib-java-extensions/src/main/java/org/gradle/internal/Cast.java

         *
         * @param outputType The type to cast the input to
         * @param object The object to be cast (must not be {@code null})
         * @param <O> The type to be cast to
         * @param <I> The type of the object to be vast
         * @return The input object, cast to the output type
         */
        public static <O, I> O cast(Class<O> outputType, I object) {
            try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/Case.kt

    package okhttp3.internal.http2.hpackjson
    
    import okhttp3.internal.http2.Header
    import okio.ByteString
    
    /**
     * Representation of an individual case (set of headers and wire format). There are many cases for a
     * single story.  This class is used reflectively with Moshi to parse stories.
     */
    data class Case(
      val seqno: Int = 0,
      val wire: ByteString? = null,
      val headers: List<Map<String, String>>,
    ) : Cloneable {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Dec 23 10:26:25 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  4. src/runtime/select.go

    		} else if cas.elem != nil {
    			raceWriteObjectPC(c.elemtype, cas.elem, casePC(casi), chanrecvpc)
    		}
    	}
    	if msanenabled {
    		if casi < nsends {
    			msanread(cas.elem, c.elemtype.Size_)
    		} else if cas.elem != nil {
    			msanwrite(cas.elem, c.elemtype.Size_)
    		}
    	}
    	if asanenabled {
    		if casi < nsends {
    			asanread(cas.elem, c.elemtype.Size_)
    		} else if cas.elem != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 13 21:36:04 UTC 2024
    - 15K bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/Cast.kt

    Paul Merlin <******@****.***> 1690890212 +0200
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 773 bytes
    - Viewed (0)
  6. src/internal/runtime/atomic/atomic_arm.s

    TEXT ·LoadAcquintptr(SB),NOSPLIT|NOFRAME,$0-8
    	B 	·Load(SB)
    
    TEXT ·Casint32(SB),NOSPLIT,$0-13
    	B	·Cas(SB)
    
    TEXT ·Casint64(SB),NOSPLIT,$-4-21
    	B	·Cas64(SB)
    
    TEXT ·Casuintptr(SB),NOSPLIT,$0-13
    	B	·Cas(SB)
    
    TEXT ·Casp1(SB),NOSPLIT,$0-13
    	B	·Cas(SB)
    
    TEXT ·CasRel(SB),NOSPLIT,$0-13
    	B	·Cas(SB)
    
    TEXT ·Loadint32(SB),NOSPLIT,$0-8
    	B	·Load(SB)
    
    TEXT ·Loadint64(SB),NOSPLIT,$-4-12
    	B	·Load64(SB)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/walk/select.go

    	ncas := len(cases)
    	sellineno := base.Pos
    
    	// optimization: zero-case select
    	if ncas == 0 {
    		return []ir.Node{mkcallstmt("block")}
    	}
    
    	// optimization: one-case select: single op.
    	if ncas == 1 {
    		cas := cases[0]
    		ir.SetPos(cas)
    		l := cas.Init()
    		if cas.Comm != nil { // not default:
    			n := cas.Comm
    			l = append(l, ir.TakeInit(n)...)
    			switch n.Op() {
    			default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 01:53:41 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  8. src/html/template/content.go

    		switch s := indirect(args[0]).(type) {
    		case string:
    			return s, contentTypePlain
    		case CSS:
    			return string(s), contentTypeCSS
    		case HTML:
    			return string(s), contentTypeHTML
    		case HTMLAttr:
    			return string(s), contentTypeHTMLAttr
    		case JS:
    			return string(s), contentTypeJS
    		case JSStr:
    			return string(s), contentTypeJSStr
    		case URL:
    			return string(s), contentTypeURL
    		case Srcset:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 01 14:30:25 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/api/internal/attributes/DefaultImmutableAttributes.java

            // 1) Both attributes are strongly typed and match, usually the case if both are sourced from the local build
            // 2) Both attributes are desugared, usually the case if both are sourced from published metadata
            if (otherAttributeType.isAssignableFrom(attribute.getType())) {
                return Cast.uncheckedCast(get());
            }
    
            // Attempt to coerce myself into the other attribute's type
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 12:57:50 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/arm64/anames.go

    	"BLO",
    	"BLS",
    	"BLT",
    	"BMI",
    	"BNE",
    	"BPL",
    	"BRK",
    	"BVC",
    	"BVS",
    	"CASAD",
    	"CASALB",
    	"CASALD",
    	"CASALH",
    	"CASALW",
    	"CASAW",
    	"CASB",
    	"CASD",
    	"CASH",
    	"CASLD",
    	"CASLW",
    	"CASPD",
    	"CASPW",
    	"CASW",
    	"CBNZ",
    	"CBNZW",
    	"CBZ",
    	"CBZW",
    	"CCMN",
    	"CCMNW",
    	"CCMP",
    	"CCMPW",
    	"CINC",
    	"CINCW",
    	"CINV",
    	"CINVW",
    	"CLREX",
    	"CLS",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 18 01:40:37 UTC 2023
    - 5.4K bytes
    - Viewed (0)
Back to top