- Sort Score
- Num 10 results
- Language All
Results 1201 - 1210 of 3,365 for createA (0.2 seconds)
-
src/test/java/jcifs/tests/persistent/HandleReconnectorTest.java
} @Test public void testReconnectHandleSuccess() throws Exception { when(mockManager.getHandleForReconnect("/test/file.txt")).thenReturn(testHandle); // Create a test reconnector that succeeds TestHandleReconnector testReconnector = new TestHandleReconnector(mockManager, true);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 5.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/TablesTransformValuesColumnTest.java
@Override Table<String, Character, Integer> makeTable() { Table<String, Character, Integer> table = HashBasedTable.create(); return transformValues(table, DIVIDE_BY_2); } @Override protected Map<String, Integer> makePopulatedMap() { Table<String, Character, Integer> table = HashBasedTable.create(); table.put("one", 'a', 1); table.put("two", 'a', 2); table.put("three", 'a', 3);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 1.6K bytes - Click Count (0) -
src/main/java/jcifs/context/SingletonContext.java
log.error("Failed to create singleton JCIFS context", e); } } return INSTANCE; } /** * This static method registers the SMB URL protocol handler which is * required to use SMB URLs with the <code>java.net.URL</code> class. If this * method is not called before attempting to create an SMB URL with the
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Iterables.java
return castOrCopyToCollection(iterable).toArray(); } /** * Converts an iterable into a collection. If the iterable is already a collection, it is * returned. Otherwise, an {@link java.util.ArrayList} is created with the contents of the * iterable in the same iteration order. */ private static <E extends @Nullable Object> Collection<E> castOrCopyToCollection( Iterable<E> iterable) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 16 18:35:28 GMT 2025 - 43.8K bytes - Click Count (0) -
cmd/erasure-healing.go
if loaded { newValue = oldValue newValue.count = oldValue.count + 1 return newValue, false } return VolInfo{ Name: volInfo.Name, Created: volInfo.Created, count: 1, }, false }) } return nil }, index) } if err := reduceReadQuorumErrs(ctx, g.Wait(), bucketMetadataOpIgnoredErrs, readQuorum); err != nil {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 34.7K bytes - Click Count (0) -
tests/test_security_api_key_query_optional.py
user = User(username=oauth_header) return user @app.get("/users/me") def read_current_user(current_user: Optional[User] = Depends(get_current_user)): if current_user is None: return {"msg": "Create an account first"} return current_user client = TestClient(app) def test_security_api_key(): response = client.get("/users/me?key=secret") assert response.status_code == 200, response.text
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 2K bytes - Click Count (0) -
tests/test_security_api_key_cookie_optional.py
user = User(username=oauth_header) return user @app.get("/users/me") def read_current_user(current_user: User = Depends(get_current_user)): if current_user is None: return {"msg": "Create an account first"} else: return current_user def test_security_api_key(): client = TestClient(app, cookies={"key": "secret"}) response = client.get("/users/me")
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 2.1K bytes - Click Count (0) -
src/main/java/org/codelibs/core/exception/SAXRuntimeException.java
private static final long serialVersionUID = -4933312103385038765L; /** * Creates a {@link SAXRuntimeException}. * * @param cause the underlying exception */ public SAXRuntimeException(final SAXException cause) { super("ECL0054", asArray(createMessage(cause)), cause); } /** * Creates a message. * * @param cause the underlying exception * @return the messageCreated: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Thu Jun 19 09:12:22 GMT 2025 - 2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/kuromoji/EditForm.java
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java
// lockD -> lockA lockD.lock(); lockA.lock(); lockA.unlock(); lockD.unlock(); // lockA -> lockD should warn but otherwise succeed because lockD was // created by a factory with the WARN policy. lockA.lock(); lockD.lock(); } public void testReentrantLock_tryLock() throws Exception { LockingThread thread = new LockingThread(lockA); thread.start();Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 16.2K bytes - Click Count (0)