Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 4,438 for Updatef (0.15 sec)

  1. src/testing/fuzz.go

    					},
    					testContext: tctx,
    					fuzzContext: fctx,
    				}
    				f.w = indenter{&f.common}
    				if f.chatty != nil {
    					f.chatty.Updatef(f.name, "=== RUN   %s\n", f.name)
    				}
    				go fRunner(f, ft.Fn)
    				<-f.signal
    				if f.chatty != nil && f.chatty.json {
    					f.chatty.Updatef(f.parent.name, "=== NAME  %s\n", f.parent.name)
    				}
    				ok = ok && !f.Failed()
    				ran = ran || f.ran
    			}
    			if !ran {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  2. src/testing/testing.go

    func (p *chattyPrinter) prefix() string {
    	if p != nil && p.json {
    		return string(marker)
    	}
    	return ""
    }
    
    // Updatef prints a message about the status of the named test to w.
    //
    // The formatted message must include the test name itself.
    func (p *chattyPrinter) Updatef(testName, format string, args ...any) {
    	p.lastNameMu.Lock()
    	defer p.lastNameMu.Unlock()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  3. src/testing/benchmark.go

    			}
    			if p := runtime.GOMAXPROCS(-1); p != procs {
    				fmt.Fprintf(os.Stderr, "testing: %s left GOMAXPROCS set to %d\n", benchName, p)
    			}
    			if b.chatty != nil && b.chatty.json {
    				b.chatty.Updatef("", "=== NAME  %s\n", "")
    			}
    		}
    	}
    }
    
    // If hideStdoutForTesting is true, Run does not print the benchName.
    // This avoids a spurious print during 'go test' on package testing itself,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  4. lib/time/update.bash

    ../mkzip ../../zoneinfo.zip
    cd ../..
    
    files="update.bash zoneinfo.zip"
    modified=true
    if git diff --quiet $files; then
    	modified=false
    fi
    
    if [ "$1" = "-work" ]; then
    	echo Left workspace behind in work/.
    	shift
    else
    	rm -rf work
    fi
    
    if ! $modified; then
    	echo No updates needed.
    	exit 0
    fi
    
    echo Updated for $CODE/$DATA: $files
    
    commitmsg="lib/time: update to $CODE/$DATA
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 02 18:20:41 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/util/xdsfake/updater.go

    func NewFakeXDS() *Updater {
    	return &Updater{
    		SplitEvents: false,
    		Events:      make(chan Event, 100),
    	}
    }
    
    // NewWithDelegate creates a XdsUpdater reporting events via a channel.
    func NewWithDelegate(delegate model.XDSUpdater) *Updater {
    	return &Updater{
    		Events:   make(chan Event, 100),
    		Delegate: delegate,
    	}
    }
    
    // Updater is used to test the registry.
    type Updater struct {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 29 18:40:34 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/body-updates.md

        ```
    
    ### Partial updates recap
    
    In summary, to apply partial updates you would:
    
    * (Optionally) use `PATCH` instead of `PUT`.
    * Retrieve the stored data.
    * Put that data in a Pydantic model.
    * Generate a `dict` without default values from the input model (using `exclude_unset`).
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/storageversion/updater.go

    		}
    		// assign the calculated status to the object just created, then update status
    		createdSV.Status = updatedSV.Status
    		_, err = c.UpdateStatus(context.TODO(), createdSV, metav1.UpdateOptions{})
    		return err
    	}
    	_, err = c.UpdateStatus(context.TODO(), updatedSV, metav1.UpdateOptions{})
    	return err
    }
    
    // localUpdateStorageVersion updates the input storageversion with given server storageversion info.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 29 22:40:54 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  8. ci/official/requirements_updater/updater.sh

    # ==============================================================================
    
    # script to run pip-compile for each requirement.
    # if there is a change in requirements.in then all lock files will be updated
    # accordingly
    
    # All commands run relative to this directory
    cd "$(dirname "${BASH_SOURCE[0]}")"
    
    mv BUILD.bazel BUILD
    
    SUPPORTED_VERSIONS=("3_9" "3_10" "3_11" "3_12")
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 15 15:05:45 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/registry/rest/update.go

    	return allErrs, nil
    }
    
    // BeforeUpdate ensures that common operations for all resources are performed on update. It only returns
    // errors that can be converted to api.Status. It will invoke update validation with the provided existing
    // and updated objects.
    // It sets zero values only if the object does not have a zero value for the respective field.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 27 11:48:28 UTC 2022
    - 11.8K bytes
    - Viewed (0)
  10. pkg/controller/daemon/update.go

    		cur, err = dsc.dedupCurHistories(ctx, ds, currentHistories)
    		if err != nil {
    			return nil, nil, err
    		}
    		// Update revision number if necessary
    		if cur.Revision < currRevision {
    			toUpdate := cur.DeepCopy()
    			toUpdate.Revision = currRevision
    			_, err = dsc.kubeClient.AppsV1().ControllerRevisions(ds.Namespace).Update(ctx, toUpdate, metav1.UpdateOptions{})
    			if err != nil {
    				return nil, nil, err
    			}
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 13 16:53:53 UTC 2024
    - 24.4K bytes
    - Viewed (0)
Back to top