Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 993 for updateOp (0.12 sec)

  1. pkg/ledger/smt.go

    }
    
    // result is used to contain the result of goroutines and is sent through a channel.
    type result struct {
    	update []byte
    	err    error
    }
    
    // update adds a sorted list of keys and their values to the trie.
    // It returns the root of the updated tree.
    func (s *smt) update(root []byte, keys, values, batch [][]byte, iBatch, height int, shortcut, store bool, ch chan<- result) {
    	if height == 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 08 16:43:05 UTC 2023
    - 14K bytes
    - Viewed (0)
  2. internal/bucket/bandwidth/monitor_test.go

    	"time"
    )
    
    const (
    	oneMiB uint64 = 1024 * 1024
    )
    
    func TestMonitor_GetReport(t *testing.T) {
    	type fields struct {
    		activeBuckets map[BucketOptions]*bucketMeasurement
    		endTime       time.Time
    		update2       uint64
    		endTime2      time.Time
    	}
    	start := time.Now()
    	m0 := newBucketMeasurement(start)
    	m0.incrementBytes(0)
    	m1MiBPS := newBucketMeasurement(start)
    	m1MiBPS.incrementBytes(oneMiB)
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Sep 06 03:21:59 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  3. hack/make-rules/update.sh

    fi
    
    if ! ${ALL} ; then
    	echo "Running in short-circuit mode; run with FORCE_ALL=true to force all scripts to run."
    fi
    
    BASH_TARGETS=(
    	update-go-workspace
    	update-codegen
    	update-generated-api-compatibility-data
    	update-generated-docs
    	update-openapi-spec
    	update-gofmt
    	update-golangci-lint-config
    )
    
    for t in "${BASH_TARGETS[@]}"; do
    	echo -e "${color_yellow:?}Running ${t}${color_norm:?}"
    	if ${SILENT} ; then
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 08:22:06 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/update.go

    	"k8s.io/klog/v2"
    )
    
    // UpdateResource returns a function that will handle a resource update
    func UpdateResource(r rest.Updater, scope *RequestScope, admit admission.Interface) http.HandlerFunc {
    	return func(w http.ResponseWriter, req *http.Request) {
    		ctx := req.Context()
    		// For performance tracking purposes.
    		ctx, span := tracing.Start(ctx, "Update", traceFields(req)...)
    		defer span.End(500 * time.Millisecond)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 20:19:46 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/it/admin/FileAuthTests.java

            return requestBody;
        }
    
        @Override
        protected Map<String, Object> getUpdateMap() {
            final Map<String, Object> updateMap = new HashMap<>();
            updateMap.put("parameters", "new_parameters=test");
            return updateMap;
        }
    
        @Test
        void crudTest() {
            testCreate();
            testRead();
            testUpdate();
            testDelete();
        }
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java

        public synchronized void insert(final ProtwordsItem item) {
            try (ProtwordsUpdater updater = new ProtwordsUpdater(item)) {
                reload(updater);
            }
        }
    
        @Override
        public synchronized void update(final ProtwordsItem item) {
            try (ProtwordsUpdater updater = new ProtwordsUpdater(item)) {
                reload(updater);
            }
        }
    
        @Override
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java

        public synchronized void insert(final StopwordsItem item) {
            try (SynonymUpdater updater = new SynonymUpdater(item)) {
                reload(updater);
            }
        }
    
        @Override
        public synchronized void update(final StopwordsItem item) {
            try (SynonymUpdater updater = new SynonymUpdater(item)) {
                reload(updater);
            }
        }
    
        @Override
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  8. clause/update.go

    package clause
    
    type Update struct {
    	Modifier string
    	Table    Table
    }
    
    // Name update clause name
    func (update Update) Name() string {
    	return "UPDATE"
    }
    
    // Build build update clause
    func (update Update) Build(builder Builder) {
    	if update.Modifier != "" {
    		builder.WriteString(update.Modifier)
    		builder.WriteByte(' ')
    	}
    
    	if update.Table.Name == "" {
    		builder.WriteQuoted(currentTable)
    	} else {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Mar 09 09:07:00 UTC 2020
    - 737 bytes
    - Viewed (0)
  9. cmd/update.go

    	// Check if we are in DCOS environment, return
    	// deployment guide for update procedures.
    	if IsDCOS() {
    		return mesosDeploymentDoc
    	}
    
    	// Check if we are in kubernetes environment, return
    	// deployment guide for update procedures.
    	if IsKubernetes() {
    		return kubernetesDeploymentDoc
    	}
    
    	// Check if we are docker environment, return docker update command
    	if IsDocker() {
    		// Construct release tag name.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  10. 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)
Back to top