Search Options

Results per page
Sort
Preferred Languages
Advance

Results 7891 - 7900 of 8,044 for theo (0.03 sec)

  1. tests/sql_builder_test.go

    	str := stmt.SQL.String()
    
    	if !strings.Contains(str, "rgs.id = user.id") {
    		t.Errorf("The second join condition is over written instead of combining")
    	}
    
    	if !strings.Contains(str, "`users`.`company_id` = `companies`.`id`") && !strings.Contains(str, "\"users\".\"company_id\" = \"companies\".\"id\"") {
    		t.Errorf("The first join condition is over written instead of combining")
    	}
    }
    
    func TestToSQL(t *testing.T) {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SSPContextTest.java

                assertArrayEquals(new ASN1ObjectIdentifier[] { mech1, mech2 }, ctx.getSupportedMechs(), "supported mechs");
    
                // MIC roundtrip: calculate then verify
                byte[] data = new byte[] { 10, 20, 30 };
                byte[] mic = ctx.calculateMIC(data);
                assertNotNull(mic);
                ctx.verifyMIC(data, mic); // should not throw
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  3. docs/pt/docs/how-to/custom-request-and-route.md

    /// tip | Dica
    
    Para resolver esse mesmo problema, é provavelmente muito mais fácil usar o `body` em um manipulador personalizado para `RequestValidationError` ([Tratando Erros](../tutorial/handling-errors.md#use-the-requestvalidationerror-body){.internal-link target=_blank}).
    
    Mas esse exemplo ainda é valido e mostra como interagir com os componentes internos.
    
    ///
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/pac/kerberos/KerberosPacAuthDataTest.java

                new KerberosPacAuthData(noBufPac, keys);
            });
            assertTrue(e.getMessage().contains("PAC"));
        }
    
        // Test getPac() returns the Pac object
        @Test
        void testGetPac() throws PACDecodingException {
            byte[] keyBytes = new byte[32];
            KerberosKey kdcKey = new KerberosKey(null, keyBytes, PacSignature.HMAC_SHA1_96_AES256, 1);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/pac/PacMacTest.java

    import javax.crypto.spec.SecretKeySpec;
    import javax.security.auth.kerberos.KerberosKey;
    import javax.security.auth.kerberos.KerberosPrincipal;
    
    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for the PacMac class.
     */
    class PacMacTest {
    
        private static final byte[] TEST_DATA = "test data".getBytes();
        private static final KerberosPrincipal TEST_PRINCIPAL = new KerberosPrincipal("test@REALM");
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java

            CIFSContext ctx = mock(CIFSContext.class);
            SmbTreeConnectionTrace delegate = Mockito.spy(new SmbTreeConnectionTrace(ctx));
    
            // Act: create wrapper using delegate, then acquire and release once
            SmbTreeConnectionTrace wrapper = new SmbTreeConnectionTrace(delegate);
            wrapper.acquire();
            wrapper.release();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

        void testToString() {
            SmbResourceLocatorImpl l = locator("smb://server/share");
            String s = l.toString();
            assertTrue(s.startsWith("smb://server/share"));
            // The toString() format may vary, just check it includes the URL
            assertNotNull(s);
        }
    
        @Test
        @DisplayName("updateType overrides computed type until changed")
        void testUpdateType() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/SmbComTransactionTest.java

        void testNextElementFirstCall() {
            Object element = transaction.nextElement();
            assertSame(transaction, element, "First nextElement should return the transaction itself");
        }
    
        @Test
        @DisplayName("Test nextElement() changes command on second call")
        void testNextElementSecondCall() {
            // First call - primary
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  9. docs/ja/docs/index.md

    ---
    
    "_私は**FastAPI**にワクワクしています。 めちゃくちゃ楽しいです!_"
    
    <div style="text-align: right; margin-right: 10%;">Brian Okken - <strong><a href="https://pythonbytes.fm/episodes/show/123/time-to-right-the-py-wrongs?time_in_sec=855" target="_blank">Python Bytes</a> podcast host</strong> <a href="https://x.com/brianokken/status/1112220079972728832" target="_blank"><small>(ref)</small></a></div>
    
    ---
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 21.3K bytes
    - Viewed (0)
  10. statement.go

    	}
    }
    
    // BuildCondition build condition
    func (stmt *Statement) BuildCondition(query interface{}, args ...interface{}) []clause.Expression {
    	if s, ok := query.(string); ok {
    		// if it is a number, then treats it as primary key
    		if _, err := strconv.Atoi(s); err != nil {
    			if s == "" && len(args) == 0 {
    				return nil
    			}
    
    			if len(args) == 0 || (len(args) > 0 && strings.Contains(s, "?")) {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 20.8K bytes
    - Viewed (0)
Back to top