Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 40 for SetInfo (0.19 sec)

  1. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponse.java

        }
    
    
        /**
         * @return the info
         */
        public final FileInformation getInfo () {
            return this.info;
        }
    
    
        /**
         * 
         * @param type
         * @return the info
         * @throws CIFSException
         */
        @SuppressWarnings ( "unchecked" )
        public <T extends FileInformation> T getInfo ( Class<T> type ) throws CIFSException {
            if ( !type.isAssignableFrom(this.info.getClass()) ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4K bytes
    - Viewed (0)
  2. pkg/kubelet/pluginmanager/pluginwatcher/example_plugin.go

    }
    
    // GetPluginInfo returns a PluginInfo object
    func GetPluginInfo(plugin *examplePlugin) cache.PluginInfo {
    	return cache.PluginInfo{
    		SocketPath: plugin.endpoint,
    	}
    }
    
    // GetInfo is the RPC invoked by plugin watcher
    func (e *examplePlugin) GetInfo(ctx context.Context, req *registerapi.InfoRequest) (*registerapi.PluginInfo, error) {
    	return &registerapi.PluginInfo{
    		Type:              e.pluginType,
    		Name:              e.pluginName,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 10 07:44:16 UTC 2021
    - 5K bytes
    - Viewed (0)
  3. internal/disk/stat_linux.go

    	"fmt"
    	"io"
    	"os"
    	"path/filepath"
    	"strconv"
    	"strings"
    	"syscall"
    
    	"github.com/prometheus/procfs/blockdevice"
    	"golang.org/x/sys/unix"
    )
    
    // GetInfo returns total and free bytes available in a directory, e.g. `/`.
    func GetInfo(path string, firstTime bool) (info Info, err error) {
    	s := syscall.Statfs_t{}
    	err = syscall.Statfs(path, &s)
    	if err != nil {
    		return Info{}, err
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/devicemanager/plugin/v1beta1/stub.go

    		case err := <-m.kubeletRestartWatcher.Errors:
    			klog.ErrorS(err, "inotify error")
    		}
    	}
    }
    
    // GetInfo is the RPC which return pluginInfo
    func (m *Stub) GetInfo(ctx context.Context, req *watcherapi.InfoRequest) (*watcherapi.PluginInfo, error) {
    	klog.InfoS("GetInfo")
    	return &watcherapi.PluginInfo{
    		Type:              watcherapi.DevicePlugin,
    		Name:              m.resourceName,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 17 11:19:10 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  5. pkg/kubelet/pluginmanager/operationexecutor/operation_generator.go

    		}
    		defer conn.Close()
    
    		ctx, cancel := context.WithTimeout(context.Background(), time.Second)
    		defer cancel()
    
    		infoResp, err := client.GetInfo(ctx, &registerapi.InfoRequest{})
    		if err != nil {
    			return fmt.Errorf("RegisterPlugin error -- failed to get plugin info using RPC GetInfo at socket %s, err: %v", socketPath, err)
    		}
    
    		handler, ok := pluginHandlers[infoResp.Type]
    		if !ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 16 14:21:15 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  6. platforms/software/platform-base/src/main/java/org/gradle/platform/base/component/BaseComponentSpec.java

        private final MutableModelNode binaries;
        private final MutableModelNode sources;
    
        public BaseComponentSpec() {
            MutableModelNode modelNode = getInfo().modelNode;
            binaries = ModelMaps.addModelMapNode(modelNode, BINARY_SPEC_MODEL_TYPE, "binaries");
            sources = ModelMaps.addModelMapNode(modelNode, LANGUAGE_SOURCE_SET_MODEL_TYPE, "sources");
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/Crypto.java

            if (provider != null) {
                throw new CIFSUnsupportedCryptoException("Provider can't be re-initialized. Provider has already been initialized with "+ provider.getInfo());
            }
            provider = customProvider;
        }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Tue Aug 17 17:34:29 UTC 2021
    - 5.2K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/windows/security_windows.go

    	return Token(^uintptr(6 - 1))
    }
    
    // Close releases access to access token.
    func (t Token) Close() error {
    	return CloseHandle(Handle(t))
    }
    
    // getInfo retrieves a specified type of information about an access token.
    func (t Token) getInfo(class uint32, initSize int) (unsafe.Pointer, error) {
    	n := uint32(initSize)
    	for {
    		b := make([]byte, n)
    		e := GetTokenInformation(t, class, &b[0], uint32(len(b)), &n)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  9. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/registry/DaemonRegistryContent.java

        public List<DaemonInfo> getInfos() {
            return new LinkedList<DaemonInfo>(infosMap.values());
        }
    
        /**
         * Gets the status for given address. May return null.
         */
        public DaemonInfo getInfo(Address address) {
            return infosMap.get(address);
        }
    
        /**
         * Removes the status
         */
        public void removeInfo(int port) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  10. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/registry/PersistentDaemonRegistry.java

                    @Override
                    public DaemonRegistryContent update(DaemonRegistryContent oldValue) {
                        DaemonInfo daemonInfo = oldValue != null ? oldValue.getInfo(address) : null;
                        if (daemonInfo != null) {
                            daemonInfo.setState(state);
                        }
                        // Else, has been removed by something else - ignore
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top