Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 1,109 for hard (0.05 sec)

  1. pkg/test/framework/config.go

    func (c *configFactory) WaitForConfigOrFail(ctx resource.Context, t test.Failer, ns string, yamlText ...string) {
    	err := c.WaitForConfig(ctx, ns, yamlText...)
    	if err != nil {
    		// TODO(https://github.com/istio/istio/issues/37148) fail hard in this case
    		t.Log(err)
    	}
    }
    
    func (c *configFactory) withFilePrefix(prefix string) config.Factory {
    	return &configFactory{
    		ctx:      c.ctx,
    		prefix:   prefix,
    		clusters: c.clusters,
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  2. pkg/kubelet/kubeletconfig/util/files/files.go

    	tmpPath = tmpFile.Name()
    
    	// write data
    	if _, err := tmpFile.Write(data); err != nil {
    		return tmpPath, err
    	}
    	// sync file, to ensure it's written in case a hard reset happens
    	return tmpPath, tmpFile.Sync()
    }
    
    // ReplaceFile replaces the contents of the file at `path` with `data` by writing to a tmp file in the same
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 13 01:02:46 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/quota/v1/resources.go

    func CalculateUsage(namespaceName string, scopes []corev1.ResourceQuotaScope, hardLimits corev1.ResourceList, registry Registry, scopeSelector *corev1.ScopeSelector) (corev1.ResourceList, error) {
    	// find the intersection between the hard resources on the quota
    	// and the resources this controller can track to know what we can
    	// look to measure updated usage stats for
    	hardResources := ResourceNames(hardLimits)
    	potentialResources := []corev1.ResourceName{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 06 23:11:22 UTC 2021
    - 8.7K bytes
    - Viewed (0)
  4. tools/golangci-override.yaml

              - "!**/operator/**"
              - "!**/istioctl/**"
              - "!**/tools/bug-report/**"
              # This should only really import operator API, but that is hard to express without a larger refactoring
              - "!**/pkg/kube/**"
              - "!**/pkg/url/**"
              - "!**/pkg/test/framework/**"
              - "!**/tests/fuzz/**"
            deny:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/test/global_test.go

    	out, err := cmd.CombinedOutput()
    	if err != nil {
    		t.Fatalf("could not build target: %v\n%s", err, out)
    	}
    
    	patterns := []string{
    		// It is hard to look for actual instructions in an
    		// arch-independent way. So we'll just look for
    		// pseudo-ops that are arch-independent.
    		"\tTEXT\t",
    		"\tFUNCDATA\t",
    		"\tPCDATA\t",
    	}
    	outstr := string(out)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 06 18:07:35 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/managedfieldsupdater.go

    }
    
    var _ Manager = &managedFieldsUpdater{}
    
    // NewManagedFieldsUpdater is responsible for updating the managedfields
    // in the object, updating the time of the operation as necessary. For
    // updates, it uses a hard-coded manager to detect if things have
    // changed, and swaps back the correct manager after the operation is
    // done.
    func NewManagedFieldsUpdater(fieldManager Manager) Manager {
    	return &managedFieldsUpdater{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  7. pkg/volume/git_repo/git_repo.go

    		return fmt.Errorf("failed to exec 'git checkout %s': %s: %v", b.revision, output, err)
    	}
    	if output, err := b.execCommand("git", []string{"reset", "--hard"}, subdir); err != nil {
    		return fmt.Errorf("failed to exec 'git reset --hard': %s: %v", output, err)
    	}
    
    	volume.SetVolumeOwnership(b, dir, mounterArgs.FsGroup, nil /*fsGroupChangePolicy*/, volumeutil.FSGroupCompleteHook(b.plugin, nil))
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/loopclosure/doc.go

    //	    go func() {
    //	        use(v)  // incorrect, and a data race
    //	    }()
    //	}
    //
    // A fix is the same as before. The checker also reports problems
    // in goroutines started by golang.org/x/sync/errgroup.Group.
    // A hard-to-spot variant of this form is common in parallel tests:
    //
    //	func Test(t *testing.T) {
    //	    for _, test := range tests {
    //	        t.Run(test.name, func(t *testing.T) {
    //	            t.Parallel()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 21:52:54 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  9. src/errors/errors.go

    	return e.s
    }
    
    // ErrUnsupported indicates that a requested operation cannot be performed,
    // because it is unsupported. For example, a call to [os.Link] when using a
    // file system that does not support hard links.
    //
    // Functions and methods should not return this error but should instead
    // return an error including appropriate context that satisfies
    //
    //	errors.Is(err, errors.ErrUnsupported)
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 02 19:45:41 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  10. architecture/standards/0001-use-architectural-decision-records.md

    We use *Specification* and *Discovery* documents stored in Google Drive, but they present some downsides:
    
    * They are rarely updated after creation and initial review, and then become hard to follow, especially after important decisions are made
    * They are not synced with the code to reflect the eventual solution that is committed
    * Google Docs is not a "code-oriented" tool, like asciidoc can be
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Mar 02 21:54:40 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top