Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 291 - 300 of 1,241 for Contexto (0.05 seconds)

  1. src/main/java/org/codelibs/core/naming/InitialContextUtil.java

        /**
         * Creates and returns an initial context.
         *
         * @return the initial context
         */
        public static InitialContext create() {
            try {
                return new InitialContext();
            } catch (final NamingException ex) {
                throw new NamingRuntimeException(ex);
            }
        }
    
        /**
         * Creates and returns an initial context using the specified environment.
         *
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  2. src/main/java/jcifs/context/SingletonContext.java

            }
            INSTANCE = new SingletonContext(p);
        }
    
        /**
         * Get singleton context
         *
         * The singleton context will use system properties for configuration as well as values specified in a file
         * specified through this <code>jcifs.properties</code> system property.
         *
         * @return a global context, initialized on first call
         */
        public static synchronized final SingletonContext getInstance() {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  3. cmd/erasure-multipart.go

    func (er erasureObjects) newMultipartUpload(ctx context.Context, bucket string, object string, opts ObjectOptions) (*NewMultipartUploadResult, error) {
    	if opts.CheckPrecondFn != nil {
    		if !opts.NoLock {
    			ns := er.NewNSLock(bucket, object)
    			lkctx, err := ns.GetLock(ctx, globalOperationTimeout)
    			if err != nil {
    				return nil, err
    			}
    			ctx = lkctx.Context()
    			defer ns.Unlock(lkctx)
    			opts.NoLock = true
    		}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 24 04:05:31 GMT 2025
    - 47.1K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb2/create/CreateContextRequest.java

    import jcifs.Encodable;
    
    /**
     * SMB2 Create Context request interface. This interface defines the contract for
     * context data included in SMB2 Create requests.
     *
     * @author mbechler
     *
     */
    public interface CreateContextRequest extends Encodable {
    
        /**
         * Get the name of this create context.
         * @return context name as byte array
         */
        byte[] getName();
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  5. okhttp/src/androidMain/kotlin/okhttp3/OkHttp.android.kt

       * a robolectric test.
       *
       * The functionality that will fail without a valid Context is primarily Cookies and URL Domain handling, but
       * may expand in the future.
       */
      fun initialize(applicationContext: Context) {
        if (PlatformRegistry.applicationContext == null) {
          // Make sure we aren't using an Activity or Service Context
          PlatformRegistry.applicationContext = applicationContext.applicationContext
        }
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jul 28 07:33:49 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  6. cmd/lock-rest-server.go

    }
    
    // RefreshHandler - refresh the current lock
    func (l *lockRESTServer) RefreshHandler(args *dsync.LockArgs) (*dsync.LockResp, *grid.RemoteErr) {
    	// Add a timeout similar to what we expect upstream.
    	ctx, cancel := context.WithTimeout(context.Background(), dsync.DefaultTimeouts.RefreshCall)
    	defer cancel()
    
    	resp := lockRPCRefresh.NewResponse()
    	refreshed, err := l.ll.Refresh(ctx, *args)
    	if err != nil {
    		return l.makeResp(resp, err)
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Jan 31 19:54:34 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  7. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/ContextEnabled.java

     * project's source root and project's attachment.<br>
     * The plugin manager would pull the context out of the plugin container context, and populate it into the Mojo.
     *
     */
    public interface ContextEnabled {
        /**
         * Set a new shared context <code>Map</code> to a mojo before executing it.
         *
         * @param pluginContext a new <code>Map</code>
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  8. architecture/standards/0006-use-of-provider-apis-in-gradle.md

    should have a convention set, so (1) can be treated as a rare case where a value must be provided by a user.
    
    Best practice is to set conventions in a plugin (2). This keeps the underlying object "dumb", so it can be reused in multiple contexts and doesn't contain any special information about how conventions are calculated or what they could be.  In the wild, we've seen some objects set conventions in the object's constructor (3), but this can lead to unexpected assumptions or coupling...
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Oct 15 20:00:57 GMT 2024
    - 10K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/smb2/create/CreateContextResponse.java

    import jcifs.Decodable;
    
    /**
     * SMB2 Create Context response interface. This interface defines the contract for
     * context data returned in SMB2 Create responses.
     *
     * @author mbechler
     *
     */
    public interface CreateContextResponse extends Decodable {
    
        /**
         * Get the name of this create context.
         * @return context name as byte array
         */
        byte[] getName();
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  10. internal/lsync/lrwmutex.go

    func (lm *LRWMutex) lockLoop(ctx context.Context, id, source string, timeout time.Duration, isWriteLock bool) (locked bool) {
    	r := rand.New(rand.NewSource(time.Now().UnixNano()))
    
    	retryCtx, cancel := context.WithTimeout(ctx, timeout)
    	defer cancel()
    
    	for {
    		select {
    		case <-retryCtx.Done():
    			// Caller context canceled or we timedout,
    			// return false anyways for both situations.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 4.8K bytes
    - Click Count (0)
Back to Top