Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 110 for mixins (0.04 seconds)

  1. fastapi/_compat/v2.py

        return get_model_fields(model)  # type: ignore[return-value]
    
    
    # Duplicate of several schema functions from Pydantic v1 to make them compatible with
    # Pydantic v2 and allow mixing the models
    
    TypeModelOrEnum = Union[type["BaseModel"], type[Enum]]
    TypeModelSet = set[TypeModelOrEnum]
    
    
    def normalize_name(name: str) -> str:
        return re.sub(r"[^a-zA-Z0-9.\-_]", "_", name)
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 19.1K bytes
    - Click Count (0)
  2. src/main/java/jcifs/dcerpc/msrpc/srvsvc.java

            public int msecs;
            /**
             * The current hour (0-23).
             */
            public int hours;
            /**
             * The current minute (0-59).
             */
            public int mins;
            /**
             * The current second (0-59).
             */
            public int secs;
            /**
             * The current hundredth of a second (0-99).
             */
            public int hunds;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 27K bytes
    - Click Count (0)
  3. src/test/java/jcifs/util/PathValidatorTest.java

                // Control character will be caught in strict mode
                strictValidator.validatePath("//server\u0001/share");
            });
    
            // Note: Proper UNC validation would require fixing the normalization to preserve \\
            // for UNC paths. Current implementation can't distinguish UNC paths after normalization.
        }
    
        @Test
        public void testInvalidUncServerName() throws Exception {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 14.6K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/platform/Platform.kt

        return try {
          // Attempt to get the trust manager from an OpenJDK socket factory. We attempt this on all
          // platforms in order to support Robolectric, which mixes classes from both Android and the
          // Oracle JDK. Note that we don't support HTTP/2 or other nice features on Robolectric.
          val sslContextClass = Class.forName("sun.security.ssl.SSLContextImpl")
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jul 28 07:33:49 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  5. docs/fr/docs/async.md

    Au final, dans les deux situations, il est fort probable que **FastAPI** soit tout de même [plus rapide](index.md#performance){.internal-link target=_blank} que (ou au moins de vitesse égale à) votre framework précédent.
    
    ### Dépendances
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 09:56:21 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  6. src/bytes/buffer_test.go

    		if err := recover(); err != ErrTooLarge {
    			t.Errorf("after too-large Grow, recover() = %v; want %v", err, ErrTooLarge)
    		}
    	}()
    
    	buf := NewBuffer(make([]byte, 1))
    	const maxInt = int(^uint(0) >> 1)
    	buf.Grow(maxInt)
    }
    
    // Was a bug: used to give EOF reading empty slice at EOF.
    func TestReadEmptyAtEOF(t *testing.T) {
    	b := new(Buffer)
    	slice := make([]byte, 0)
    	n, err := b.Read(slice)
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Nov 14 19:01:17 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  7. docs/fr/docs/advanced/additional-responses.md

    {* ../../docs_src/additional_responses/tutorial002.py hl[19:24,28] *}
    
    /// note | Remarque
    
    Notez que vous devez retourner l'image en utilisant directement un `FileResponse`.
    
    ///
    
    /// info
    
    À moins que vous ne spécifiiez explicitement un type de média différent dans votre paramètre `responses`, FastAPI supposera que la réponse a le même type de média que la classe de réponse principale (par défaut `application/json`).
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Nov 09 16:39:20 GMT 2024
    - 9.5K bytes
    - Click Count (0)
  8. SECURITY.md

    `ModelServer` collates all computation graphs exposed to it (from multiple
    `SavedModel`) and executes them in parallel on available executors. Running
    TensorFlow in a multitenant design mixes the risks described above with the
    inherent ones from multitenant configurations. The primary areas of concern are
    tenant isolation, resource allocation, model sharing and hardware attacks.
    
    ### Tenant isolation
    
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Wed Oct 16 16:10:43 GMT 2024
    - 9.6K bytes
    - Click Count (0)
  9. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

    import java.util.Locale;
    import java.util.Objects;
    import java.util.Properties;
    
    /**
     * <p>
     * Generic implementation of version comparison.
     * </p>
     * <p>
     * Features:
     * <ul>
     * <li>Mixing of '<code>-</code>' (hyphen) and '<code>.</code>' (dot) separators,</li>
     * <li>Transition between characters and digits also constitutes a separator:
     *     <code>1.0alpha1 =&gt; [1, [alpha, 1]]</code></li>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 26.4K bytes
    - Click Count (0)
  10. src/bytes/bytes_test.go

    				t.Errorf("%s#%d got %q want %q", prefix, i, err, tt.errStr)
    			}
    		}
    	}
    
    	const maxInt = int(^uint(0) >> 1)
    
    	runTestCases("", []testCase{
    		0: {"--", -2147483647, "negative"},
    		1: {"", maxInt, ""},
    		2: {"-", 10, ""},
    		3: {"gopher", 0, ""},
    		4: {"-", -1, "negative"},
    		5: {"--", -102, "negative"},
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Dec 23 23:54:14 GMT 2025
    - 62.9K bytes
    - Click Count (0)
Back to Top