Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 4,244 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. 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)
  6. 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)
  7. platforms/jvm/ear/src/main/java/org/gradle/plugins/ear/descriptor/internal/DefaultDeploymentDescriptor.java

                for (final Node child : Cast.<List<Node>>uncheckedCast(appNode.children())) {
                    String childLocalName = localNameOf(child);
                    switch (childLocalName) {
                        case "application-name":
    
                            applicationName = child.text();
    
                            break;
                        case "initialize-in-order":
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 19 22:06:51 UTC 2023
    - 15.6K bytes
    - Viewed (0)
  8. platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/junit/AllExceptIgnoredTestRunnerBuilder.java

        @Override
        protected JUnit4Builder junit4Builder() {
            return new FallbackJUnit4Builder();
        }
    
        /**
         * Handles a weird case when there are duplicate JUint 4 jars on the classpath with differing
         * versions. Specifically, when one version is below 4.4 and one is above. This case can occur
         * when a user declares a JUnit dependency on the test classpath while Gradle also loads
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/extensibility/ConventionAwareHelper.java

                MapProperty<Object, Object> asMapProperty = Cast.uncheckedNonnullCast(target);
                DefaultProvider<Map<Object, Object>> convention = new DefaultProvider<>(() -> Cast.uncheckedNonnullCast(mapping.getValue(_convention, _source)));
                asMapProperty.convention(convention);
            } else if (target instanceof HasMultipleValues) {
                HasMultipleValues<Object> asCollectionProperty = Cast.uncheckedNonnullCast(target);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 09:53:33 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/Types.java

                    continue;
                }
    
                TypeVisitResult result = visitor.visitType(type);
    
                switch (result) {
                    case CONTINUE:
                        break;
                    case TERMINATE:
                        return;
                    default:
                        throw new AssertionError("Unexpected result: " + result);
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 3.2K bytes
    - Viewed (0)
Back to top