Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Hastings (0.21 sec)

  1. cmd/metacache.go

    	metacacheBlockSize = 5000
    
    	// metacacheSharePrefix controls whether prefixes on dirty paths are always shared.
    	// This will make `test/a` and `test/b` share listings if they are concurrent.
    	// Enabling this will make cache sharing more likely and cause less IO,
    	// but may cause additional latency to some calls.
    	metacacheSharePrefix = false
    )
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5K bytes
    - Viewed (0)
  2. internal/s3select/sql/funceval.go

    }
    
    func errUnsupportedCast(fromType, toType string) error {
    	return fmt.Errorf("Cannot cast from %v to %v", fromType, toType)
    }
    
    func errCastFailure(msg string) error {
    	return fmt.Errorf("Error casting: %s", msg)
    }
    
    // Allowed cast types
    const (
    	castBool      = "BOOL"
    	castInt       = "INT"
    	castInteger   = "INTEGER"
    	castString    = "STRING"
    	castFloat     = "FLOAT"
    	castDecimal   = "DECIMAL"
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 13.2K bytes
    - Viewed (0)
  3. istioctl/pkg/metrics/metrics.go

      istioctl experimental metrics productpage-v1 -d 2m
    
      # Retrieve workload metrics for various services in the different namespaces
      istioctl experimental metrics productpage-v1.foo reviews-v1.bar ratings-v1.baz`,
    		// nolint: goimports
    		Aliases: []string{"m"},
    		Args: func(cmd *cobra.Command, args []string) error {
    			if len(args) < 1 {
    				cmd.Println(cmd.UsageString())
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  4. cmd/xl-storage.go

    			}
    		}
    		if rootDrive {
    			return s, errDriveIsRoot
    		}
    	}
    
    	// Sanitize before setting it
    	if info.NRRequests > 0 {
    		s.nrRequests = info.NRRequests
    	}
    
    	// We stagger listings only on HDDs.
    	if info.Rotational == nil || *info.Rotational {
    		s.rotational = true
    		s.walkMu = &sync.Mutex{}
    		s.walkReadMu = &sync.Mutex{}
    	}
    
    	if cleanUp {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  5. src/cmd/cgo/gcc.go

    	// Sometimes non-pointers are stored in these types.
    	// CFTypeRef is a supertype of those, so it can have bad pointers in it as well.
    	// We return true for the other *Ref types just so casting between them is easier.
    	// We identify the correct set of types as those ending in Ref and for which
    	// there exists a corresponding GetTypeID function.
    	// See comment below for details about the bad pointers.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  6. cmd/metacache-entries.go

    		if o.isDir() {
    			dst = append(dst, o)
    		}
    	}
    	m.o = dst
    }
    
    // filterRecursiveEntries will keep entries only with the prefix that doesn't contain separator.
    // This can be used to remove recursive listings.
    // To return root elements only set prefix to an empty string.
    // Order is preserved, but the underlying slice is modified.
    func (m *metaCacheEntriesSorted) filterRecursiveEntries(prefix, separator string) {
    	dst := m.o[:0]
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 23.2K bytes
    - Viewed (0)
Back to top