Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for fh (0.03 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux.go

    	copy(buf[hdrSize:], handle)
    	fh := (*fileHandle)(unsafe.Pointer(&buf[0]))
    	fh.Type = handleType
    	fh.Bytes = uint32(len(handle))
    	return FileHandle{fh}
    }
    
    func (fh *FileHandle) Size() int   { return int(fh.fileHandle.Bytes) }
    func (fh *FileHandle) Type() int32 { return fh.fileHandle.Type }
    func (fh *FileHandle) Bytes() []byte {
    	n := fh.Size()
    	if n == 0 {
    		return nil
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 77.5K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources.go

    func New(ctx context.Context, plArgs runtime.Object, fh framework.Handle, fts feature.Features) (framework.Plugin, error) {
    	if !fts.EnableDynamicResourceAllocation {
    		// Disabled, won't do anything.
    		return &dynamicResources{}, nil
    	}
    
    	logger := klog.FromContext(ctx)
    	pl := &dynamicResources{
    		enabled:                    true,
    		fh:                         fh,
    		clientset:                  fh.ClientSet(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 15:22:37 UTC 2024
    - 75.9K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/defaultpreemption/default_preemption_test.go

    				t.Fatal(err)
    			}
    
    			pl := &DefaultPreemption{
    				fh:        fwk,
    				podLister: informerFactory.Core().V1().Pods().Lister(),
    				pdbLister: getPDBLister(informerFactory),
    				args:      *getDefaultDefaultPreemptionArgs(),
    			}
    			pe := preemption.Evaluator{
    				PluginName: names.DefaultPreemption,
    				Handler:    pl.fh,
    				PodLister:  pl.podLister,
    				PdbLister:  pl.pdbLister,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/runtime/framework.go

    // 3) augmented nodeInfo.
    func addNominatedPods(ctx context.Context, fh framework.Handle, pod *v1.Pod, state *framework.CycleState, nodeInfo *framework.NodeInfo) (bool, *framework.CycleState, *framework.NodeInfo, error) {
    	if fh == nil {
    		// This may happen only in tests.
    		return false, state, nodeInfo, nil
    	}
    	nominatedPodInfos := fh.NominatedPodsForNode(nodeInfo.Node().Name)
    	if len(nominatedPodInfos) == 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 60.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbFile.java

        }
    
    
        SmbFileHandleImpl openUnshared ( String uncPath, int flags, int access, int sharing, int attrs, int options ) throws CIFSException {
            SmbFileHandleImpl fh = null;
            try ( SmbTreeHandleImpl h = ensureTreeConnected() ) {
    
                if ( log.isDebugEnabled() ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (1)
  6. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_linux.go

    func nameToHandleAt(dirFD int, pathname string, fh *fileHandle, mountID *_C_int, flags int) (err error) {
    	var _p0 *byte
    	_p0, err = BytePtrFromString(pathname)
    	if err != nil {
    		return
    	}
    	_, _, e1 := Syscall6(SYS_NAME_TO_HANDLE_AT, uintptr(dirFD), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(fh)), uintptr(unsafe.Pointer(mountID)), uintptr(flags), 0)
    	if e1 != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 54.6K bytes
    - Viewed (0)
  7. pkg/scheduler/framework/plugins/noderesources/fit_test.go

    			defer cancel()
    
    			state := framework.NewCycleState()
    			snapshot := cache.NewSnapshot(test.existingPods, test.nodes)
    			fh, _ := runtime.NewFramework(ctx, nil, nil, runtime.WithSnapshotSharedLister(snapshot))
    			args := test.nodeResourcesFitArgs
    			p, err := NewFit(ctx, &args, fh, plfeature.Features{})
    			if err != nil {
    				t.Fatalf("unexpected error: %v", err)
    			}
    
    			var gotPriorities framework.NodeScoreList
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 57.4K bytes
    - Viewed (0)
  8. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources_test.go

    	opts := []runtime.Option{
    		runtime.WithClientSet(tc.client),
    		runtime.WithInformerFactory(tc.informerFactory),
    	}
    	fh, err := runtime.NewFramework(tCtx, nil, nil, opts...)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	pl, err := New(tCtx, nil, fh, feature.Features{EnableDynamicResourceAllocation: true})
    	if err != nil {
    		t.Fatal(err)
    	}
    	tc.p = pl.(*dynamicResources)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 07:57:10 UTC 2024
    - 61.9K bytes
    - Viewed (0)
  9. src/cmd/go/internal/test/test.go

    				break
    			}
    			fh, err := hashOpen(name)
    			if err != nil {
    				if cache.DebugTest {
    					fmt.Fprintf(os.Stderr, "testcache: %s: input file %s: %s\n", a.Package.ImportPath, name, err)
    				}
    				return cache.ActionID{}, err
    			}
    			fmt.Fprintf(h, "open %s %x\n", name, fh)
    		}
    	}
    	sum := h.Sum()
    	return sum, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  10. src/compress/flate/testdata/huffman-rand-max.in

    ��KP�x��*؋�;p�f9 ER3��r�����V���X�s�݊��!?ʻ	rDc�1�/8��4)|Ͳ�Մ��%>����l�3͙��,�FY��	�8V���Tt������cK�:e����b�3'6�-��v"��=�����Ɗ�
    B|�����v5���=���'�8�� �hqi漰o�׊_V��k؈p�*{��o���Ւp�YoFC��@�w�k���v��Ħ���]�˯Hke���:�"8��O�-��^�]�{�΁�q��:���P�5�Fh��V��q�O�ύ	BpFu�S|b��H���<
    ���YT:kE�6W�"�������5ax�whƏ�,��Z�w�ezQ(��M�a��C�w1��ݨ=��D
    L16:J�'�L�>�CI��� ����[Q�#�&�@�ֽ��#��@��J�e�:��:+@��b�7�%-1B���w�d��h�"Pl��E��þv֛���bT�󵣫)9"A6�&��Gj�#H��9��pV�c����S�l5
    ~��...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 11 17:40:52 UTC 2016
    - 64K bytes
    - Viewed (0)
Back to top