Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 1,521 for context_ (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. cmd/erasure-encode_test.go

    	return nil, errFaultyDisk
    }
    
    func (a badDisk) CreateFile(ctx context.Context, origvolume, volume, path string, size int64, reader io.Reader) error {
    	return errFaultyDisk
    }
    
    func (badDisk) Hostname() string {
    	return ""
    }
    
    const oneMiByte = 1 * humanize.MiByte
    
    var erasureEncodeTests = []struct {
    	dataBlocks                   int
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 11.8K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/query/BooleanQueryCommand.java

        /**
         * Converts a Lucene BooleanQuery to an OpenSearch BoolQueryBuilder.
         * @param context The query context.
         * @param booleanQuery The boolean query to convert.
         * @param boost The boost factor to apply.
         * @return The converted BoolQueryBuilder.
         */
        protected QueryBuilder convertBooleanQuery(final QueryContext context, final BooleanQuery booleanQuery, final float boost) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategy.java

        }
    
        @Override
        public boolean isApplicable(UpgradeContext context) {
            UpgradeOptions options = getOptions(context);
    
            // Handle --all option (overrides individual options)
            if (options.all().orElse(false)) {
                return true;
            }
    
            String targetModel = determineTargetModelVersion(context);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

            searchLog.setQueryPageSize(pageSize);
    
            if (context.userId != null) {
                searchLog.setUser(context.userId);
            }
    
            if (context.request != null) {
                searchLog.setClientIp(StringUtils.abbreviate(context.clientIp, 100));
                searchLog.setReferer(StringUtils.abbreviate(context.request.getHeader("referer"), 1000));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 29.3K bytes
    - Click Count (0)
  5. cmd/site-replication.go

    func (c *SiteReplicationSys) Init(ctx context.Context, objAPI ObjectLayer) error {
    	go c.startHealRoutine(ctx, objAPI)
    	r := rand.New(rand.NewSource(time.Now().UnixNano()))
    	for {
    		err := c.loadFromDisk(ctx, objAPI)
    		if err == errConfigNotFound {
    			return nil
    		}
    		if err == nil {
    			break
    		}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 184.8K bytes
    - Click Count (1)
  6. 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 Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:35:55 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  7. 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 Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 27.6K bytes
    - Click Count (0)
  8. internal/grid/benchmark_test.go

    	b.Run("bytes", func(b *testing.B) {
    		for par := 1; par <= 32; par *= 2 {
    			b.Run("par="+strconv.Itoa(par*runtime.GOMAXPROCS(0)), func(b *testing.B) {
    				defer timeout(60 * time.Second)()
    				ctx, cancel := context.WithTimeout(b.Context(), 30*time.Second)
    				defer cancel()
    				b.ReportAllocs()
    				b.SetBytes(int64(len(payload) * 2))
    				b.ResetTimer()
    				t := time.Now()
    				var ops int64
    				var lat int64
    				b.SetParallelism(par)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 15.5K bytes
    - Click Count (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/RequestTrace.java

     * application-specific data to provide context when invoking session methods.</p>
     *
     * <p>This trace information is particularly useful for:</p>
     * <ul>
     *   <li>Debugging and troubleshooting request flows</li>
     *   <li>Audit logging of session operations</li>
     *   <li>Performance monitoring of nested operations</li>
     * </ul>
     *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainManagerPrivate.java

         *
         * @param type the type, must not be {@code null}
         * @param context the Maven session, must not be {@code null}
         * @since 3.0 (addition of the <code>MavenSession</code> parameter)
         */
        ToolchainPrivate[] getToolchainsForType(String type, MavenSession context) throws MisconfiguredToolchainException;
    
        /**
         * Stores the toolchain into build context for later use by toolchain-aware plugins.
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Feb 12 13:13:28 GMT 2025
    - 2.2K bytes
    - Click Count (0)
Back to Top