- Sort Score
- Result 10 results
- Languages All
Results 421 - 430 of 1,431 for contexts (8.89 sec)
-
cmd/mrf.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. //go:generate msgp -file=$GOFILE package cmd import ( "context" "encoding/binary" "errors" "fmt" "io" "sync" "sync/atomic" "time" "github.com/google/uuid" "github.com/minio/madmin-go/v3" "github.com/minio/pkg/v3/wildcard"
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue May 27 15:19:03 UTC 2025 - 6.5K bytes - Viewed (0) -
cmd/warm-backend-minio.go
// Part size. partSize = int64(partSizeFlt) if partSize == 0 { return minPartSize, nil } return partSize, nil } func (m *warmBackendMinIO) PutWithMeta(ctx context.Context, object string, r io.Reader, length int64, meta map[string]string) (remoteVersionID, error) { partSize, err := optimalPartSize(length) if err != nil { return remoteVersionID(""), err }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Oct 31 22:10:24 UTC 2024 - 4K bytes - Viewed (1) -
cmd/metrics-v2.go
tc, ok := r.Context().Value(mcontext.ContextTraceKey).(*mcontext.TraceCtxt) if ok { tc.FuncName = funcName tc.ResponseRecorder.LogErrBody = true } mfs, err := gatherers.Gather() if err != nil && len(mfs) == 0 { writeErrorResponseJSON(r.Context(), w, toAdminAPIErr(r.Context(), err), r.URL) return }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 133.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/QueryContext.java
} } /** * Sets the query builder for this context. * @param queryBuilder The query builder to use. */ public void setQueryBuilder(final QueryBuilder queryBuilder) { this.queryBuilder = queryBuilder; } /** * Adds sort builders to the query context. * @param sortBuilders Variable number of sort builders to add. */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.4K bytes - Viewed (0) -
docs/es/docs/advanced/events.md
### Async Context Manager Si revisas, la función está decorada con un `@asynccontextmanager`. Eso convierte a la función en algo llamado un "**async context manager**". {* ../../docs_src/events/tutorial003.py hl[1,13] *} Un **context manager** en Python es algo que puedes usar en una declaración `with`, por ejemplo, `open()` puede ser usado como un context manager: ```Python
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 18:26:57 UTC 2024 - 8.2K bytes - Viewed (0) -
compat/maven-builder-support/src/main/java/org/apache/maven/building/Source.java
import java.io.InputStream; /** * Provides access to the contents of a source independently of the backing store (e.g. file system, database, memory). * * @deprecated since 4.0.0, use {@link org.apache.maven.api.services} instead */ @Deprecated(since = "4.0.0") public interface Source { /** * Gets a byte stream to the source contents. Closing the returned stream is the responsibility of the caller. *
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jan 15 18:51:29 UTC 2025 - 1.8K bytes - Viewed (0) -
cmd/metrics-v3-system-cpu.go
sysCPUSystemMD = NewGaugeMD(sysCPUSystem, "CPU system time") sysCPUUserMD = NewGaugeMD(sysCPUUser, "CPU user time") ) // loadCPUMetrics - `MetricsLoaderFn` for system CPU metrics. func loadCPUMetrics(ctx context.Context, m MetricValues, c *metricsCache) error { cpuMetrics, _ := c.cpuMetrics.Get() if cpuMetrics.LoadStat != nil { m.Set(sysCPULoad, cpuMetrics.LoadStat.Load1)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Jun 20 17:55:03 UTC 2024 - 3K bytes - Viewed (0) -
cmd/server-main_test.go
t.Error("expected hash", testcase.hash, "got", sctx.Layout.pools[0].cmdline) } } }) } } // Tests initializing new object layer. func TestNewObjectLayer(t *testing.T) { ctx, cancel := context.WithCancel(t.Context()) defer cancel() // Tests for ErasureSD object layer. nDisks := 1 disks, err := getRandomDisks(nDisks) if err != nil { t.Fatal("Failed to create drives for the backend") }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 3.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcBind.java
buf.enc_ndr_short(max_recv); buf.enc_ndr_long(0); /* assoc. group */ buf.enc_ndr_small(1); /* num context items */ buf.enc_ndr_small(0); /* reserved */ buf.enc_ndr_short(0); /* reserved2 */ buf.enc_ndr_short(0); /* context id */ buf.enc_ndr_small(1); /* number of items */ buf.enc_ndr_small(0); /* reserved */ binding.uuid.encode(buf);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.5K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainManager.java
/** * Retrieve toolchain of specified type from build context. It is expected that * <code>maven-toolchains-plugin</code> contains the configuration to select the appropriate * toolchain and is executed at the beginning of the build. * * @param type the type, must not be {@code null} * @param context the Maven session, must not be {@code null}
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Feb 12 13:13:28 UTC 2025 - 2.4K bytes - Viewed (0)