- Sort Score
- Num 10 results
- Language All
Results 1261 - 1270 of 1,829 for content2 (0.05 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) -
src/main/java/org/codelibs/fess/helper/ThemeHelper.java
throw new ThemeException("Theme name is empty: " + artifact); } return themeName; } /** * Recursively deletes a directory and all its contents. * Does not throw exceptions, only logs warnings if deletion fails. * * @param dir the directory to delete */ protected void closeQuietly(final Path dir) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 7.1K bytes - Click Count (0) -
internal/mountinfo/mountinfo_linux.go
return fmt.Errorf(msg, path, crossMounts) } return nil } // readProcMounts reads the given mountFilePath (normally /proc/mounts) and produces a hash // of the contents. If the out argument is not nil, this fills it with MountPoint structs. func readProcMounts(mountFilePath string) (mountInfos, error) { file, err := os.Open(mountFilePath) if err != nil { return nil, err }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 4.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/SMBProtocolDecodingExceptionTest.java
// Access common Throwable methods to exercise paths without touching the cause assertNotNull(ex.toString(), "toString should be non-null"); ex.getMessage(); // don't assert content to avoid implementation assumptions // Verify no interactions happened with the mocked cause during construction/access verifyNoInteractions(mockCause); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.1K bytes - Click Count (0) -
docs/es/docs/tutorial/dependencies/dependencies-with-yield.md
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 13.3K bytes - Click Count (0) -
okhttp-sse/src/main/kotlin/okhttp3/sse/internal/RealEventSource.kt
return } val body = response.body if (!body.isEventStream()) { listener.onFailure( this, IllegalStateException("Invalid content-type: ${body.contentType()}"), response, ) return } // This is a long-lived response. Cancel full-call timeouts. call?.timeout()?.cancel()Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Oct 03 07:51:20 GMT 2025 - 3.2K bytes - Click Count (0) -
src/main/java/org/codelibs/core/jar/JarFileUtil.java
try { return new JarFile(file); } catch (final IOException e) { throw new IORuntimeException(e); } } /** * Returns an input stream to read the contents of the specified JAR file entry. * * @param file the JAR file (must not be {@literal null}) * @param entry the JAR file entry (must not be {@literal null}) * @return the input stream to read the entryCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 4.9K bytes - Click Count (0) -
cmd/object-api-getobjectinfo_test.go
// This bucket is used for testing getObjectInfo operations. err := obj.MakeBucket(context.Background(), "test-getobjectinfo", MakeBucketOptions{}) if err != nil { t.Fatalf("%s : %s", instanceType, err.Error()) } opts := ObjectOptions{}
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Dec 23 15:46:00 GMT 2022 - 5.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/ArrayListMultimap.java
* MultimapBuilder.hashKeys().arrayListValues().build(multimap)}, which provides more control over * the underlying data structure. * * @param multimap the multimap whose contents are copied to this multimap */ public static <K extends @Nullable Object, V extends @Nullable Object> ArrayListMultimap<K, V> create(Multimap<? extends K, ? extends V> multimap) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 05 23:15:58 GMT 2025 - 6.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java
import java.io.Serializable; import java.util.Map; import org.jspecify.annotations.NonNull; import org.jspecify.annotations.Nullable; /** * A {@link ClassToInstanceMap} whose contents will never change, with many other important * properties detailed at {@link ImmutableCollection}. * * @author Kevin Bourrillion * @since 2.0 */ @Immutable(containerOf = "B") @GwtIncompatibleCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 7K bytes - Click Count (0)