Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for ObjectPath (5.29 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/types/objectpath/objectpath.go

    // license that can be found in the LICENSE file.
    
    // Package objectpath defines a naming scheme for types.Objects
    // (that is, named entities in Go programs) relative to their enclosing
    // package.
    //
    // Type-checker objects are canonical, so they are usually identified by
    // their address in memory (a pointer), but a pointer has meaning only
    // within one address space. By contrast, objectpath names allow the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  2. cmd/metacache-set.go

    }
    
    const metacachePrefix = ".metacache"
    
    func metacachePrefixForID(bucket, id string) string {
    	return pathJoin(bucketMetaPrefix, bucket, metacachePrefix, id)
    }
    
    // objectPath returns the object path of the cache.
    func (o *listPathOptions) objectPath(block int) string {
    	return pathJoin(metacachePrefixForID(o.Bucket, o.ID), "block-"+strconv.Itoa(block)+".s2")
    }
    
    func (o *listPathOptions) SetFilter() {
    	switch {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 22:18:44 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  3. pkg/kubelet/nodeshutdown/systemd/inhibit_linux.go

    	"github.com/godbus/dbus/v5"
    	"k8s.io/klog/v2"
    )
    
    const (
    	logindService   = "org.freedesktop.login1"
    	logindObject    = dbus.ObjectPath("/org/freedesktop/login1")
    	logindInterface = "org.freedesktop.login1.Manager"
    )
    
    type dBusConnector interface {
    	Object(dest string, path dbus.ObjectPath) dbus.BusObject
    	AddMatchSignal(options ...dbus.MatchOption) error
    	Signal(ch chan<- *dbus.Signal)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 04 06:56:50 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  4. cmd/data-scanner.go

    				done := globalScannerMetrics.time(scannerMetricCleanAbandoned)
    				err := o.CheckAbandonedParts(ctx, i.bucket, i.objectPath(), madmin.HealOpts{Remove: healDeleteDangling})
    				done()
    				if err != nil {
    					healingLogIf(ctx, fmt.Errorf("unable to check object %s/%s for abandoned data: %w", i.bucket, i.objectPath(), err), i.objectPath())
    				}
    			}
    		}
    
    		// replicate only if lifecycle rules are not applied.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:43:17 UTC 2024
    - 47.6K bytes
    - Viewed (0)
  5. pkg/kubelet/nodeshutdown/systemd/inhibit_linux_test.go

    }
    
    func (obj *fakeDBusObject) Destination() string {
    	return ""
    }
    
    func (obj *fakeDBusObject) Path() dbus.ObjectPath {
    	return ""
    }
    
    type fakeSystemDBus struct {
    	fakeDBusObject *fakeDBusObject
    	signalChannel  chan<- *dbus.Signal
    }
    
    func (f *fakeSystemDBus) Object(dest string, path dbus.ObjectPath) dbus.BusObject {
    	return f.fakeDBusObject
    }
    
    func (f *fakeSystemDBus) Signal(ch chan<- *dbus.Signal) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 29 19:50:06 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/internal/facts/facts.go

    // data".
    package facts
    
    import (
    	"bytes"
    	"encoding/gob"
    	"fmt"
    	"go/types"
    	"io"
    	"log"
    	"reflect"
    	"sort"
    	"sync"
    
    	"golang.org/x/tools/go/analysis"
    	"golang.org/x/tools/go/types/objectpath"
    )
    
    const debug = false
    
    // A Set is a set of analysis.Facts.
    //
    // Decode creates a Set of facts by reading from the imports of a given
    // package, and Encode writes out the set. Between these operation,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  7. src/cmd/vendor/modules.txt

    golang.org/x/tools/go/analysis/passes/unusedresult
    golang.org/x/tools/go/analysis/unitchecker
    golang.org/x/tools/go/ast/astutil
    golang.org/x/tools/go/ast/inspector
    golang.org/x/tools/go/cfg
    golang.org/x/tools/go/types/objectpath
    golang.org/x/tools/go/types/typeutil
    golang.org/x/tools/internal/aliases
    golang.org/x/tools/internal/analysisinternal
    golang.org/x/tools/internal/bisect
    golang.org/x/tools/internal/facts
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. cmd/xl-storage.go

    			// if no xl.meta/xl.json found, skip the file.
    			return sizeSummary{}, errSkipFile
    		}
    		stopFn := globalScannerMetrics.log(scannerMetricScanObject, s.drivePath, pathJoin(item.bucket, item.objectPath()))
    		res := make(map[string]string, 8)
    		defer func() {
    			stopFn(res)
    		}()
    
    		doneSz := globalScannerMetrics.timeSize(scannerMetricReadMetadata)
    		buf, err := s.readMetadata(ctx, item.Path)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 85.3K bytes
    - Viewed (2)
Back to top