- Sort Score
- Num 10 results
- Language All
Results 371 - 380 of 620 for Prefer (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
samples/guide/src/main/java/okhttp3/recipes/PrintEventsNonConcurrent.java
import okhttp3.Protocol; import okhttp3.Request; import okhttp3.Response; /** * This prints events for a single in-flight call. It won't work for multiple concurrent calls * because we don't know what callStartNanos refers to. */ public final class PrintEventsNonConcurrent { private final OkHttpClient client = new OkHttpClient.Builder() .eventListener(new PrintingEventListener()) .build();
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sun Feb 16 23:20:49 GMT 2020 - 5.3K bytes - Click Count (0) -
cmd/globals.go
) var globalAuthPluginMutex sync.Mutex func newGlobalAuthNPluginFn() *idplugin.AuthNPlugin { globalAuthPluginMutex.Lock() defer globalAuthPluginMutex.Unlock() return globalAuthNPlugin } func newGlobalAuthZPluginFn() *polplugin.AuthZPlugin { globalAuthPluginMutex.Lock() defer globalAuthPluginMutex.Unlock() return globalAuthZPlugin } func setGlobalAuthNPlugin(authn *idplugin.AuthNPlugin) {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Sep 03 18:23:41 GMT 2024 - 16.2K bytes - Click Count (1) -
cmd/metrics-v2_test.go
{ val: 0.31, label: labels[1], }, { val: 0.61, label: labels[3], }, { val: 0.79, label: labels[2], }, } ticker := time.NewTicker(1 * time.Millisecond) defer ticker.Stop() for _, obs := range observations { // Send observations once every 1ms, to simulate delay between // observations. This is to test the channel based // synchronization used internally. <-ticker.CCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 6.8K bytes - Click Count (0) -
internal/logger/logrotate.go
if !w.opts.Compress { return nil } oldLgFile := w.f.Name() r, err := os.Open(oldLgFile) if err != nil { return err } defer r.Close() gw, err := os.Create(oldLgFile + ".gz") if err != nil { return err } defer gw.Close() var wc io.WriteCloser = gzip.NewWriter(gw) if _, err = io.Copy(wc, r); err != nil { return err } if err = wc.Close(); err != nil {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 5.8K bytes - Click Count (0) -
helm/minio/README.md
```bash helm upgrade -f old_values.yaml my-release minio/minio ``` Default upgrade strategies are specified in the `values.yaml` file. Update these fields if you'd like to use a different strategy. ### Configuration Refer the [Values file](./values.yaml) for all the possible config fields. You can specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example, ```bash
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Aug 12 18:20:36 GMT 2025 - 10.9K bytes - Click Count (0) -
docs/debugging/s3-verify/main.go
wg.Add(2) go func() { defer wg.Done() srcSize, err := io.Copy(srcSha256, sobj) if err != nil { fmt.Printf("unreadable on source: %s (%s)\n", srcCtnt.Key, err) sourceFailed = true } else if srcSize != srcCtnt.Size { fmt.Printf("unreadable on source - size differs upon read: %s\n", srcCtnt.Key) sourceFailed = true } }() go func() { defer wg.Done()
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Jun 22 15:12:47 GMT 2022 - 8.4K bytes - Click Count (0) -
guava/src/com/google/common/util/concurrent/FuturesGetChecked.java
throw new UncheckedExecutionException(cause); } throw newWithCause(exceptionClass, cause); } /* * TODO(user): FutureChecker interface for these to be static methods on? If so, refer to it in * the (static-method) Futures.getChecked documentation */ private static boolean hasConstructorUsableByGetChecked( Class<? extends Exception> exceptionClass) { try {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 11.8K bytes - Click Count (0) -
internal/ioutil/ioutil.go
func WithDeadline[V any](ctx context.Context, timeout time.Duration, work func(ctx context.Context) (result V, err error)) (result V, err error) { ctx, cancel := context.WithTimeout(ctx, timeout) defer cancel() c := make(chan ioret[V], 1) go func() { v, err := work(ctx) c <- ioret[V]{val: v, err: err} }() select { case v := <-c: return v.val, v.err case <-ctx.Done():
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 11.1K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Session.java
* For example, resolves "[3.8,4.0)" to "3.8", "3.8.1", "3.8.2". * The returned list of versions is only dependent on the configured repositories and their contents. * The supplied request may also refer to a single concrete version rather than a version range. * In this case though, the result contains simply the (parsed) input version, regardless of the * repositories and their contents. *
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Jul 03 14:18:26 GMT 2025 - 36.5K bytes - Click Count (0) -
cmd/config-common.go
if err != nil { if isErrObjectNotFound(err) { return nil, ObjectInfo{}, errConfigNotFound } return nil, ObjectInfo{}, err } defer r.Close() buf, err := io.ReadAll(r) if err != nil { return nil, ObjectInfo{}, err } if len(buf) == 0 { return nil, ObjectInfo{}, errConfigNotFound } return buf, r.ObjInfo, nil }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Sep 18 17:00:54 GMT 2023 - 3.1K bytes - Click Count (0)