- Sort Score
- Num 10 results
- Language All
Results 1371 - 1380 of 1,624 for round (0.02 seconds)
-
tests/test_application.py
"path,expected_status,expected_response", [ ("/api_route", 200, {"message": "Hello World"}), ("/non_decorated_route", 200, {"message": "Hello World"}), ("/nonexistent", 404, {"detail": "Not Found"}), ], ) def test_get_path(path, expected_status, expected_response): response = client.get(path) assert response.status_code == expected_status assert response.json() == expected_responseCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 56.9K bytes - Click Count (0) -
cmd/bucket-metadata.go
// in FS mode it possible that we have actual // files in this folder with `.minio.sys/buckets/bucket/configFile` continue } if errors.Is(err, errConfigNotFound) { // legacy file config not found, proceed to look for new metadata. continue } return nil, err } configs[legacyFile] = configData b.Created = info.ModTime } return configs, nil }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 18.2K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/ClassSanityTester.java
Assert.assertFalse( "No " + factoryMethodsDescription + " that return " + returnTypeToTest.getName() + " or subtype are found in " + declaringClass + ".", factoriesToTest.isEmpty()); return factoriesToTest; } } private void testEqualsUsing(Invokable<?, ?> factory)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 32.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/ParameterUtilTest.java
} @Test public void test_parse_advancedScenarios() { String value; Map<String, String> paramMap; // Test with whitespace around keys and values value = " key1 = value1 \n key2=value2\n"; paramMap = ParameterUtil.parse(value); assertEquals(2, paramMap.size()); assertEquals("value1", paramMap.get("key1"));Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 22.8K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java
import java.util.function.Function; import java.util.stream.Collector; import org.jspecify.annotations.Nullable; /** * GWT emulated version of {@link com.google.common.collect.ImmutableSortedMap}. It's a thin wrapper * around a {@link java.util.TreeMap}. * * @author Hayward Chan */ public final class ImmutableSortedMap<K, V> extends ForwardingImmutableMap<K, V> implements SortedMap<K, V> { @SuppressWarnings("unchecked")Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 08 18:10:02 GMT 2026 - 16.6K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
} private static final class UnknownElementException extends RuntimeException { private UnknownElementException(Collection<?> expected, Object actual) { super("Returned value '" + actual + "' not found. Remaining elements: " + expected); } @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0; } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 21.4K bytes - Click Count (0) -
internal/lru/lru.go
// or deleting it for being stale. func (c *LRU[K, V]) Contains(key K) (ok bool) { c.mu.RLock() defer c.mu.RUnlock() _, ok = c.items[key] return ok } // Peek returns the key value (or undefined if not found) without updating // the "recently used"-ness of the key. func (c *LRU[K, V]) Peek(key K) (value V, ok bool) { c.mu.RLock() defer c.mu.RUnlock() var ent *Entry[K, V] if ent, ok = c.items[key]; ok {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:35:55 GMT 2026 - 12.6K bytes - Click Count (0) -
internal/ringbuffer/ring_buffer.go
// Copyright 2019 smallnest. All rights reserved. // Use of this source code is governed by a MIT-style // license that can be found in the LICENSE file. package ringbuffer import ( "context" "errors" "io" "sync" "unsafe" ) var ( // ErrTooMuchDataToWrite is returned when the data to write is more than the buffer size. ErrTooMuchDataToWrite = errors.New("too much data to write")
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 13.3K bytes - Click Count (0) -
tensorflow/c/eager/c_api_test_util.cc
CHECK_EQ(TF_GetCode(status.get()), TF_OK) << TF_Message(status.get()); if (dev_type == device_type) { *device_name = dev_name; LOG(INFO) << "Found " << device_type << " device " << *device_name; TF_DeleteDeviceList(devices); return true; } } TF_DeleteDeviceList(devices); return false; }
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Oct 09 05:56:18 GMT 2025 - 23.4K bytes - Click Count (0) -
tensorflow/c/c_api_test.cc
const OpDefs& ops = op_list.op(); bool found = std::find_if(ops.begin(), ops.end(), [](const tensorflow::OpDef& op_def) { return op_def.name() == "TestCApi"; }) != ops.end(); EXPECT_TRUE(found); TF_DeleteBuffer(op_list_buffer); } }
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Jan 07 04:56:09 GMT 2026 - 97.3K bytes - Click Count (0)