Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 629 for type2 (0.32 seconds)

  1. internal/mountinfo/mountinfo_linux_test.go

    // and success cases.
    func TestCrossDeviceMountPaths(t *testing.T) {
    	successCase := `/dev/0 /path/to/0/1 type0 flags 0 0
    		/dev/1    /path/to/1   type1	flags 1 1
    		/dev/2 /path/to/1/2 type2 flags,1,2=3 2 2
                    /dev/3 /path/to/1.1 type3 flags,1,2=3 3 3
    		`
    	var err error
    	dir := t.TempDir()
    	mountsPath := filepath.Join(dir, "mounts")
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 7.3K bytes
    - Click Count (0)
  2. src/test/java/jcifs/ntlmssp/av/AvPairTest.java

            // Test with another type and empty raw data
            int type2 = AvPair.MsvAvEOL;
            byte[] raw2 = new byte[] {};
            AvPair avPair2 = new AvPair(type2, raw2);
    
            assertEquals(type2, avPair2.getType(), "Type should match the constructor argument for empty raw data.");
            assertArrayEquals(raw2, avPair2.getRaw(), "Raw data should match the constructor argument for empty raw data.");
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3K bytes
    - Click Count (0)
  3. src/main/java/jcifs/http/NtlmSsp.java

                    final Type1Message type1 = new Type1Message(src);
                    final Type2Message type2 = new Type2Message(tc, type1, challenge, null);
                    msg = new String(Base64.encode(type2.toByteArray()), "US-ASCII");
                    resp.setHeader("WWW-Authenticate", "NTLM " + msg);
                } else if (src[8] == 3) {
                    final Type3Message type3 = new Type3Message(src);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb1/http/NtlmSsp.java

                if (src[8] == 1) {
                    final Type1Message type1 = new Type1Message(src);
                    final Type2Message type2 = new Type2Message(type1, challenge, null);
                    msg = Base64.encode(type2.toByteArray());
                    resp.setHeader("WWW-Authenticate", "NTLM " + msg);
                } else if (src[8] == 3) {
                    final Type3Message type3 = new Type3Message(src);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  5. api/maven-api-di/src/main/java/org/apache/maven/api/di/Typed.java

     * <p>
     * Example usage:
     * <pre>
     * {@literal @}Typed(ServiceImpl.class)
     * public class ServiceImpl implements Service {
     *     // Implementation
     * }
     * </pre>
     *
     * @since 4.0.0
     */
    @Target({FIELD, METHOD, TYPE})
    @Retention(RUNTIME)
    @Documented
    public @interface Typed {
        /**
         * Specifies the types that should be considered for dependency injection.
         * <p>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jan 30 23:28:59 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  6. docs/de/docs/advanced/advanced-python-types.md

    # Fortgeschrittene Python-Typen { #advanced-python-types }
    
    Hier sind einige zusätzliche Ideen, die beim Arbeiten mit Python-Typen nützlich sein könnten.
    
    ## `Union` oder `Optional` verwenden { #using-union-or-optional }
    
    Wenn Ihr Code aus irgendeinem Grund nicht `|` verwenden kann, z. B. wenn es nicht in einer Typannotation ist, sondern in etwas wie `response_model=`, können Sie anstelle des senkrechten Strichs (`|`) `Union` aus `typing` verwenden.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 07:57:30 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  7. fastapi/types.py

    import types
    from collections.abc import Callable
    from enum import Enum
    from typing import Any, TypeVar, Union
    
    from pydantic import BaseModel
    from pydantic.main import IncEx as IncEx
    
    DecoratedCallable = TypeVar("DecoratedCallable", bound=Callable[..., Any])
    UnionType = getattr(types, "UnionType", Union)
    ModelNameMap = dict[type[BaseModel] | type[Enum], str]
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:41:21 GMT 2026
    - 438 bytes
    - Click Count (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/Type.java

         * Artifact type name for a JAR file containing test sources.
         */
        String TEST_JAVA_SOURCE = "test-java-source";
    
        /**
         * Returns the dependency type id.
         * The id uniquely identifies this <i>dependency type</i>.
         *
         * @return the id of this type, never {@code null}.
         */
        @Nonnull
        @Override
        String id();
    
        /**
         * Returns the dependency type language.
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  9. docs/de/docs/tutorial/extra-data-types.md

    * Sie können alle gültigen Pydantic-Datentypen hier überprüfen: [Pydantic-Datentypen](https://docs.pydantic.dev/latest/usage/types/types/).
    
    ## Beispiel { #example }
    
    Hier ist ein Beispiel für eine *Pfadoperation* mit Parametern, die einige der oben genannten Typen verwenden.
    
    {* ../../docs_src/extra_data_types/tutorial001_an_py310.py hl[1,3,12:16] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  10. docs/en/docs/advanced/advanced-python-types.md

    # Advanced Python Types { #advanced-python-types }
    
    Here are some additional ideas that might be useful when working with Python types.
    
    ## Using `Union` or `Optional` { #using-union-or-optional }
    
    If your code for some reason can't use `|`, for example if it's not in a type annotation but in something like `response_model=`, instead of using the vertical bar (`|`) you can use `Union` from `typing`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:32:12 GMT 2026
    - 2K bytes
    - Click Count (0)
Back to Top