- Sort Score
- Result 10 results
- Languages All
Results 1091 - 1100 of 1,747 for synced (0.1 sec)
-
internal/store/batch.go
package store import ( "context" "errors" "sync" "time" ) // ErrBatchFull indicates that the batch is full var ErrBatchFull = errors.New("batch is full") const defaultCommitTimeout = 30 * time.Second // Batch represents an ordered batch type Batch[I any] struct { items []I limit uint32 store Store[I] quitCh chan struct{} sync.Mutex } // BatchConfig represents the batch config
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 2.9K bytes - Viewed (0) -
cmd/batch-rotate.go
selectObj := func(info FileInfo) (ok bool) { if r.Flags.Filter.OlderThan > 0 && time.Since(info.ModTime) < r.Flags.Filter.OlderThan { // skip all objects that are newer than specified older duration return false } if r.Flags.Filter.NewerThan > 0 && time.Since(info.ModTime) >= r.Flags.Filter.NewerThan { // skip all objects that are older than specified newer duration return false
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Sep 18 17:59:03 UTC 2024 - 14.7K bytes - Viewed (0) -
cmd/bitrot-streaming.go
// You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "bytes" "context" "hash" "io" "sync" xhttp "github.com/minio/minio/internal/http" "github.com/minio/minio/internal/ioutil" "github.com/minio/minio/internal/ringbuffer" ) // Calculates bitrot in chunks and writes the hash into the stream.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 21 12:20:54 UTC 2024 - 6K bytes - Viewed (0) -
tests/table_test.go
package tests_test import ( "regexp" "sync" "testing" "gorm.io/driver/postgres" "gorm.io/gorm" "gorm.io/gorm/schema" "gorm.io/gorm/utils/tests" . "gorm.io/gorm/utils/tests" ) type UserWithTable struct { gorm.Model Name string } func (UserWithTable) TableName() string { return "gorm.user" } func TestTable(t *testing.T) { dryDB := DB.Session(&gorm.Session{DryRun: true})
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Sat Mar 09 09:31:28 UTC 2024 - 10.6K bytes - Viewed (0) -
cmd/os_unix.go
const blockSize = 8 << 10 // 8192 // By default at least 128 entries in single getdents call (1MiB buffer) var ( direntPool = sync.Pool{ New: func() interface{} { buf := make([]byte, blockSize*128) return &buf }, } direntNamePool = sync.Pool{ New: func() interface{} { buf := make([]byte, blockSize) return &buf }, } )
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 9.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ReflectionFreeAssertThrows.java
e -> e instanceof InvocationTargetException, StackOverflowError.class, e -> e instanceof StackOverflowError); } }; // used under GWT, etc., since the override of this method does not exist there ImmutableMap<Class<? extends Throwable>, Predicate<Throwable>> exceptions() { return ImmutableMap.of(); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 20:00:30 UTC 2024 - 6.9K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java
import org.checkerframework.checker.nullness.qual.Nullable; /** * A mutable type-to-instance map. See also {@link ImmutableTypeToInstanceMap}. * * @author Ben Yu * @since 13.0 */ @ElementTypesAreNonnullByDefault public final class MutableTypeToInstanceMap<B extends @Nullable Object> extends ForwardingMap<TypeToken<? extends @NonNull B>, B> implements TypeToInstanceMap<B> {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jun 14 17:55:55 UTC 2024 - 5.8K bytes - Viewed (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/InvokerRequest.java
* for invoking a Maven build or command. * * @param <O> the type of {@link Options} used for this request, extending the base {@link Options} interface * * @since 4.0.0 */ @Immutable @Experimental public interface InvokerRequest<O extends Options> { /** * The parser request this instance was created from. */ @Nonnull ParserRequest parserRequest();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Oct 17 08:06:47 UTC 2024 - 5.2K bytes - Viewed (0) -
guava/src/com/google/common/reflect/AbstractInvocationHandler.java
* throw new UnsupportedOperationException(); * } * } * * CharSequence unsupported = Reflection.newProxy(CharSequence.class, new Unsupported()); * </pre> * * @author Ben Yu * @since 12.0 */ @ElementTypesAreNonnullByDefault public abstract class AbstractInvocationHandler implements InvocationHandler { private static final Object[] NO_ARGS = {}; /** * {@inheritDoc} *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jan 05 17:43:40 UTC 2022 - 5.2K bytes - Viewed (0) -
guava/src/com/google/common/graph/SuccessorsFunction.java
* href="https://github.com/google/guava/wiki/GraphsExplained#notes-for-implementors">notes for * implementors</a> * * @author Joshua O'Madadhain * @author Jens Nyman * @param <N> Node parameter type * @since 23.0 */ @Beta @DoNotMock("Implement with a lambda, or use GraphBuilder to build a Graph with the desired edges") @ElementTypesAreNonnullByDefault public interface SuccessorsFunction<N> { /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 26 17:43:39 UTC 2021 - 4.3K bytes - Viewed (0)