Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 348 for Draw (0.11 seconds)

  1. tests/test_stream_cancellation.py

        return cancel_scope.cancelled_caught or len(chunks) > 0
    
    
    async def test_raw_stream_cancellation() -> None:
        """Raw streaming endpoint should be cancellable within a reasonable time."""
        cancelled = await _run_asgi_and_cancel(app, "/stream-raw", timeout=3.0)
        # The key assertion: we reached this line at all (didn't hang).
        # cancelled will be True because the infinite generator was interrupted.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 27 18:56:47 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  2. src/main/webapp/js/marked.min.js

    `+n.join(`
    `),$=this.blockquote(f);s[s.length-1]=$,r=r.substring(0,r.length-T.raw.length)+$.raw,i=i.substring(0,i.length-T.text.length)+$.text;break}else if(h?.type==="list"){let T=h,f=T.raw+`
    `+n.join(`
    `),$=this.list(f);s[s.length-1]=$,r=r.substring(0,r.length-h.raw.length)+$.raw,i=i.substring(0,i.length-T.raw.length)+$.raw,n=f.substring(s.at(-1).raw.length).split(`
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:21:57 GMT 2026
    - 41.5K bytes
    - Click Count (0)
  3. tests/sql_builder_test.go

    	type result struct {
    		Name  string
    		Email string
    	}
    
    	var results []result
    	DB.Raw("SELECT name, age FROM users WHERE name = ? or name = ?", user2.Name, user3.Name).Scan(&results)
    	if len(results) != 2 || results[0].Name != user2.Name || results[1].Name != user3.Name {
    		t.Errorf("Raw with scan")
    	}
    
    	rows, _ := DB.Raw("select name, age from users where name = ?", user3.Name).Rows()
    	count := 0
    	for rows.Next() {
    		count++
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Jul 21 02:46:58 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  4. tests/named_argument_test.go

    	var result5 NamedUser
    	if err := DB.Raw("SELECT * FROM named_users WHERE (name1 = @name AND name3 = @name) AND name2 = @name2", map[string]interface{}{"name": "jinzhu-new", "name2": "jinzhu-new2"}).Find(&result5).Error; err != nil {
    		t.Errorf("failed to update with named arg")
    	}
    
    	AssertEqual(t, result5, namedUser)
    
    	var result6 NamedUser
    	if err := DB.Raw(`SELECT * FROM named_users WHERE (name1 = @name
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Tue Dec 21 11:50:00 GMT 2021
    - 2.7K bytes
    - Click Count (0)
  5. tests/chainable_api_test.go

    	tx = tx.Unscoped()
    	if !tx.Statement.Unscoped {
    		t.Fatalf("Unscoped expected to be true")
    	}
    
    	// Raw
    	tx = tx.Raw("SELECT ? as x", 1)
    	if tx.Statement.SQL.Len() == 0 {
    		t.Fatalf("Raw SQL expected to be built")
    	}
    	if len(tx.Statement.Vars) != 1 || tx.Statement.Vars[0] != 1 {
    		t.Fatalf("Raw Vars expected to contain 1, got %v", tx.Statement.Vars)
    	}
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Jan 31 08:39:40 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

        assertThat(hmacSha256(SHA256_KEY).toString())
            .isEqualTo("Hashing.hmacSha256(Key[algorithm=HmacSHA256, format=RAW])");
        assertThat(hmacSha256(keyData).toString())
            .isEqualTo("Hashing.hmacSha256(Key[algorithm=HmacSHA256, format=RAW])");
    
        assertThat(hmacSha512(SHA512_KEY).toString())
            .isEqualTo("Hashing.hmacSha512(Key[algorithm=HmacSHA512, format=RAW])");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 14.2K bytes
    - Click Count (0)
  7. src/main/java/jcifs/ntlmssp/av/AvTimestamp.java

     *
     * @author mbechler
     */
    public class AvTimestamp extends AvPair {
    
        /**
         * Constructs an AvTimestamp from raw byte data
         *
         * @param raw the raw byte data for the timestamp AV pair
         */
        public AvTimestamp(final byte[] raw) {
            super(AvPair.MsvAvTimestamp, raw);
        }
    
        /**
         * Constructs an AvTimestamp with the specified timestamp value
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/SmbNegotiation.java

        /**
         * Constructs an SMB negotiation result.
         *
         * @param request the negotiation request
         * @param response the negotiation response
         * @param negoReqBuffer the raw request buffer
         * @param negoRespBuffer the raw response buffer
         *
         */
        public SmbNegotiation(final SmbNegotiationRequest request, final SmbNegotiationResponse response, final byte[] negoReqBuffer,
                final byte[] negoRespBuffer) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  9. src/test/java/jcifs/spnego/SpnegoTokenTest.java

        void parseSetsMechanismToken() throws IOException {
            TestSpnegoToken t = new TestSpnegoToken();
            byte[] raw = new byte[] { 5, 6 };
            t.parse(raw);
            assertTrue(t.isParsed(), "parse should mark parsed");
            assertArrayEquals(raw, t.getMechanismToken(), "parse should set mechanismToken");
        }
    
        @Test
        @DisplayName("parse throws IOException on null input")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelCacheTag.java

         */
        T fromCache(T data);
    
        /**
         * The tag used to denote raw model data.
         */
        ModelCacheTag<ModelData> RAW = new ModelCacheTag<ModelData>() {
    
            @Override
            public String getName() {
                return "raw";
            }
    
            @Override
            public Class<ModelData> getType() {
                return ModelData.class;
            }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 3.9K bytes
    - Click Count (0)
Back to Top