Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 292 for nuts (0.03 sec)

  1. hack/boilerplate/boilerplate.py

                # don't visit certain dirs. This is just a performance improvement
                # as we would prune these later in normalize_files(). But doing it
                # cuts down the amount of filesystem walking we do and cuts down
                # the size of the file list
                for dname in skipped_names:
                    if dname in dirs:
                        dirs.remove(dname)
                for dname in dirs:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:51 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  2. cmd/erasure-metadata-utils.go

    		// Returns an empty int slice for cardinality < 0.
    		return nil
    	}
    
    	nums := make([]int, cardinality)
    	keyCrc := crc32.Checksum([]byte(key), crc32.IEEETable)
    
    	start := int(keyCrc % uint32(cardinality))
    	for i := 1; i <= cardinality; i++ {
    		nums[i-1] = 1 + ((start + i) % cardinality)
    	}
    	return nums
    }
    
    // Reads all `xl.meta` metadata as a FileInfo slice.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/shift/dead.go

    package shift
    
    // Simplified dead code detector.
    // Used for skipping shift checks on unreachable arch-specific code.
    
    import (
    	"go/ast"
    	"go/constant"
    	"go/types"
    )
    
    // updateDead puts unreachable "if" and "case" nodes into dead.
    func updateDead(info *types.Info, dead map[ast.Node]bool, node ast.Node) {
    	if dead[node] {
    		// The node is already marked as dead.
    		return
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 06 18:23:38 UTC 2018
    - 2.2K bytes
    - Viewed (0)
  4. test/stack.go

    	s := 0
    	for i := 0; i < len(t); i++ {
    		s += t[i]
    	}
    	if s != len(t) {
    		println("bad defer", s)
    		panic("fail")
    	}
    }
    
    func f0() {
    	// likely to make a new stack for f0,
    	// because the call to f1 puts 3000 bytes
    	// in our frame.
    	f1()
    }
    
    func f1() [3000]byte {
    	// likely to make a new stack for f1,
    	// because 3000 bytes were used by f0
    	// and we need 3000 more for the call
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:48:19 UTC 2012
    - 1.7K bytes
    - Viewed (0)
  5. cmd/config-versions.go

    }
    
    // ConsoleLogger is introduced to workaround the dependency about logrus
    type ConsoleLogger struct {
    	Enable bool `json:"enable"`
    }
    
    // serverConfigV33 is just like version '32', removes clientID from NATS and MQTT, and adds queueDir, queueLimit in all notification targets.
    type serverConfigV33 struct {
    	quick.Config `json:"-"` // ignore interfaces
    
    	Version string `json:"version"`
    
    	// S3 API configuration.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. cmd/config-migrate.go

    	}
    	for k, args := range cfg.Notify.MQTT {
    		notify.SetNotifyMQTT(newCfg, k, args)
    	}
    	for k, args := range cfg.Notify.MySQL {
    		notify.SetNotifyMySQL(newCfg, k, args)
    	}
    	for k, args := range cfg.Notify.NATS {
    		notify.SetNotifyNATS(newCfg, k, args)
    	}
    	for k, args := range cfg.Notify.NSQ {
    		notify.SetNotifyNSQ(newCfg, k, args)
    	}
    	for k, args := range cfg.Notify.PostgreSQL {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  7. staging/src/k8s.io/client-go/applyconfigurations/batch/v1beta1/jobtemplatespec.go

    	b.ensureObjectMetaApplyConfigurationExists()
    	b.DeletionGracePeriodSeconds = &value
    	return b
    }
    
    // WithLabels puts the entries into the Labels field in the declarative configuration
    // and returns the receiver, so that objects can be build by chaining "With" function invocations.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 23 17:59:55 UTC 2022
    - 8.9K bytes
    - Viewed (0)
  8. prow/config/calico.yaml

                                the Selector applies to workload endpoints across all
                                namespaces."
                              type: string
                            nets:
                              description: Nets is an optional field that restricts the
                                rule to only apply to traffic that originates from (or
                                terminates at) IP addresses in any of the given subnets.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 246.5K bytes
    - Viewed (0)
  9. src/runtime/cgo/asm_arm.s

    	// pass R0, R1, and R3 to Go, so we push those on the stack.
    	// Also, save C callee-save registers R4-R12.
    	MOVM.WP	[R0, R1, R3, R4, R5, R6, R7, R8, R9, g, R11, R12], (R13)
    	// Finally, save the link register R14. This also puts the
    	// arguments we pushed for cgocallback where they need to be,
    	// starting at 4(R13).
    	MOVW.W	R14, -4(R13)
    
    	// Skip floating point registers if goarmsoftfp!=0.
    	MOVB    runtime·goarmsoftfp(SB), R11
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 17:19:36 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  10. src/internal/coverage/cfile/ts_test.go

    	if err != nil {
    		t.Fatalf("marshal MetaFileCollection: %v", err)
    	}
    	if err := os.WriteFile(metafiles, jdata, 0666); err != nil {
    		t.Fatalf("write failed: %v", err)
    	}
    
    	// Kick off guts of test.
    	var sb strings.Builder
    	textfile := filepath.Join(td, "file2.txt")
    	err = ProcessCoverTestDir(tgcd, textfile,
    		testing.CoverMode(), "", &sb)
    	if err != nil {
    		t.Fatalf("bad: %v", err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:58:07 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top