Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 56 for Reset (0.15 sec)

  1. cmd/erasure-sets.go

    		select {
    		case <-ctx.Done():
    			return
    		case <-monitor.C:
    			if serverDebugLog {
    				console.Debugln("running drive monitoring")
    			}
    
    			s.connectDisks()
    
    			// Reset the timer for next interval
    			monitor.Reset(monitorInterval)
    		}
    	}
    }
    
    func (s *erasureSets) GetLockers(setIndex int) func() ([]dsync.NetLocker, string) {
    	return func() ([]dsync.NetLocker, string) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 37.7K bytes
    - Viewed (5)
  2. doc/godebug.md

    ### Go 1.23
    
    Go 1.23 changed the channels created by package time to be unbuffered
    (synchronous), which makes correct use of the [`Timer.Stop`](/pkg/time/#Timer.Stop)
    and [`Timer.Reset`](/pkg/time/#Timer.Reset) method results much easier.
    The [`asynctimerchan` setting](/pkg/time/#NewTimer) disables this change.
    There are no runtime metrics for this change,
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Apr 16 17:29:58 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  3. internal/kms/kes.go

    	}
    	timer := time.NewTimer(cacheDuration)
    	defer timer.Stop()
    
    	for {
    		select {
    		case <-ctx.Done():
    			return
    		case <-timer.C:
    			c.RefreshKey(ctx, logger)
    
    			// Reset for the next interval
    			timer.Reset(cacheDuration)
    		}
    	}
    }
    
    type kesClient struct {
    	lock         sync.RWMutex
    	defaultKeyID string
    	client       *kes.Client
    }
    
    var ( // compiler checks
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 16 15:43:39 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  4. cmd/tier.go

    		// To maintain the invariance that lastRefreshedAt records the
    		// timestamp of last successful refresh
    		config.lastRefreshedAt = UTCNow()
    		return nil
    	default:
    		return err
    	}
    
    	// Reset drivercache built using current config
    	for k := range config.drivercache {
    		delete(config.drivercache, k)
    	}
    	// Remove existing tier configs
    	for k := range config.Tiers {
    		delete(config.Tiers, k)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api_experimental.cc

    using tensorflow::string;
    
    void TFE_OpReset(TFE_Op* op_to_reset, const char* op_or_function_name,
                     const char* raw_device_name, TF_Status* status) {
      if (op_to_reset) {
        tensorflow::ImmediateExecutionOperation* op =
            tensorflow::unwrap(op_to_reset);
        op->Clear();
        status->status = op->Reset(op_or_function_name, raw_device_name);
      } else {
        TF_SetStatus(status, TF_INVALID_ARGUMENT,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 35.9K bytes
    - Viewed (3)
  6. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

          check(isLocallyInitiated) { "remotely-initiated streams should have headers" }
        }
      }
    
      /**
       * Returns true if this stream is open. A stream is open until either:
       *
       *  * A `SYN_RESET` frame abnormally terminates the stream.
       *  * Both input and output streams have transmitted all data and headers.
       *
       * Note that the input stream may continue to yield data even after a stream reports itself as
    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)
  7. cmd/bucket-targets.go

    						offlineDuration: offline,
    						lastHCAt:        time.Now(),
    						latency:         l,
    					}
    				}
    				cancel()
    				sys.hMutex.Lock()
    				sys.hc = m
    				sys.hMutex.Unlock()
    			}
    			hcTimer.Reset(defaultHealthCheckDuration)
    		case <-ctx.Done():
    			return
    		}
    	}
    }
    
    // periodically rebuild the healthCheck map from list of targets to clear
    // out stale endpoints
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  8. cmd/update.go

    	} else {
    		return nil, nil, fmt.Errorf("unsupported protocol scheme: %s", u.Scheme)
    	}
    	defer xhttp.DrainBody(reader)
    
    	b := bytebufferpool.Get()
    	bc := bytebufferpool.Get()
    	defer func() {
    		b.Reset()
    		bc.Reset()
    
    		bytebufferpool.Put(b)
    		bytebufferpool.Put(bc)
    	}()
    
    	w, err := zstd.NewWriter(bc)
    	if err != nil {
    		return nil, nil, err
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        sink1.writeUtf8("abc")
        assertFailsWith<IOException> {
          sink2.writeUtf8("abc")
          sink2.flush()
        }.also { expected ->
          assertThat(expected.message).isEqualTo("stream was reset: REFUSED_STREAM")
        }
        sink1.writeUtf8("def")
        sink1.close()
        assertFailsWith<ConnectionShutdownException> {
          connection.newStream(headerEntries("c", "cola"), true)
        }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 75.4K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy

                          On `master` branch, these two files are usually reset (cleaned up), unless you have special reasons not to do so.
                      </div>
                    </div>
                    </p>
                    """.stripIndent()
            )
            return violation
        }
    
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Apr 23 08:40:36 GMT 2024
    - 10.4K bytes
    - Viewed (0)
Back to top