Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 331 - 340 of 455 for CTX (0.06 seconds)

  1. finisher_api.go

    	)
    
    	if len(opts) > 0 {
    		opt = opts[0]
    	}
    
    	ctx := tx.Statement.Context
    	if db.DefaultTransactionTimeout > 0 {
    		if _, ok := ctx.Deadline(); !ok {
    			ctx, _ = context.WithTimeout(ctx, db.DefaultTransactionTimeout)
    		}
    	}
    
    	switch beginner := tx.Statement.ConnPool.(type) {
    	case TxBeginner:
    		tx.Statement.ConnPool, err = beginner.BeginTx(ctx, opt)
    	case ConnPoolBeginner:
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Fri Sep 19 01:49:06 GMT 2025
    - 22.9K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/job/UpdateLabelJob.java

                        if (StringUtil.isNotBlank(url)) {
                            final Set<String> labelSet = labelTypeHelper.getMatchedLabelValueSet(url);
                            final Script script = languageHelper.createScript(doc, "ctx._source." + fessConfig.getIndexFieldLabel()
                                    + "=new String[]{" + labelSet.stream().map(s -> "\"" + s + "\"").collect(Collectors.joining(",")) + "}");
                            return builder.setScript(script);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  3. tests/test_repeated_parameter_alias.py

                            "type": "object",
                        },
                        "ValidationError": {
                            "properties": {
                                "ctx": {"title": "Context", "type": "object"},
                                "input": {"title": "Input"},
                                "loc": {
                                    "items": {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  4. cmd/metrics-v3-types.go

    // return an error, the returned loader will return that error.
    func JoinLoaders(loaders ...MetricsLoaderFn) MetricsLoaderFn {
    	return func(ctx context.Context, m MetricValues, c *metricsCache) error {
    		for _, loader := range loaders {
    			if err := loader(ctx, m, c); err != nil {
    				return err
    			}
    		}
    		return nil
    	}
    }
    
    // BucketMetricsLoaderFn - represents a function to load metrics from the
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Feb 28 19:33:08 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  5. internal/mcontext/ctxt.go

    )
    
    // ContextTraceType represents the type of golang Context key
    type ContextTraceType string
    
    // ContextTraceKey is the key of TraceCtxt saved in a Golang context
    const ContextTraceKey = ContextTraceType("ctx-trace-info")
    
    // TraceCtxt holds related tracing data of a http request.
    type TraceCtxt struct {
    	RequestRecorder  *xhttp.RequestRecorder
    	ResponseRecorder *xhttp.ResponseRecorder
    
    	FuncName string
    	AmzReqID string
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Dec 06 17:27:26 GMT 2022
    - 1.3K bytes
    - Click Count (0)
  6. tests/test_additional_responses_custom_model_in_callback.py

                            "title": "ValidationError",
                            "required": ["loc", "msg", "type"],
                            "type": "object",
                            "properties": {
                                "ctx": {"title": "Context", "type": "object"},
                                "input": {"title": "Input"},
                                "loc": {
                                    "title": "Location",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 04 14:34:02 GMT 2026
    - 5.9K bytes
    - Click Count (0)
  7. internal/dsync/drwmutex_test.go

    	}
    }
    
    // Test cases below are copied 1 to 1 from sync/rwmutex_test.go (adapted to use DRWMutex)
    
    // Borrowed from rwmutex_test.go
    func parallelReader(ctx context.Context, m *DRWMutex, clocked, cunlock, cdone chan bool) {
    	if m.GetRLock(ctx, nil, id, source, Options{Timeout: time.Second}) {
    		clocked <- true
    		<-cunlock
    		m.RUnlock(context.Background())
    		cdone <- true
    	}
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  8. tests/test_param_in_path_and_dependency.py

                                "type": {"title": "Error Type", "type": "string"},
                                "input": {"title": "Input"},
                                "ctx": {"title": "Context", "type": "object"},
                            },
                        },
                    }
                },
            }
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  9. tensorflow/c/eager/gradient_checker.h

     *
     * `numerical_grad` is the pointer to the AbstractTensorHandle* which will
     * hold the numerical gradient data at the end of the function.
     */
    absl::Status CalcNumericalGrad(AbstractContext* ctx, Model forward,
                                   absl::Span<AbstractTensorHandle* const> inputs,
                                   int input_index, bool use_function,
                                   AbstractTensorHandle** numerical_grad);
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 12 05:11:17 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  10. cmd/metrics-v3-cluster-erasure-set.go

    )
    
    func b2f(v bool) float64 {
    	if v {
    		return 1
    	}
    	return 0
    }
    
    // loadClusterErasureSetMetrics - `MetricsLoaderFn` for cluster storage erasure
    // set metrics.
    func loadClusterErasureSetMetrics(ctx context.Context, m MetricValues, c *metricsCache) error {
    	result, _ := c.esetHealthResult.Get()
    
    	m.Set(erasureSetOverallWriteQuorum, float64(result.WriteQuorum))
    	m.Set(erasureSetOverallHealth, b2f(result.Healthy))
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 14 07:25:56 GMT 2024
    - 4.4K bytes
    - Click Count (0)
Back to Top