Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 191 - 200 of 1,241 for Contexto (0.09 seconds)

  1. pdm_build.py

    import os
    from typing import Any
    
    from pdm.backend.hooks import Context
    
    TIANGOLO_BUILD_PACKAGE = os.getenv("TIANGOLO_BUILD_PACKAGE", "fastapi")
    
    
    def pdm_build_initialize(context: Context) -> None:
        metadata = context.config.metadata
        # Get custom config for the current package, from the env var
        config: dict[str, Any] = context.config.data["tool"]["tiangolo"][
            "_internal-slim-build"
        ]["packages"].get(TIANGOLO_BUILD_PACKAGE)
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 691 bytes
    - Click Count (0)
  2. logger/logger.go

    	LogLevel                  LogLevel
    }
    
    // Interface logger interface
    type Interface interface {
    	LogMode(LogLevel) Interface
    	Info(context.Context, string, ...interface{})
    	Warn(context.Context, string, ...interface{})
    	Error(context.Context, string, ...interface{})
    	Trace(ctx context.Context, begin time.Time, fc func() (sql string, rowsAffected int64), err error)
    }
    
    var (
    	// Discard logger will print any log to io.Discard
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun Jan 12 10:19:28 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategy.java

                String currentVersion = ModelVersionUtils.detectModelVersion(pomDocument);
                context.info(pomPath + " (current: " + currentVersion + ")");
                context.indent();
    
                try {
                    if (!ModelVersionUtils.isEligibleForInference(currentVersion)) {
                        context.warning(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 27.6K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextRequest.java

            dstIndex += 4;
    
            SMBUtil.writeInt2(4, dst, dstIndex); // NameOffset (from start of context)
            dstIndex += 2;
    
            SMBUtil.writeInt2(4, dst, dstIndex); // NameLength
            dstIndex += 2;
    
            SMBUtil.writeInt2(0, dst, dstIndex); // Reserved
            dstIndex += 2;
    
            SMBUtil.writeInt2(24, dst, dstIndex); // DataOffset (from start of context)
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  5. internal/logger/target/http/http.go

    // Init validate and initialize the http target
    func (h *Target) Init(ctx context.Context) (err error) {
    	if h.config.QueueDir != "" {
    		return h.initQueueOnce.DoWithContext(ctx, h.initDiskStore)
    	}
    	return h.initQueueOnce.DoWithContext(ctx, h.initMemoryStore)
    }
    
    func (h *Target) initDiskStore(ctx context.Context) (err error) {
    	ctx, cancel := context.WithCancel(ctx)
    	h.storeCtxCancel = cancel
    	h.lastStarted = time.Now()
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/CrawlingParameterUtilTest.java

            CrawlerContext context = new CrawlerContext();
            context.setSessionId("test-context-session");
    
            CrawlingParameterUtil.setCrawlerContext(context);
    
            // Verify it can be retrieved
            CrawlerContext retrieved = CrawlingParameterUtil.getCrawlerContext();
            assertNotNull(retrieved);
            assertEquals("test-context-session", retrieved.getSessionId());
        }
    
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 14.6K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/eventspy/EventSpy.java

             */
            Map<String, Object> getData();
        }
    
        /**
         * Initializes the spy.
         *
         * @param context The event spy context, never {@code null}.
         */
        void init(Context context) throws Exception;
    
        /**
         * Notifies the spy of some build event/operation.
         *
         * @param event The event, never {@code null}.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Feb 10 15:02:53 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  8. mockwebserver-junit5/src/main/kotlin/mockwebserver3/junit5/internal/StartStopExtension.kt

          store.put(field, server)
    
          server.start()
        }
      }
    
      override fun beforeEach(context: ExtensionContext) {
        val testInstance = context.testInstance.get()
        val store = context.getStore(Namespace.create(StartStop::class.java))
    
        val instanceFields =
          findAnnotatedFields(
            context.requiredTestClass,
            StartStop::class.java,
          ) { !Modifier.isStatic(it.modifiers) }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Jun 19 11:44:16 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  9. cmd/lock-rest-client_test.go

    	}
    
    	// Attempt all calls.
    	_, err = lkClient.RLock(t.Context(), dsync.LockArgs{})
    	if err == nil {
    		t.Fatal("Expected for Rlock to fail")
    	}
    
    	_, err = lkClient.Lock(t.Context(), dsync.LockArgs{})
    	if err == nil {
    		t.Fatal("Expected for Lock to fail")
    	}
    
    	_, err = lkClient.RUnlock(t.Context(), dsync.LockArgs{})
    	if err == nil {
    		t.Fatal("Expected for RUnlock to fail")
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 2K bytes
    - Click Count (0)
  10. cmd/warm-backend-s3.go

    	})
    	return remoteVersionID(res.VersionID), s3.ToObjectError(err, object)
    }
    
    func (s3 *warmBackendS3) Put(ctx context.Context, object string, r io.Reader, length int64) (remoteVersionID, error) {
    	return s3.PutWithMeta(ctx, object, r, length, map[string]string{})
    }
    
    func (s3 *warmBackendS3) Get(ctx context.Context, object string, rv remoteVersionID, opts WarmBackendGetOpts) (io.ReadCloser, error) {
    	gopts := minio.GetObjectOptions{}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Jun 08 16:13:30 GMT 2025
    - 5.8K bytes
    - Click Count (0)
Back to Top