Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,334 for clone (0.18 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ModelInterpolator.java

    public interface ModelInterpolator {
    
        /**
         * Interpolates expressions in the specified model. Note that implementations are free to either interpolate the
         * provided model directly or to create a clone of the model and interpolate the clone. Callers should always use
         * the returned model and must not rely on the input model being updated.
         *
         * @param model The model to interpolate, must not be {@code null}.
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  2. internal/s3select/sql/record.go

    	// Can return a different record type.
    	Set(name string, value *Value) (Record, error)
    	WriteCSV(writer io.Writer, opts WriteCSVOpts) error
    	WriteJSON(writer io.Writer) error
    
    	// Clone the record and if possible use the destination provided.
    	Clone(dst Record) Record
    	Reset()
    
    	// Returns underlying representation
    	Raw() (SelectObjectFormat, interface{})
    
    	// Replaces the underlying data
    	Replace(k interface{}) error
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 3.4K bytes
    - Viewed (0)
  3. internal/config/config.go

    			} else {
    				currKVS.Delete(delKey)
    			}
    		}
    		c[subSys][tgt] = currKVS
    	} else {
    		delete(c[subSys], tgt)
    	}
    	return nil
    }
    
    // Clone - clones a config map entirely.
    func (c Config) Clone() Config {
    	cp := New()
    	for subSys, tgtKV := range c {
    		cp[subSys] = make(map[string]KVS)
    		for tgt, kv := range tgtKV {
    			cp[subSys][tgt] = append(cp[subSys][tgt], kv...)
    		}
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  4. internal/s3select/csv/record.go

    		r.columnNames = r.columnNames[:0]
    	}
    	if len(r.csvRecord) > 0 {
    		r.csvRecord = r.csvRecord[:0]
    	}
    	for k := range r.nameIndexMap {
    		delete(r.nameIndexMap, k)
    	}
    }
    
    // Clone the record.
    func (r *Record) Clone(dst sql.Record) sql.Record {
    	other, ok := dst.(*Record)
    	if !ok {
    		other = &Record{}
    	}
    	if len(other.columnNames) > 0 {
    		other.columnNames = other.columnNames[:0]
    	}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Sep 13 00:00:59 GMT 2022
    - 4.1K bytes
    - Viewed (0)
  5. internal/config/batch/batch.go

    // would wait before working on next object.
    func (opts Config) KeyRotationWait() time.Duration {
    	configMu.RLock()
    	defer configMu.RUnlock()
    
    	return opts.KeyRotationWorkersWait
    }
    
    // Clone returns a copy of Config value
    func (opts Config) Clone() Config {
    	configMu.RLock()
    	defer configMu.RUnlock()
    
    	return Config{
    		ReplicationWorkersWait: opts.ReplicationWorkersWait,
    		KeyRotationWorkersWait: opts.KeyRotationWorkersWait,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Dec 06 09:09:22 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  6. internal/config/heal/heal.go

    //
    // >0 interval duration between cycles
    func (opts Config) BitrotScanCycle() (d time.Duration) {
    	configMutex.RLock()
    	defer configMutex.RUnlock()
    	return opts.cache.bitrotCycle
    }
    
    // Clone safely the heal configuration
    func (opts Config) Clone() (int, time.Duration, string) {
    	configMutex.RLock()
    	defer configMutex.RUnlock()
    	return opts.IOCount, opts.Sleep, opts.Bitrot
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 01:10:30 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  7. maven-core/src/test/java/org/apache/maven/lifecycle/internal/builder/BuilderCommonTest.java

            MavenSession original = ProjectDependencyGraphStub.getMavenSession();
    
            final TaskSegment taskSegment1 = new TaskSegment(false);
            final MavenSession session1 = original.clone();
            session1.setCurrentProject(ProjectDependencyGraphStub.A);
    
            final BuilderCommon builderCommon = getBuilderCommon(logger);
            final MavenExecutionPlan plan =
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/util/MD4.java

            this();
            context = (int[])md.context.clone();
            buffer = (byte[])md.buffer.clone();
            count = md.count;
        }
    
    
    // Cloneable method implementation
    //...........................................................................
    
        /**
         * Returns a copy of this MD object.
         */
        public Object clone() { return new MD4(this); }
    
    
    // JCE methods
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 9.3K bytes
    - Viewed (0)
  9. internal/s3select/sql/statement.go

    		}
    
    		var kvs jstream.KVS
    		switch v := txedRec.(type) {
    		case jstream.KVS:
    			kvs = v
    
    		case []interface{}:
    			recs := make([]*Record, len(v))
    			for i, val := range v {
    				tmpRec := input.Clone(nil)
    				if err = tmpRec.Replace(val); err != nil {
    					return nil, err
    				}
    				recs[i] = &tmpRec
    			}
    			return recs, nil
    
    		default:
    			kvs = jstream.KVS{jstream.KV{Key: "_1", Value: v}}
    		}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jan 09 17:19:11 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  10. cmd/site-replication-utils.go

    	TotBuckets                    int                         `json:"totbuckets" msg:"tb"`
    	TargetReplicationResyncStatus `json:"currSt" msg:"cst"`
    }
    
    func (s *SiteResyncStatus) clone() SiteResyncStatus {
    	if s == nil {
    		return SiteResyncStatus{}
    	}
    	o := *s
    	o.BucketStatuses = make(map[string]ResyncStatusType, len(s.BucketStatuses))
    	for b, st := range s.BucketStatuses {
    		o.BucketStatuses[b] = st
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 8.9K bytes
    - Viewed (1)
Back to top