Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 106 for conditional (0.2 sec)

  1. okhttp/src/test/java/okhttp3/CacheTest.kt

        assertThat(get(url).body.string()).isEqualTo("A")
        assertThat(get(url).body.string()).isEqualTo("B")
      }
    
      /** @return the request with the conditional get headers. */
      private fun assertConditionallyCached(response: MockResponse): RecordedRequest {
        // scenario 1: condition succeeds
        server.enqueue(
          response.newBuilder()
            .body("A")
            .status("HTTP/1.1 200 A-OK")
            .build(),
        )
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 108.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/_gen/ARM64.rules

    ((EQ|NE|LT|LE|GT|GE) (CMPWconst [0] x:(ANDconst [c] y)) yes no) && x.Uses == 1 => ((EQ|NE|LT|LE|GT|GE) (TSTWconst [int32(c)] y) yes no)
    
    // For conditional instructions such as CSET, CSEL.
    ((Equal|NotEqual|LessThan|LessEqual|GreaterThan|GreaterEqual) (CMPconst [0]  z:(AND        x y))) && z.Uses == 1 =>
    	((Equal|NotEqual|LessThan|LessEqual|GreaterThan|GreaterEqual) (TST x y))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 113.1K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/ppc64/asm9.go

    			p.Pc = pc
    			o = c.oplook(p)
    
    			// very large conditional branches
    			if (o.type_ == 16 || o.type_ == 17) && p.To.Target() != nil {
    				otxt = p.To.Target().Pc - pc
    				if otxt < -(1<<15)+10 || otxt >= (1<<15)-10 {
    					// Assemble the instruction with a target not too far to figure out BI and BO fields.
    					// If only the CTR or BI (the CR bit) are tested, the conditional branch can be inverted,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:55:28 UTC 2024
    - 156.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

    // this is not always the case, JAX may trace the program differently based on
    // the shape polymorphism specification, for example, if the program contains
    // a conditional on "x.shape[0] % 2 == 0" that conditional would evaluate to
    // True with x specified as (2*b, ...) and False otherwise. We can revisit
    // this when need arises. See b/295316438 for details.
    class RemoveCustomCallWithShapeAssertion
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/arm64/asm7.go

    	case 57: /* floating point conditional compare */
    		o1 = c.oprrr(p, p.As)
    
    		cond := SpecialOperand(p.From.Offset)
    		if cond < SPOP_EQ || cond > SPOP_NV {
    			c.ctxt.Diag("invalid condition\n%v", p)
    		} else {
    			cond -= SPOP_EQ
    		}
    
    		nzcv := int(p.To.Offset)
    		if nzcv&^0xF != 0 {
    			c.ctxt.Diag("implausible condition\n%v", p)
    		}
    		rf := int(p.Reg)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 201.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go

    				"foo": "baz",
    			},
    			schema: withRule(objectType(map[string]schema.Structural{
    				"foo": stringType,
    			}), `!oldSelf.hasValue() || self.foo == "bar"`),
    		},
    		{
    			name: "object - conditional field",
    			obj: map[string]interface{}{
    				"foo": "bar",
    			},
    			oldObj: map[string]interface{}{
    				"foo": "baz",
    			},
    			schema: withRule(objectType(map[string]schema.Structural{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 17:14:10 UTC 2024
    - 159.9K bytes
    - Viewed (0)
  7. doc/go1.17_spec.html

    The iteration may be controlled by a single condition, a "for" clause, or a "range" clause.
    </p>
    
    <pre class="ebnf">
    ForStmt = "for" [ Condition | ForClause | RangeClause ] Block .
    Condition = Expression .
    </pre>
    
    <h4 id="For_condition">For statements with single condition</h4>
    
    <p>
    In its simplest form, a "for" statement specifies the repeated execution of
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  8. api/maven-api-model/src/main/mdo/maven.mdo

          </codeSegments>
        </class>
        <class>
          <name>Activation</name>
          <version>4.0.0+</version>
          <description>The conditions within the build runtime environment which will trigger the
            automatic inclusion of the build profile. Multiple conditions can be defined, which must
            be all satisfied to activate the profile.
          </description>
          <fields>
            <field>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Apr 23 13:29:46 UTC 2024
    - 115.1K bytes
    - Viewed (0)
  9. src/crypto/internal/nistec/fiat/p521_fiat64.go

    type p521NonMontgomeryDomainFieldElement [9]uint64
    
    // p521CmovznzU64 is a single-word conditional move.
    //
    // Postconditions:
    //
    //	out1 = (if arg1 = 0 then arg2 else arg3)
    //
    // Input Bounds:
    //
    //	arg1: [0x0 ~> 0x1]
    //	arg2: [0x0 ~> 0xffffffffffffffff]
    //	arg3: [0x0 ~> 0xffffffffffffffff]
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 05 21:53:03 UTC 2022
    - 167K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/x86/asm6.go

    		p.As == obj.ARET || p.As == obj.ADUFFCOPY || p.As == obj.ADUFFZERO
    }
    
    // lookForJCC returns the first real instruction starting from p, if that instruction is a conditional
    // jump. Otherwise, nil is returned.
    func lookForJCC(p *obj.Prog) *obj.Prog {
    	// Skip any PCDATA, FUNCDATA or NOP instructions
    	var q *obj.Prog
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 146.9K bytes
    - Viewed (0)
Back to top