- Sort Score
- Num 10 results
- Language All
Results 3871 - 3880 of 6,187 for New (0.02 seconds)
-
tests/preload_suits_test.go
) DB.Migrator().DropTable(&Level3{}, &Level2{}, &Level1{}, &Level4{}) if err := DB.AutoMigrate(new(Level4), new(Level3), new(Level2), new(Level1)); err != nil { t.Error(err) } want := new(Level1) if err := DB.Save(want).Error; err != nil { t.Error(err) } got := new(Level1) err := DB.Preload("Level2.Level3s.Level4").Last(&got).Error if err != nil { t.Error(err) }
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Thu Jun 05 11:34:13 GMT 2025 - 30.4K bytes - Click Count (0) -
docs/contribute/concurrency.md
This is necessary for bookkeeping when creating new streams. Correct framing requires that stream IDs are sequential on the socket, so we need to bundle assigning the ID with sending the `SYN_STREAM` frame. ## Connection Pool
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 06 16:35:36 GMT 2022 - 7K bytes - Click Count (0) -
src/main/java/jcifs/smb/BufferCacheImpl.java
* @param maxBuffers the maximum number of buffers to cache * @param maxSize the size of each buffer in bytes * */ public BufferCacheImpl(final int maxBuffers, final int maxSize) { this.cache = new Object[maxBuffers]; this.bufferSize = maxSize; } /** * {@inheritDoc} * * @see jcifs.BufferCache#getBuffer() */ @Override public byte[] getBuffer() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.2K bytes - Click Count (0) -
android/guava/src/com/google/common/escape/CharEscaper.java
*/ private static char[] growBuffer(char[] dest, int index, int size) { if (size < 0) { // overflow - should be OutOfMemoryError but GWT/j2cl don't support it throw new AssertionError("Cannot increase internal buffer any further"); } char[] copy = new char[size]; if (index > 0) { System.arraycopy(dest, 0, copy, 0, index); } return copy; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 15:45:16 GMT 2025 - 6.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/EvictingQueueTest.java
List<String> misbehavingList = new AbstractList<String>() { @Override public int size() { return list.size(); } @Override public String get(int index) { if (index < 2) { throw new AssertionError(); } return list.get(index); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 6.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java
} catch (final GeneralSecurityException e) { throw new RuntimeCIFSException("Failed to encrypt password", e); } this.passwordLength = this.password.length; } else if (this.ctx.getConfig().isDisablePlainTextPasswords()) { throw new RuntimeCIFSException("Plain text passwords are disabled"); } else { // plain text
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/VerifyTest.java
// Don't bother testing: Verify is like Preconditions. See the discussion on that class. } private static final Object IGNORE_ME = new Object() { @Override public String toString() { throw new AssertionFailedError(); } }; private static final String FORMAT = "I ate %s pies."; private static void checkMessage(Exception e) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 3.3K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Absent.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Apr 15 22:14:00 GMT 2025 - 2.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/TablesTest.java
assertThat(nullEntry.toString()).isEqualTo("(null,null)=null"); } public void testEntryEquals() { Cell<String, Integer, Character> entry = immutableCell("foo", 1, 'a'); new EqualsTester() .addEqualityGroup(entry, immutableCell("foo", 1, 'a')) .addEqualityGroup(immutableCell("bar", 1, 'a')) .addEqualityGroup(immutableCell("foo", 2, 'a'))
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 3.1K bytes - Click Count (0) -
src/main/java/org/codelibs/core/sql/DriverManagerUtil.java
assertArgumentNotNull("driver", driver); try { DriverManager.registerDriver(driver); } catch (final SQLException e) { throw new SQLRuntimeException(e); } } /** * Deregisters a JDBC driver. * * @param driver * The JDBC driver to deregister. Must not be {@literal null}. */
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 3.2K bytes - Click Count (0)