Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 78 for previous (0.2 sec)

  1. cni/pkg/plugin/plugin.go

    	conf := Config{}
    
    	if err := json.Unmarshal(stdin, &conf); err != nil {
    		return nil, fmt.Errorf("failed to parse network configuration: %v", err)
    	}
    
    	log.Debugf("istio-cni: Config is: %+v", conf)
    	// Parse previous result. Remove this if your plugin is not chained.
    	if conf.RawPrevResult != nil {
    		resultBytes, err := json.Marshal(conf.RawPrevResult)
    		if err != nil {
    			return nil, fmt.Errorf("could not serialize prevResult: %v", err)
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  2. cmd/service.go

    	if globalServiceFreezeCnt <= 0 {
    		// Set to a nil channel.
    		var _ch chan struct{}
    		if val := globalServiceFreeze.Swap(_ch); val != nil {
    			if ch, ok := val.(chan struct{}); ok && ch != nil {
    				// Close previous non-nil channel.
    				xioutil.SafeClose(ch)
    			}
    		}
    		globalServiceFreezeCnt = 0 // Don't risk going negative.
    	}
    	globalServiceFreezeMu.Unlock()
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Feb 28 07:02:14 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  3. cmd/erasure-decode.go

    	missingPartsHeal := int32(0) // Atomic bool flag.
    	readerIndex := 0
    	var wg sync.WaitGroup
    	// if readTrigger is true, it implies next disk.ReadAt() should be tried
    	// if readTrigger is false, it implies previous disk.ReadAt() was successful and there is no need
    	// to try reading the next disk.
    	for readTrigger := range readTriggerCh {
    		newBufLK.RLock()
    		canDecode := p.canDecode(newBuf)
    		newBufLK.RUnlock()
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:44:59 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  4. cmd/prepare-storage.go

    			m[err.Error()]--
    		}
    		m[err.Error()]++
    	}
    }()
    
    // Cleans up tmp directory of the local disk.
    func bgFormatErasureCleanupTmp(diskPath string) {
    	// Need to move temporary objects left behind from previous run of minio
    	// server to a unique directory under `minioMetaTmpBucket-old` to clean
    	// up `minioMetaTmpBucket` for the current run.
    	//
    	// /disk1/.minio.sys/tmp-old/
    	//  |__ 33a58b40-aecc-4c9f-a22f-ff17bfa33b62
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  5. cmd/config-migrate.go

    		// root credentials set via environment variable.
    		globalActiveCred = cfg.Credential
    	}
    
    	// Init compression config. For future migration, Compression config needs to be copied over from previous version.
    	switch cfg.Version {
    	case "29":
    		// V29 -> V30
    		cfg.Compression.Enabled = false
    		cfg.Compression.Extensions = strings.Split(compress.DefaultExtensions, config.ValueSeparator)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Oct 18 18:05:24 GMT 2023
    - 5.4K bytes
    - Viewed (0)
  6. cmd/dynamic-timeouts.go

    			atomic.StoreInt64(&dt.entries, 0)
    			dt.mutex.Unlock()
    
    			dt.adjust(logCopy)
    			return
    		}
    		dt.mutex.Unlock()
    	}
    }
    
    // adjust changes the value of the dynamic timeout based on the
    // previous results
    func (dt *dynamicTimeout) adjust(entries [dynamicTimeoutLogSize]time.Duration) {
    	failures, max := 0, time.Duration(0)
    	for _, dur := range entries[:] {
    		if dur == maxDuration {
    			failures++
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Aug 19 23:21:05 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  7. istioctl/pkg/kubeinject/kubeinject.go

    					return err
    				}
    				reader = in
    				defer func() {
    					if errClose := in.Close(); errClose != nil {
    						log.Errorf("Error: close file from %s, %s", inFilename, errClose)
    
    						// don't overwrite the previous error
    						if err == nil {
    							err = errClose
    						}
    					}
    				}()
    			}
    
    			var writer io.Writer
    			if outFilename == "" {
    				writer = c.OutOrStdout()
    			} else {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Mar 29 02:29:02 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  8. internal/s3select/json/preader.go

    	dst   chan []jstream.KVS // result of block decode
    	err   error              // any error encountered will be set here
    }
    
    // Read - reads single record.
    // Once Read is called the previous record should no longer be referenced.
    func (r *PReader) Read(dst sql.Record) (sql.Record, error) {
    	// If we have have any records left, return these before any error.
    	for len(r.current) <= r.recordsRead {
    		if r.err != nil {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Mar 05 04:57:35 GMT 2023
    - 6.4K bytes
    - Viewed (0)
  9. operator/cmd/mesh/install.go

    			tag, profile, humanReadableJoin(enabledComponents))
    		if !Confirm(prompt, stdOut) {
    			p.Println("Cancelled.")
    			os.Exit(1)
    		}
    	}
    
    	iop.Name = savedIOPName(iop)
    
    	// Detect whether previous installation exists prior to performing the installation.
    	if err := InstallManifests(iop, iArgs.Force, rootArgs.DryRun, kubeClient, client, iArgs.ReadinessTimeout, l); err != nil {
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 15.2K bytes
    - Viewed (0)
  10. src/bytes/buffer.go

    	if b.lastRead <= opInvalid {
    		return errors.New("bytes.Buffer: UnreadRune: previous operation was not a successful ReadRune")
    	}
    	if b.off >= int(b.lastRead) {
    		b.off -= int(b.lastRead)
    	}
    	b.lastRead = opInvalid
    	return nil
    }
    
    var errUnreadByte = errors.New("bytes.Buffer: UnreadByte: previous operation was not a successful read")
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 17:10:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
Back to top