Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 1,074 for context_b (0.07 sec)

  1. tensorflow/c/eager/custom_device_testutil.cc

          tensor, context, dev->underlying_device.c_str(), status);
      if (TF_GetCode(status) != TF_OK) return nullptr;
      auto dst = std::make_unique<LoggedTensor>(t);
      *(dev->arrived_flag) = true;
      return MakeLoggedTensorHandle(context, dev->device_name, std::move(dst),
                                    status);
    }
    
    TFE_TensorHandle* CopyTensorFromLoggingDevice(TFE_Context* context,
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Mar 03 20:47:31 UTC 2021
    - 8.3K bytes
    - Viewed (0)
  2. cmd/jwt_test.go

    	token := jwtgo.NewWithClaims(jwtgo.SigningMethodHS512, claims)
    	return token.SignedString([]byte(secretKey))
    }
    
    // Tests web request authenticator.
    func TestWebRequestAuthenticate(t *testing.T) {
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    
    	obj, fsDir, err := prepareFS(ctx)
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer os.RemoveAll(fsDir)
    	if err = newTestConfig(globalMinioDefaultRegion, obj); err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 22 07:04:48 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/ProfileActivator.java

    @Deprecated(since = "4.0.0")
    public interface ProfileActivator {
    
        /**
         * Determines whether the specified profile is active in the given activator context.
         *
         * @param profile The profile whose activation status should be determined, must not be {@code null}.
         * @param context The environmental context used to determine the activation status of the profile, must not be
         *            {@code null}.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/forked/DefaultForkedMavenParser.java

            return new DefaultForkedMavenInvokerRequest(
                    context.parserRequest,
                    context.cwd,
                    context.installationDirectory,
                    context.userHomeDirectory,
                    context.userProperties,
                    context.systemProperties,
                    context.topDirectory,
                    context.rootDirectory,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. cmd/signals.go

    				shutdownLogIf(context.Background(), err)
    			}
    		}
    
    		if objAPI := newObjectLayerFn(); objAPI != nil {
    			shutdownLogIf(context.Background(), objAPI.Shutdown(context.Background()))
    		}
    
    		if globalBrowserEnabled {
    			if srv := newConsoleServerFn(); srv != nil {
    				shutdownLogIf(context.Background(), srv.Shutdown())
    			}
    		}
    
    		if globalEventNotifier != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 04 17:02:39 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. cmd/bucket-metadata.go

    func loadBucketMetadata(ctx context.Context, objectAPI ObjectLayer, bucket string) (BucketMetadata, error) {
    	return loadBucketMetadataParse(ctx, objectAPI, bucket, true)
    }
    
    // parseAllConfigs will parse all configs and populate the private fields.
    // The first error encountered is returned.
    func (b *BucketMetadata) parseAllConfigs(ctx context.Context, objectAPI ObjectLayer) (err error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  7. internal/event/target/elasticsearch.go

    type esClient interface {
    	isAtleastV7() bool
    	createIndex(ElasticsearchArgs) error
    	ping(context.Context, ElasticsearchArgs) (bool, error)
    	stop()
    	entryExists(context.Context, string, string) (bool, error)
    	removeEntry(context.Context, string, string) error
    	updateEntry(context.Context, string, string, event.Event) error
    	addEntry(context.Context, string, event.Event) error
    }
    
    // ElasticsearchArgs - Elasticsearch target arguments.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 15K bytes
    - Viewed (0)
  8. cmd/data-scanner.go

    func (d *dynamicSleeper) Timer(ctx context.Context) func() {
    	t := time.Now()
    	return func() {
    		doneAt := time.Now()
    		d.Sleep(ctx, doneAt.Sub(t))
    	}
    }
    
    // Sleep sleeps the specified time multiplied by the sleep factor.
    // If the factor is updated the sleep will be done again with the new factor.
    func (d *dynamicSleeper) Sleep(ctx context.Context, base time.Duration) {
    	for {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  9. cni/pkg/nodeagent/cni-watcher.go

    	cniListenServer       *http.Server
    	cniListenServerCancel context.CancelFunc
    	handlers              K8sHandlers
    	dataplane             MeshDataplane
    
    	sockAddress string
    	ctx         context.Context
    }
    
    func startCniPluginServer(ctx context.Context, pluginSocket string,
    	handlers K8sHandlers,
    	dataplane MeshDataplane,
    ) *CniPluginServer {
    	ctx, cancel := context.WithCancel(ctx)
    	mux := http.NewServeMux()
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Jul 02 18:48:50 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  10. cmd/admin-handlers.go

    		})
    	}
    	return stats
    }
    
    func targetStatus(ctx context.Context, h logger.Target) madmin.Status {
    	if h.IsOnline(ctx) {
    		return madmin.Status{Status: string(madmin.ItemOnline)}
    	}
    	return madmin.Status{Status: string(madmin.ItemOffline)}
    }
    
    // fetchLoggerInfo return log info
    func fetchLoggerInfo(ctx context.Context) ([]madmin.Logger, []madmin.Audit) {
    	var loggerInfo []madmin.Logger
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
Back to top