- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 1,272 for shore (0.03 seconds)
-
src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java
SmbResourceLocatorImpl a = locator("smb://server/share/dir/file.txt"); assertEquals("file.txt", a.getName()); // share name with trailing slash when only share present SmbResourceLocatorImpl b = locator("smb://server/share/"); assertEquals("share/", b.getName()); // host when no path/share SmbResourceLocatorImpl c = locator("smb://server/");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.6K bytes - Click Count (0) -
internal/event/target/nsq.go
return nil, fmt.Errorf("unable to initialize the queue store of NSQ `%s`: %w", id, err) } } target := &NSQTarget{ id: event.TargetID{ID: id, Name: "nsq"}, args: args, loggerOnce: loggerOnce, store: queueStore, quitCh: make(chan struct{}), } if target.store != nil { store.StreamItems(target.store, target, target.quitCh, target.loggerOnce) }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 7.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackTest.java
commitCount.incrementAndGet(); } }; // Store some documents DataStoreParams params = new DataStoreParams(); Map<String, Object> data = new HashMap<>(); callback.store(params, data); callback.store(params, data); callback.store(params, data); assertEquals(3L, callback.getDocumentSize());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 12.5K bytes - Click Count (0) -
internal/store/queuestore.go
} // Del - Deletes an entry from the store. func (store *QueueStore[_]) Del(key Key) error { store.Lock() defer store.Unlock() return store.del(key) } // Len returns the entry count. func (store *QueueStore[_]) Len() int { store.RLock() l := len(store.entries) defer store.RUnlock() return l } // lockless call func (store *QueueStore[_]) del(key Key) error {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 7.8K bytes - Click Count (0) -
internal/event/target/mqtt.go
} // Delete the event from store. return target.store.Del(key) } // Save - saves the events to the store if queuestore is configured, which will // be replayed when the mqtt connection is active. func (target *MQTTTarget) Save(eventData event.Event) error { if target.store != nil { _, err := target.store.Put(eventData) return err } if err := target.init(); err != nil { return err }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Sep 06 23:06:30 GMT 2024 - 8.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbSessionInternalTest.java
"share, " // empty service }) void getSmbTree_invalid(String share, String service) { doThrow(new IllegalArgumentException("invalid share/service")).when(session).getSmbTree(eq(share), eq(service)); IllegalArgumentException ex = assertThrows(IllegalArgumentException.class, () -> session.getSmbTree(share, service)); assertTrue(ex.getMessage().contains("invalid"));Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.8K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/Shorts.java
* * @param value any value in the range of the {@code short} type * @return the {@code short} value that equals {@code value} * @throws IllegalArgumentException if {@code value} is greater than {@link Short#MAX_VALUE} or * less than {@link Short#MIN_VALUE} */ public static short checkedCast(long value) { short result = (short) value;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Oct 22 18:14:49 GMT 2025 - 25.7K bytes - Click Count (0) -
src/main/java/org/codelibs/core/convert/ShortConversionUtil.java
if (pattern != null) { return Short.valueOf(new SimpleDateFormat(pattern).format(o)); } return (short) ((java.util.Date) o).getTime(); } else if (o instanceof Boolean) { return ((Boolean) o) ? (short) 1 : (short) 0; } else { return toShort(o.toString()); } } private static Short toShort(final String s) {
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 3.8K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbFileTest.java
assertEquals("smb1://server/share/", new SmbFile("smb1://server/share/file.txt").getParent()); // Test parent of a directory assertEquals("smb1://server/share/", new SmbFile("smb1://server/share/dir/").getParent()); // Test parent of a share assertEquals("smb1://server/", new SmbFile("smb1://server/share/").getParent()); // Test parent of a server
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.5K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/rpcTest.java
unicodeString.length = (short) 10; unicodeString.maximum_length = (short) 20; unicodeString.buffer = new short[] { 65, 66, 67 }; // A, B, C // Then: Values should be set correctly assertEquals((short) 10, unicodeString.length); assertEquals((short) 20, unicodeString.maximum_length); assertArrayEquals(new short[] { 65, 66, 67 }, unicodeString.buffer);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.5K bytes - Click Count (0)