Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 335 for initiatives (0.17 sec)

  1. pkg/scheduler/framework/plugins/examples/stateful/stateful.go

    	mp.mu.Lock()
    	defer mp.mu.Unlock()
    	mp.executionPoints = append(mp.executionPoints, "pre-bind")
    	if pod == nil {
    		return framework.NewStatus(framework.Error, "pod must not be nil")
    	}
    	return nil
    }
    
    // New initializes a new plugin and returns it.
    func New(ctx context.Context, config *runtime.Unknown, _ framework.Handle) (framework.Plugin, error) {
    	if config == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 09 03:43:17 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/CancellationTokenSource.java

     * </ul>
     *
     * <p>All implementations of this interface are required to be thread safe.</p>
     *
     * @since 2.1
     */
    public interface CancellationTokenSource {
        /**
         * Initiates cancel request. All operations that have been associated with this token will be cancelled.
         *
         * <p>It is assumed that the implementation will do 'best-effort' attempt to perform cancellation.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/eventspy/EventSpy.java

             *
             * @return The key-value pairs, never {@code null}.
             */
            Map<String, Object> getData();
        }
    
        /**
         * Initializes the spy.
         *
         * @param context The event spy context, never {@code null}.
         */
        void init(Context context) throws Exception;
    
        /**
         * Notifies the spy of some build event/operation.
         *
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Nov 22 13:26:01 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  4. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/FixedExclusiveModeCrossProcessCacheAccessTest.groovy

            then:
            1 * initAction.requiresInitialization(lock) >> false
    
            then:
            1 * onOpenAction.accept(lock)
            0 * _
        }
    
        def "acquires lock then initializes cache and runs handler action on open"() {
            def lock = Mock(FileLock)
    
            when:
            cacheAccess.open()
    
            then:
            1 * lockManager.lock(file, _, _, "", _) >> lock
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  5. platforms/software/build-init/src/main/java/org/gradle/buildinit/plugins/internal/BuildInitializer.java

    import org.gradle.buildinit.plugins.internal.modifiers.ModularizationOption;
    
    import java.util.List;
    import java.util.Optional;
    import java.util.Set;
    
    /**
     * Initializes a Gradle build, either by converting an existing build to Gradle or generating a new Gradle build.
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 23 19:14:25 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. pkg/proxy/util/nfacct/handler.go

    // netlinkHandler is an implementation of the handler interface. It maintains a netlink socket
    // for communication with the NFAcct subsystem.
    type netlinkHandler struct {
    	socket *nl.NetlinkSocket
    }
    
    // newNetlinkHandler initializes a netlink socket in the current network namespace and returns
    // an instance of netlinkHandler with the initialized socket.
    func newNetlinkHandler() (handler, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 06:47:50 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. pkg/volume/flexvolume/probe_test.go

    	// We need to close the file, otherwise we won't be able to remove it.
    	f, _ := fs.Create(filepath.Join(driverPath, driverName))
    	f.Close()
    }
    
    // Initializes mocks, installs a single driver in the mock fs, then initializes prober.
    func initTestEnvironment(t *testing.T) (
    	driverPath string,
    	fs utilfs.Filesystem,
    	watcher *fakeWatcher,
    	prober volume.DynamicPluginProber) {
    	fs = utilfs.NewTempFs()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 28 11:14:00 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  8. internal/logger/target/kafka/kafka.go

    	}
    
    	sconfig.Net.KeepAlive = 60 * time.Second
    	sconfig.Net.SASL.User = h.kconfig.SASL.User
    	sconfig.Net.SASL.Password = h.kconfig.SASL.Password
    	initScramClient(h.kconfig, sconfig) // initializes configured scram client.
    	sconfig.Net.SASL.Enable = h.kconfig.SASL.Enable
    
    	tlsConfig, err := saramatls.NewConfig(h.kconfig.TLS.ClientTLSCert, h.kconfig.TLS.ClientTLSKey)
    	if err != nil {
    		return err
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Jun 02 03:03:39 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types/goversion.go

    		return true
    	}
    	return langWant.major > major || (langWant.major == major && langWant.minor >= minor)
    }
    
    // ParseLangFlag verifies that the -lang flag holds a valid value, and
    // exits if not. It initializes data used by AllowsGoVersion.
    func ParseLangFlag() {
    	if base.Flag.Lang == "" {
    		return
    	}
    
    	var err error
    	langWant, err = parseLang(base.Flag.Lang)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 08 21:36:02 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/endpoints/filters/audit_init.go

    package filters
    
    import (
    	"net/http"
    
    	"k8s.io/apimachinery/pkg/types"
    	auditinternal "k8s.io/apiserver/pkg/apis/audit"
    	"k8s.io/apiserver/pkg/audit"
    
    	"github.com/google/uuid"
    )
    
    // WithAuditInit initializes the audit context and attaches the Audit-ID associated with a request.
    //
    // a. If the caller does not specify a value for Audit-ID in the request header, we generate a new audit ID
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 14 23:04:35 UTC 2022
    - 2.3K bytes
    - Viewed (0)
Back to top