Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 4,125 for Imports (0.06 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt

     */
    package okhttp3
    
    import java.io.File
    import java.io.FileDescriptor
    import java.io.FileInputStream
    import java.io.IOException
    import okhttp3.internal.checkOffsetAndCount
    import okhttp3.internal.chooseCharset
    import okio.BufferedSink
    import okio.ByteString
    import okio.FileSystem
    import okio.HashingSink
    import okio.Path
    import okio.blackholeSink
    import okio.buffer
    import okio.source
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Oct 07 14:16:29 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  2. docs/en/docs/tutorial/bigger-applications.md

    And then we do the same for the module `users`.
    
    We could also import them like:
    
    ```Python
    from app.routers import items, users
    ```
    
    /// info
    
    The first version is a "relative import":
    
    ```Python
    from .routers import items, users
    ```
    
    The second version is an "absolute import":
    
    ```Python
    from app.routers import items, users
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 19.2K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt

     */
    package okhttp3
    
    import java.io.Closeable
    import java.io.IOException
    import java.io.InputStream
    import java.io.InputStreamReader
    import java.io.Reader
    import java.nio.charset.Charset
    import okhttp3.internal.charsetOrUtf8
    import okhttp3.internal.chooseCharset
    import okhttp3.internal.closeQuietly
    import okhttp3.internal.readBomAsCharset
    import okio.Buffer
    import okio.BufferedSource
    import okio.ByteString
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue May 27 14:51:25 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MediaType.kt

          }
    
        @JvmName("-deprecated_get")
        @Deprecated(
          message = "moved to extension function",
          replaceWith =
            ReplaceWith(
              expression = "mediaType.toMediaType()",
              imports = ["okhttp3.MediaType.Companion.toMediaType"],
            ),
          level = DeprecationLevel.ERROR,
        )
        fun get(mediaType: String): MediaType = mediaType.toMediaType()
    
        @JvmName("-deprecated_parse")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 5.9K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/io/Files.java

    import com.google.errorprone.annotations.InlineMe;
    import com.google.j2objc.annotations.J2ObjCIncompatible;
    import java.io.BufferedReader;
    import java.io.BufferedWriter;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileNotFoundException;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.InputStreamReader;
    import java.io.OutputStream;
    import java.io.OutputStreamWriter;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jan 05 22:13:21 GMT 2026
    - 32.8K bytes
    - Click Count (0)
  6. src/cmd/api/main_test.go

    			for k, v := range pkg.ImportMap {
    				importMap[pkg.Dir][k] = v
    			}
    		}
    
    		slices.Sort(stdPackages)
    		imports = listImports{
    			stdPackages: stdPackages,
    			importMap:   importMap,
    			importDir:   importDir,
    		}
    		imports, _ = listCache.LoadOrStore(name, imports)
    	}
    
    	li := imports.(listImports)
    	w.stdPackages = li.stdPackages
    	w.importDir = li.importDir
    	w.importMap = li.importMap
    }
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Mar 02 13:20:41 GMT 2026
    - 31.4K bytes
    - Click Count (0)
  7. docs/en/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md

    Since FastAPI 0.119.0, there's also partial support for Pydantic v1 from inside of Pydantic v2, to facilitate the migration to v2.
    
    So, you could upgrade Pydantic to the latest version 2, and change the imports to use the `pydantic.v1` submodule, and in many cases it would just work.
    
    {* ../../docs_src/pydantic_v1_in_v2/tutorial002_an_py310.py hl[2,5,15] *}
    
    /// warning
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleUserManualPlugin.java

    import org.gradle.api.provider.Provider;
    import org.gradle.api.tasks.PathSensitivity;
    import org.gradle.api.tasks.SourceSetContainer;
    import org.gradle.api.tasks.Sync;
    import org.gradle.api.tasks.TaskContainer;
    import org.gradle.api.tasks.TaskInputs;
    import org.gradle.api.tasks.TaskProvider;
    import org.gradle.language.base.plugins.LifecycleBasePlugin;
    import org.ysb33r.grolifant.api.core.jvm.ExecutionMode;
    
    import java.util.ArrayList;
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 12 22:33:18 GMT 2026
    - 17.8K bytes
    - Click Count (0)
  9. docs/en/docs/tutorial/debugging.md

    <div class="termy">
    
    ```console
    $ python myapp.py
    ```
    
    </div>
    
    but is not called when another file imports it, like in:
    
    ```Python
    from myapp import app
    ```
    
    #### More details { #more-details }
    
    Let's say your file is named `myapp.py`.
    
    If you run it with:
    
    <div class="termy">
    
    ```console
    $ python myapp.py
    ```
    
    </div>
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  10. CONTRIBUTING.md

      patches should only highlight the actual difference, not being disturbed by any formatting issues:
      + Only use spaces for indentation.
      + Create minimal diffs - disable on save actions like reformat source code or organize imports.
        If you feel the source code should be reformatted, create a separate PR for this change.
      + Check for unnecessary whitespace with `git diff --check` before committing.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Jun 07 09:55:33 GMT 2025
    - 4.2K bytes
    - Click Count (0)
Back to Top