- Sort Score
- Num 10 results
- Language All
Results 841 - 850 of 1,832 for context_ (0.18 seconds)
-
docs/zh/docs/tutorial/dependencies/dependencies-with-yield.md
## 上下文管理器 { #context-managers } ### 什么是“上下文管理器” { #what-are-context-managers } “上下文管理器”是你可以在 `with` 语句中使用的任意 Python 对象。 例如,[你可以用 `with` 来读取文件](https://docs.python.org/3/tutorial/inputoutput.html#reading-and-writing-files): ```Python with open("./somefile.txt") as f: contents = f.read() print(contents) ``` 在底层,`open("./somefile.txt")` 会创建一个“上下文管理器”对象。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 12.1K bytes - Click Count (0) -
build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/JdkDownloadPluginFuncTest.groovy
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Sep 27 19:29:10 GMT 2021 - 10.5K bytes - Click Count (0) -
src/main/java/org/codelibs/core/lang/ClassLoaderUtil.java
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 7.6K bytes - Click Count (0) -
cmd/erasure-healing-common.go
// checkObjectWithAllParts sets partsMetadata and onlineDisks when xl.meta is inexistant/corrupted or outdated // it also checks if the status of each part (corrupted, missing, ok) in each drive func checkObjectWithAllParts(ctx context.Context, onlineDisks []StorageAPI, partsMetadata []FileInfo, errs []error, latestMeta FileInfo, filterByETag bool, bucket, object string, scanMode madmin.HealScanMode, ) (dataErrsByDisk map[int][]int, dataErrsByPart map[int][]int) {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 12K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/platform/Platform.kt
// Oracle JDK. Note that we don't support HTTP/2 or other nice features on Robolectric. val sslContextClass = Class.forName("sun.security.ssl.SSLContextImpl") val context = readFieldOrNull(sslSocketFactory, sslContextClass, "context") ?: return null readFieldOrNull(context, X509TrustManager::class.java, "trustManager") } catch (e: ClassNotFoundException) { null } catch (e: RuntimeException) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 8.1K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbFileTest.java
@Test public void testConstructorWithContextAndName() throws Exception { // Test constructor that takes a context SmbFile and a name SmbFile context = new SmbFile("smb1://server/share/"); String name = "file.txt"; SmbFile smbFile = new SmbFile(context, name); assertEquals("smb1://server/share/file.txt", smbFile.getCanonicalPath()); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.5K bytes - Click Count (0) -
cmd/bitrot-streaming.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "bytes" "context" "errors" "hash" "io" "sync" xhttp "github.com/minio/minio/internal/http" "github.com/minio/minio/internal/ioutil" "github.com/minio/minio/internal/ringbuffer" )
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Jan 17 19:19:30 GMT 2025 - 6.2K bytes - Click Count (0) -
tests/test_additional_responses_response_class.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 3.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/SetsFilterSortedSetTest.java
@NullUnmarked public final class SetsFilterSortedSetTest extends AbstractFilteredSortedSetTest<SortedSet<Integer>> { @Override SortedSet<Integer> createUnfiltered(Iterable<Integer> contents) { TreeSet<Integer> result = Sets.newTreeSet(contents); // we have to make the result not Navigable return new ForwardingSortedSet<Integer>() { @Override protected SortedSet<Integer> delegate() { return result;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 1.5K bytes - Click Count (0) -
schema/schema.go
} else { logger.Default.Warn(context.Background(), "In model %v, the hook function `%v(*gorm.DB) error` has an incorrect parameter type. The expected parameter type is `%v`, but the provided type is `%v`.", schema, cbName, expectedPkgPath, inVarPkg) // PASS } default:Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:35:55 GMT 2026 - 13.3K bytes - Click Count (0)