Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 302 for duration1 (0.08 sec)

  1. okhttp/src/test/java/okhttp3/CallKotlinTest.kt

        proxySelector.proxies.add(Proxy.NO_PROXY)
        server.shutdown()
    
        client =
          client.newBuilder()
            .proxySelector(proxySelector)
            .readTimeout(Duration.ofMillis(100))
            .connectTimeout(Duration.ofMillis(100))
            .build()
    
        val request = Request(server.url("/"))
        assertFailsWith<IOException> {
          client.newCall(request).execute()
        }.also { expected ->
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. cmd/update-notifier.go

    )
    
    // prepareUpdateMessage - prepares the update message, only if a
    // newer version is available.
    func prepareUpdateMessage(downloadURL string, older time.Duration) string {
    	if downloadURL == "" || older <= 0 {
    		return ""
    	}
    
    	// Compute friendly duration string to indicate time
    	// difference between newer and current release.
    	t := time.Time{}
    	newerThan := humanize.RelTime(t, t.Add(older), "before the latest release", "")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Mar 09 03:07:08 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. cmd/admin-handlers.go

    	durationStr := r.Form.Get(peerRESTDuration)
    	duration, err := time.ParseDuration(durationStr)
    	if err != nil {
    		duration = globalNetPerfMinDuration
    	}
    
    	if duration < globalNetPerfMinDuration {
    		// We need sample size of minimum 10 secs.
    		duration = globalNetPerfMinDuration
    	}
    
    	duration = duration.Round(time.Second)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

      }
    
      /** Determines whether the given method takes a Duration as its last parameter. */
      private static boolean isDurationBased(Method method) {
        Class<?>[] parameterTypes = method.getParameterTypes();
        return parameterTypes.length >= 1
            && parameterTypes[parameterTypes.length - 1] == Duration.class;
      }
    
      /** Determines whether the given method returns a boolean value. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:18:12 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

      }
    
      /** Determines whether the given method takes a Duration as its last parameter. */
      private static boolean isDurationBased(Method method) {
        Class<?>[] parameterTypes = method.getParameterTypes();
        return parameterTypes.length >= 1
            && parameterTypes[parameterTypes.length - 1] == Duration.class;
      }
    
      /** Determines whether the given method returns a boolean value. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  6. docs/bucket/retention/README.md

    MinIO server allows WORM for specific objects or by configuring a bucket with default object lock configuration that applies default retention mode and retention duration to all objects. This makes objects in the bucket immutable i.e. delete of the version are not allowed until an expiry specified in the bucket's object lock configuration or object retention.
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_extra_data_types/test_tutorial001_py310.py

            "repeat_at": "15:30:00",
            "process_after": 300,
        }
        expected_response = data.copy()
        expected_response.update(
            {
                "start_process": "2018-12-22T14:05:00+00:00",
                "duration": 176_100,
                "item_id": item_id,
            }
        )
        response = client.put(f"/items/{item_id}", json=data)
        assert response.status_code == 200, response.text
        assert response.json() == expected_response
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Apr 19 00:11:40 UTC 2024
    - 7K bytes
    - Viewed (0)
  8. cmd/batch-rotate.go

    		}
    	}
    	return nil
    }
    
    // BatchKeyRotateFilter holds all the filters currently supported for batch replication
    type BatchKeyRotateFilter struct {
    	NewerThan     time.Duration `yaml:"newerThan,omitempty" json:"newerThan"`
    	OlderThan     time.Duration `yaml:"olderThan,omitempty" json:"olderThan"`
    	CreatedAfter  time.Time     `yaml:"createdAfter,omitempty" json:"createdAfter"`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Queues.java

    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.base.Preconditions;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.time.Duration;
    import java.util.ArrayDeque;
    import java.util.Collection;
    import java.util.Deque;
    import java.util.PriorityQueue;
    import java.util.Queue;
    import java.util.concurrent.ArrayBlockingQueue;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 26 14:11:14 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/Callables.java

        checkNotNull(callable);
        checkNotNull(listeningExecutorService);
        return () -> listeningExecutorService.submit(callable);
      }
    
      /**
       * Wraps the given callable such that for the duration of {@link Callable#call} the thread that is
       * running will have the given name.
       *
       * @param callable The callable to wrap
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 4.4K bytes
    - Viewed (0)
Back to top