- Sort Score
- Result 10 results
- Languages All
Results 321 - 330 of 2,300 for _context (0.06 sec)
-
cmd/admin-handlers_test.go
erasureDirs []string objLayer ObjectLayer router *mux.Router done context.CancelFunc } // prepareAdminErasureTestBed - helper function that setups a single-node // Erasure backend for admin-handler tests. func prepareAdminErasureTestBed(ctx context.Context) (*adminErasureTestBed, error) { ctx, cancel := context.WithCancel(ctx) // reset global variables to start afresh. resetTestGlobals()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jul 24 10:24:01 UTC 2024 - 13.9K bytes - Viewed (0) -
istioctl/pkg/kubeinject/kubeinject.go
func GetValuesFromConfigMap(ctx cli.Context, revision string) (string, error) { client, err := ctx.CLIClient() if err != nil { return "", err } if revision != "" { injectConfigMapName = fmt.Sprintf("%s-%s", defaultInjectConfigMapName, revision) } meshConfigMap, err := client.Kube().CoreV1().ConfigMaps(ctx.IstioNamespace()).Get(context.TODO(), injectConfigMapName, metav1.GetOptions{})
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 15 16:31:46 UTC 2024 - 21K bytes - Viewed (0) -
cni/cmd/install-cni/main.go
// limitations under the License. package main import ( "context" "os" "os/signal" "syscall" "istio.io/istio/cni/pkg/cmd" "istio.io/istio/pkg/log" ) func main() { // Create context that cancels on termination signal ctx, cancel := context.WithCancel(context.Background()) sigChan := make(chan os.Signal, 1) signal.Notify(sigChan, os.Interrupt, syscall.SIGTERM)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 1.2K bytes - Viewed (0) -
cni/pkg/util/pluginutil.go
package util import ( "context" "encoding/json" "fmt" "os" "github.com/fsnotify/fsnotify" "istio.io/istio/pkg/file" "istio.io/istio/pkg/log" ) type Watcher struct { watcher *fsnotify.Watcher Events chan struct{} Errors chan error } // Waits until a file is modified (returns nil), the context is cancelled (returns context error), or returns error
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jan 26 20:34:28 UTC 2024 - 3.6K bytes - Viewed (0) -
cmd/local-locker.go
for _, resource := range resources { _, lockTaken := l.lockMap[resource] if lockTaken { return false } } return true } func (l *localLocker) Lock(ctx context.Context, args dsync.LockArgs) (reply bool, err error) { if len(args.Resources) > maxDeleteList { return false, fmt.Errorf("internal error: localLocker.Lock called with more than %d resources", maxDeleteList) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jul 24 10:24:01 UTC 2024 - 10.7K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/building/BuildModelSourceTransformerTest.java
.groupId("GROUPID") .artifactId("ARTIFACTID") .version("1.0-SNAPSHOT") .build()); Mockito.when(context.getRawModel(pomFile, root.resolve("pom.xml"))).thenReturn(parent); Mockito.when(context.locate(root)).thenReturn(root.resolve("pom.xml")); Model initial = new Model(org.apache.maven.api.model.Model.newBuilder()
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.1K bytes - Viewed (0) -
cni/pkg/repair/repair.go
// limitations under the License. package repair import ( "context" "istio.io/istio/cni/pkg/config" "istio.io/istio/cni/pkg/scopes" "istio.io/istio/pkg/kube" ) var repairLog = scopes.CNIAgent func StartRepair(ctx context.Context, cfg config.RepairConfig) { if !cfg.Enabled { repairLog.Info("CNI repair controller is disabled") return }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jun 28 19:12:54 UTC 2024 - 1.5K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivator.java
String actualOsName = context.getSystemProperties() .getOrDefault("os.name", Os.OS_NAME) .toLowerCase(Locale.ENGLISH); String actualOsArch = context.getSystemProperties() .getOrDefault("os.arch", Os.OS_ARCH) .toLowerCase(Locale.ENGLISH); String actualOsVersion = context.getSystemProperties()
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.2K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_remote_test.cc
.ok()); ASSERT_TRUE(worker_server2->Start().ok()); TFE_ContextSetServerDef(context.get(), 0, serialized.data(), serialized.size(), status.get()); EXPECT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get()); BasicTestsForTwoDevices(context.get(), "/job:worker/replica:0/task:1/device:CPU:0",
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Jul 10 07:18:05 UTC 2024 - 6.8K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/path/ProfileActivationFilePathInterpolator.java
return null; } }); interpolator.addValueSource(new MapBasedValueSource(context.getProjectProperties())); interpolator.addValueSource(new MapBasedValueSource(context.getUserProperties())); interpolator.addValueSource(new MapBasedValueSource(context.getSystemProperties())); String absolutePath = interpolator.interpolate(path, "");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.8K bytes - Viewed (0)