Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 302 for duration1 (0.14 sec)

  1. internal/ioutil/ioutil_test.go

    package ioutil
    
    import (
    	"bytes"
    	"context"
    	"errors"
    	"io"
    	"os"
    	"strings"
    	"testing"
    	"time"
    )
    
    type sleepWriter struct {
    	timeout time.Duration
    }
    
    func (w *sleepWriter) Write(p []byte) (n int, err error) {
    	time.Sleep(w.timeout)
    	return len(p), nil
    }
    
    func (w *sleepWriter) Close() error {
    	return nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. src/main/webapp/WEB-INF/fe.tld

        <example>
          ${fe:parseDate(doc.tstamp, "yyyy-MM-dd HH:mm:ss")}
        </example>
      </function>
    
      <function>
        <description>
          Returns formatted duration from a given value.
        </description>
        <name>formatDuration</name>
        <function-class>org.codelibs.fess.taglib.FessFunctions</function-class>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Dec 23 06:18:48 UTC 2023
    - 10K bytes
    - Viewed (0)
  3. cmd/batch-job-common-types.go

    // BatchJobRetry stores retry configuration used in the event of failures.
    type BatchJobRetry struct {
    	line, col int
    	Attempts  int           `yaml:"attempts" json:"attempts"` // number of retry attempts
    	Delay     time.Duration `yaml:"delay" json:"delay"`       // delay between each retries
    }
    
    var _ yaml.Unmarshaler = &BatchJobRetry{}
    
    // UnmarshalYAML - BatchJobRetry extends unmarshal to extract line, column information
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

          )
    
        override fun nanoTime() = System.nanoTime()
    
        override fun coordinatorNotify(taskRunner: TaskRunner) {
          taskRunner.condition.signal()
        }
    
        /**
         * Wait a duration in nanoseconds. Unlike [java.lang.Object.wait] this interprets 0 as
         * "don't wait" instead of "wait forever".
         */
        @Throws(InterruptedException::class)
        @Suppress("PLATFORM_CLASS_MAPPED_TO_KOTLIN")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 29 00:33:04 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/-CacheControlCommon.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    @file:Suppress("ktlint:standard:filename")
    
    package okhttp3.internal
    
    import kotlin.time.Duration.Companion.seconds
    import okhttp3.CacheControl
    import okhttp3.Headers
    
    internal fun CacheControl.commonToString(): String {
      var result = headerValue
      if (result == null) {
        result =
          buildString {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  6. logger/logger.go

    	// Info info log level
    	Info
    )
    
    // Writer log writer interface
    type Writer interface {
    	Printf(string, ...interface{})
    }
    
    // Config logger config
    type Config struct {
    	SlowThreshold             time.Duration
    	Colorful                  bool
    	IgnoreRecordNotFoundError bool
    	ParameterizedQueries      bool
    	LogLevel                  LogLevel
    }
    
    // Interface logger interface
    type Interface interface {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Nov 07 02:19:41 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  7. cmd/lock-rest-server.go

    	default:
    		dst.Code = dsync.RespErr
    		dst.Err = err.Error()
    	}
    	return dst, nil
    }
    
    const (
    	// Lock maintenance interval.
    	lockMaintenanceInterval = 1 * time.Minute
    
    	// Lock validity duration
    	lockValidityDuration = 1 * time.Minute
    )
    
    // lockMaintenance loops over all locks and discards locks
    // that have not been refreshed for some time.
    func lockMaintenance(ctx context.Context) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingEventListener.kt

       *     take any event class.
       * @param elapsedMs the time in milliseconds elapsed since the immediately-preceding event, or
       *     -1L to take any duration.
       */
      fun takeEvent(
        eventClass: Class<out CallEvent>? = null,
        elapsedMs: Long = -1L,
      ): CallEvent {
        val result = eventSequence.remove()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9K bytes
    - Viewed (0)
  9. okhttp-tls/README.md

    Clients might rely on the platform certificates and servers might use a private
    organization-specific certificate authority.
    
    By default `HeldCertificate` instances expire after 24 hours. Use `duration()` to adjust.
    
    By default server certificates need to identify which hostnames they're trusted for. You may add as
    many as necessary with `addSubjectAlternativeName()`. This mechanism also supports a very limited
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Dec 17 15:34:10 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java

    /**
     * Implementation of {@code Futures#withTimeout}.
     *
     * <p>Future that delegates to another but will finish early (via a {@link TimeoutException} wrapped
     * in an {@link ExecutionException}) if the specified duration expires. The delegate future is
     * interrupted and cancelled if it times out.
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 8.1K bytes
    - Viewed (0)
Back to top