Search Options

Results per page
Sort
Preferred Languages
Advance

Results 681 - 690 of 1,339 for contextos (0.23 sec)

  1. docs/zh/docs/tutorial/dependencies/dependencies-with-yield.md

    例如,<a href="https://docs.python.org/zh-cn/3/tutorial/inputoutput.html#reading-and-writing-files" class="external-link" target="_blank">你可以使用`with`读取文件</a>:
    
    ```Python
    with open("./somefile.txt") as f:
        contents = f.read()
        print(contents)
    ```
    
    在底层,`open("./somefile.txt")`创建了一个被称为"上下文管理器"的对象。
    
    当 `with` 代码块结束时,它会确保关闭文件,即使发生了异常也是如此。
    
    当你使用 `yield` 创建一个依赖项时,**FastAPI** 会在内部将其转换为上下文管理器,并与其他相关工具结合使用。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/create/CreateContextResponse.java

     */
    package jcifs.internal.smb2.create;
    
    
    import jcifs.Decodable;
    
    
    /**
     * @author mbechler
     *
     */
    public interface CreateContextResponse extends Decodable {
    
        /**
         * @return context name
         */
        byte[] getName ();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1004 bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/nego/NegotiateContextRequest.java

    package jcifs.internal.smb2.nego;
    
    
    import jcifs.Encodable;
    
    
    /**
     * @author mbechler
     *
     */
    public interface NegotiateContextRequest extends Encodable {
    
        /**
         * 
         * @return context type
         */
        int getContextType ();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1016 bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/nego/NegotiateContextResponse.java

    package jcifs.internal.smb2.nego;
    
    
    import jcifs.Decodable;
    
    
    /**
     * @author mbechler
     *
     */
    public interface NegotiateContextResponse extends Decodable {
    
        /**
         * 
         * @return context type
         */
        int getContextType ();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1017 bytes
    - Viewed (0)
  5. okhttp-testing-support/src/main/kotlin/okhttp3/SimpleProvider.kt

    import org.junit.jupiter.params.provider.Arguments
    import org.junit.jupiter.params.provider.ArgumentsProvider
    
    abstract class SimpleProvider : ArgumentsProvider {
      override fun provideArguments(context: ExtensionContext) = arguments().map { Arguments.of(it) }.stream()
    
      @Throws(Exception::class)
      abstract fun arguments(): List<Any>
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/MoreFiles.java

       * possible for a directory to be replaced with a symbolic link between checking if the file is a
       * directory and actually reading the contents of that directory.
       *
       * <p>If the {@link Path} passed to one of the traversal methods does not exist or is not a
       * directory, no exception will be thrown and the returned {@link Iterable} will contain a single
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 35K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/MoreFiles.java

       * possible for a directory to be replaced with a symbolic link between checking if the file is a
       * directory and actually reading the contents of that directory.
       *
       * <p>If the {@link Path} passed to one of the traversal methods does not exist or is not a
       * directory, no exception will be thrown and the returned {@link Iterable} will contain a single
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  8. internal/config/storageclass/storage-class.go

    		cfg.inlineBlock = 128 * humanize.KiByte
    	}
    
    	cfg.initialized = true
    
    	return cfg, nil
    }
    
    func configLogOnceIf(ctx context.Context, err error, id string, errKind ...interface{}) {
    	logger.LogOnceIf(ctx, "config", err, id, errKind...)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  9. istioctl/pkg/tag/generate.go

    	// If true, the revision tag will not be affected by the installer.
    	UserManaged bool
    }
    
    // Generate generates the manifests for a revision tag pointed the given revision.
    func Generate(ctx context.Context, client kube.Client, opts *GenerateOptions, istioNS string) (string, error) {
    	// abort if there exists a revision with the target tag name
    	revWebhookCollisions, err := GetWebhooksWithRevision(ctx, client.Kube(), opts.Tag)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. cni/pkg/repair/repaircontroller.go

    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package repair
    
    import (
    	"context"
    	"fmt"
    	"strings"
    
    	corev1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    
    	"istio.io/istio/cni/pkg/config"
    	"istio.io/istio/cni/pkg/plugin"
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Feb 10 00:31:55 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top