Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for updating (4.04 sec)

  1. tests/update_test.go

    		t.Fatalf("invalid updating SQL, got %v", stmt.SQL.String())
    	}
    
    	dryDB = DB.Session(&gorm.Session{DryRun: true})
    	stmt = dryDB.Unscoped().Save(&user).Statement
    	if !regexp.MustCompile(`WHERE .id. = [^ ]+$`).MatchString(stmt.SQL.String()) {
    		t.Fatalf("invalid updating SQL, got %v", stmt.SQL.String())
    	}
    
    	user3 := *GetUser("save3", Config{})
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Dec 04 03:50:58 GMT 2023
    - 30.3K bytes
    - Viewed (0)
  2. chainable_api.go

    	tx = db.getInstance()
    	tx.Statement.Distinct = true
    	if len(args) > 0 {
    		tx = tx.Select(args[0], args[1:]...)
    	}
    	return
    }
    
    // Select specify fields that you want when querying, creating, updating
    //
    // Use Select when you only want a subset of the fields. By default, GORM will select all fields.
    // Select accepts both string arguments and arrays.
    //
    //	// Select name and age of user using multiple arguments
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Wed Apr 17 03:38:55 GMT 2024
    - 14.3K bytes
    - Viewed (1)
  3. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

              // flow-control window. This is necessary because we don't transmit window updates until
              // the application reads the data. If we throw this prior to updating the connection
              // flow-control window, we risk having it go to 0 preventing the server from sending data.
              throw errorExceptionToDeliver!!
            }
    
            return -1L // This source is exhausted.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 23.2K bytes
    - Viewed (1)
  4. maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java

            }
        }
    
        /**
         * Ensures the last updated timestamp of the specified metadata does not refer to the future and fixes the local
         * metadata if necessary to allow proper merging/updating of metadata during deployment.
         */
        private void fixTimestamp(File metadataFile, Metadata metadata, Metadata reference) {
            boolean changed = false;
    
            if (metadata != null && reference != null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 18.9K bytes
    - Viewed (0)
  5. istioctl/pkg/admin/istiodconfig.go

    				err       error
    				scopeName string
    			}{err: err, scopeName: si.Name}
    		}(scope)
    	}
    	wg.Wait()
    	close(ch)
    	for result := range ch {
    		if result.err != nil {
    			return fmt.Errorf("failed updating Scope %s: %v", result.scopeName, result.err)
    		}
    	}
    	return nil
    }
    
    func (c *ControlzClient) GetScope(scope string) (*ScopeInfo, error) {
    	var s ScopeInfo
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  6. cmd/metacache-server-pool.go

    				go func(meta metacache) {
    					// Continuously update while we wait.
    					t := time.NewTicker(metacacheMaxClientWait / 10)
    					defer t.Stop()
    					select {
    					case <-ctx.Done():
    						// Request is done, stop updating.
    						return
    					case <-t.C:
    						meta.lastHandout = time.Now()
    						meta, _ = rpc.UpdateMetacacheListing(ctx, meta)
    					}
    				}(*c)
    			}
    		}
    	}
    
    	if o.ID != "" && !o.Transient {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  7. cmd/object-api-interface.go

    	CheckPrecondFn      CheckPreconditionFn // only set during GetObject/HeadObject/CopyObjectPart preconditional valuation
    	EvalMetadataFn      EvalMetadataFn      // only set for retention settings, meant to be used only when updating metadata in-place.
    	DeleteReplication   ReplicationState    // Represents internal replication state needed for Delete replication
    	Transition          TransitionOptions
    	Expiration          ExpirationOptions
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 17K bytes
    - Viewed (0)
  8. cni/README.md

    # Istio CNI Node Agent
    
    The Istio CNI Node Agent is responsible for several things
    
    - Install an Istio CNI plugin binary on each node's filesystem, updating that node's CNI config in e.g (`/etc/cni/net.d`), and watching the config and binary paths to reinstall if things are modified.
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  9. statement.go

    			}
    		} else {
    			stmt.AddError(ErrInvalidField)
    		}
    	} else {
    		stmt.AddError(ErrInvalidField)
    	}
    }
    
    // Changed check model changed or not when updating
    func (stmt *Statement) Changed(fields ...string) bool {
    	modelValue := stmt.ReflectValue
    	switch modelValue.Kind() {
    	case reflect.Slice, reflect.Array:
    		modelValue = stmt.ReflectValue.Index(stmt.CurDestIndex)
    	}
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Jan 12 08:42:21 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/policy/v1beta1/generated.proto

    // PodDisruptionBudgetStatus represents information about the status of a
    // PodDisruptionBudget. Status may trail the actual state of a system.
    message PodDisruptionBudgetStatus {
      // Most recent generation observed when updating this PDB status. DisruptionsAllowed and other
      // status information is valid only if observedGeneration equals to PDB's object generation.
      // +optional
      optional int64 observedGeneration = 1;
    
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 19.6K bytes
    - Viewed (0)
Back to top