Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 1,770 for contexto (0.05 seconds)

  1. cmd/iam-object-store.go

    	return p, nil
    }
    
    func (iamOS *IAMObjectStore) loadPolicyDoc(ctx context.Context, policy string, m map[string]PolicyDoc) error {
    	p, err := iamOS.loadPolicy(ctx, policy)
    	if err != nil {
    		return err
    	}
    	m[policy] = p
    	return nil
    }
    
    func (iamOS *IAMObjectStore) loadPolicyDocs(ctx context.Context, m map[string]PolicyDoc) error {
    	ctx, cancel := context.WithCancel(ctx)
    	defer cancel()
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 26.6K bytes
    - Click Count (0)
  2. cmd/storage-rest-server.go

    	if !s.checkID(opts.DiskID) {
    		return nil, grid.NewRemoteErr(errDiskNotFound)
    	}
    	info, err := s.getStorage().DiskInfo(context.Background(), *opts)
    	if err != nil {
    		info.Error = err.Error()
    	}
    	return &info, nil
    }
    
    func (s *storageRESTServer) NSScannerHandler(ctx context.Context, params *nsScannerOptions, out chan<- *nsScannerResp) *grid.RemoteErr {
    	if !s.checkID(params.DiskID) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 45.7K bytes
    - Click Count (0)
  3. cmd/erasure-healing_test.go

    	_, err = er.getDisks()[0].StatVol(t.Context(), bucket)
    	if err != nil {
    		t.Fatal(err)
    	}
    }
    
    // Tests both object and bucket healing.
    func TestHealingVersioned(t *testing.T) {
    	ctx, cancel := context.WithCancel(t.Context())
    	defer cancel()
    
    	obj, fsDirs, err := prepareErasure16(ctx)
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer obj.Shutdown(t.Context())
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 48.5K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

         * build a smaller set of projects but perform other operations in the context of your reactor.
         */
        private List<MavenProject> allProjects;
    
        private MavenProject topLevelProject;
    
        private ProjectDependencyGraph projectDependencyGraph;
    
        private boolean parallel;
    
        /**
         * Plugin context keyed by project ({@link MavenProject#getId()}) and by plugin lookup key
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/plugin/MavenPluginManager.java

    import org.eclipse.aether.repository.RemoteRepository;
    
    /**
     * Provides basic services to manage Maven plugins and their mojos. This component is kept general in its design such
     * that the plugins/mojos can be used in arbitrary contexts. In particular, the mojos can be used for ordinary build
     * plugins as well as special purpose plugins like reports.
     *
     * @since 3.0
     */
    public interface MavenPluginManager {
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 6.6K bytes
    - Click Count (0)
  6. src/main/java/jcifs/http/NtlmServlet.java

    import jcifs.CIFSException;
    import jcifs.Config;
    import jcifs.config.PropertyConfiguration;
    import jcifs.context.BaseContext;
    import jcifs.netbios.UniAddress;
    import jcifs.smb.NtlmPasswordAuthentication;
    import jcifs.smb.SmbAuthException;
    
    /**
     * This servlet may be used with pre-2.3 servlet containers
     * to protect content with NTLM HTTP Authentication. Servlets that
     * extend this abstract base class may be authenticated against an SMB
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.1K bytes
    - Click Count (1)
  7. compat/maven-model/src/main/java/org/apache/maven/model/merge/ModelMerger.java

            mergeModel_Developers(target, source, sourceDominant, context);
            mergeModel_Contributors(target, source, sourceDominant, context);
            mergeModel_IssueManagement(target, source, sourceDominant, context);
            mergeModel_Scm(target, source, sourceDominant, context);
            mergeModel_CiManagement(target, source, sourceDominant, context);
            mergeModel_Prerequisites(target, source, sourceDominant, context);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Apr 03 11:21:39 GMT 2025
    - 99.2K bytes
    - Click Count (0)
  8. docs/ja/docs/tutorial/dependencies/dependencies-with-yield.md

    例えば、<a href="https://docs.python.org/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** は内部的にそれをコンテキストマネージャに変換し、他の関連ツールと組み合わせます。
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 12.3K bytes
    - Click Count (0)
  9. internal/ringbuffer/ring_buffer.go

    		r.writeCond = sync.NewCond(&r.mu)
    	}
    	return r
    }
    
    // WithCancel sets a context to cancel the ring buffer.
    // When the context is canceled, the ring buffer will be closed with the context error.
    // A goroutine will be started and run until the provided context is canceled.
    func (r *RingBuffer) WithCancel(ctx context.Context) *RingBuffer {
    	go func() {
    		<-ctx.Done()
    		r.CloseWithError(ctx.Err())
    	}()
    	return r
    }
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  10. docs/pt/docs/advanced/additional-responses.md

    O **FastAPI** pegará o modelo do Pydantic, gerará o `JSON Schema`, e adicionará no local correto.
    
    O local correto é:
    
    * Na chave `content`, que tem como valor um outro objeto JSON (`dict`) que contém:
        * Uma chave com o media type, como por exemplo `application/json`, que contém como valor um outro objeto JSON, contendo::
            * Uma chave `schema`, que contém como valor o JSON Schema do modelo, sendo este o local correto.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 9.4K bytes
    - Click Count (0)
Back to Top