- Sort Score
- Result 10 results
- Languages All
Results 601 - 610 of 5,459 for New (2.15 sec)
-
src/test/java/jcifs/internal/fscc/FileInformationTest.java
long originalValue = 0x123456789ABCDEFL; FileEndOfFileInformation original = new FileEndOfFileInformation(originalValue); // Encode byte[] buffer = new byte[8]; int encoded = original.encode(buffer, 0); assertEquals(8, encoded); // Decode FileEndOfFileInformation decoded = new FileEndOfFileInformation(); int decodedBytes = decoded.decode(buffer, 0, 8);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/Striped.java
* @return a new {@code Striped<Lock>} */ public static Striped<Lock> lock(int stripes) { return custom(stripes, PaddedLock::new); } /** * Creates a {@code Striped<Lock>} with lazily initialized, weakly referenced locks. Every lock is * reentrant. * * @param stripes the minimum number of stripes (locks) required * @return a new {@code Striped<Lock>} */Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 16 22:01:32 UTC 2025 - 20.6K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepositoryTest.groovy
class SimpleClassMetaDataRepositoryTest extends Specification { @TempDir File tmpDir final SimpleClassMetaDataRepository<TestDomainObject> repository = new SimpleClassMetaDataRepository<TestDomainObject>() def canAddMetaData() { TestDomainObject value = new TestDomainObject('a') when: repository.put('class', value) then: repository.find('class') == valueRegistered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Sat Apr 06 02:21:33 UTC 2024 - 3.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/DirFileEntryEnumIterator1.java
if (p.lastIndexOf('/') != p.length() - 1) { throw new SmbException(loc.getURL() + " directory must end with '/'"); } if (unc.lastIndexOf('\\') != unc.length() - 1) { throw new SmbException(unc + " UNC must end with '\\'"); } final SmbTreeHandleImpl th = getTreeHandle(); this.response = new Trans2FindFirst2Response(th.getConfig()); try {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java
byte[] buffer = new byte[20]; response.wordCount = 0; int bytesRead = response.readParameterWordsWireFormat(buffer, 0); assertEquals(0, bytesRead); } /** * Test of readBytesWireFormat method, of class SmbComQueryInformationResponse. */ @Test public void testReadBytesWireFormat() { byte[] buffer = new byte[10]; int bufferIndex = 0;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.5K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacLogonInfo.java
throw new PACDecodingException("Invalid number of SIDs in PAC expect" + extraSidCount + " have " + realExtraSidCount); } extraSidAtts = new PacSidAttributes[extraSidCount]; final int[] pointers = new int[extraSidCount]; final int[] attributes = new int[extraSidCount]; for (int i = 0; i < extraSidCount; i++) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 14.3K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/lifecycle/DefaultLifecyclesTest.java
when(mockedPlexusContainer.lookupMap(Lifecycle.class)).thenReturn(lifeCycles); DefaultLifecycles dl = new DefaultLifecycles( new DefaultLifecycleRegistry( List.of(new DefaultLifecycleRegistry.LifecycleWrapperProvider(mockedPlexusContainer))), new DefaultLookup(mockedPlexusContainer)); assertEquals("clean", dl.getLifeCycles().get(0).getId());
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 3.9K bytes - Viewed (0) -
tests/named_argument_test.go
if err := DB.Exec("UPDATE named_users SET name1 = @name, name2 = @name2, name3 = @name", sql.Named("name", "jinzhu-new"), sql.Named("name2", "jinzhu-new2")).Error; err != nil { t.Errorf("failed to update with named arg") } namedUser.Name1 = "jinzhu-new" namedUser.Name2 = "jinzhu-new2" namedUser.Name3 = "jinzhu-new" var result5 NamedUser
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Tue Dec 21 11:50:00 UTC 2021 - 2.7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/util/CrawlingParameterUtilTest.java
// Test in a different thread final CountDownLatch latch = new CountDownLatch(1); final AtomicReference<String> otherThreadUrlQueueSessionId = new AtomicReference<>(); final AtomicReference<String> otherThreadContextSessionId = new AtomicReference<>(); Thread otherThread = new Thread(() -> { try { // Should be null in other thread (ThreadLocal isolation)Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 14.6K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/AbstractCache.java
invalidate(key); } } @Override public void invalidateAll() { throw new UnsupportedOperationException(); } @Override public CacheStats stats() { throw new UnsupportedOperationException(); } @Override public ConcurrentMap<K, V> asMap() { throw new UnsupportedOperationException(); } /**
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 9.1K bytes - Viewed (0)