- Sort Score
- Num 10 results
- Language All
Results 1411 - 1420 of 2,093 for sset (0.03 seconds)
-
android/guava/src/com/google/common/collect/Iterables.java
public static int frequency(Iterable<?> iterable, @Nullable Object element) { if ((iterable instanceof Multiset)) { return ((Multiset<?>) iterable).count(element); } else if ((iterable instanceof Set)) { return ((Set<?>) iterable).contains(element) ? 1 : 0; } return Iterators.frequency(iterable.iterator(), element); } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 16 18:35:28 GMT 2025 - 43.8K bytes - Click Count (0) -
tests/generics_test.go
} // update with Set after chain newName := "GenericsSetUpdate_After" newAge := uint(31) rows, err := gorm.G[User](DB). Where("id = ?", u.ID). Set( clause.Assignment{Column: clause.Column{Name: "name"}, Value: newName}, clause.Assignment{Column: clause.Column{Name: "age"}, Value: newAge}, ). Update(ctx) if err != nil { t.Fatalf("Set Update failed: %v", err) }
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Tue Dec 30 08:11:14 GMT 2025 - 34.9K bytes - Click Count (0) -
src/main/java/jcifs/SmbResource.java
/** * Return the attributes of this file. Attributes are represented as a * bitset that must be masked with <code>ATTR_*</code> constants to determine * if they are set or unset. The value returned is suitable for use with * the <code>setAttributes()</code> method. * * @return the <code>ATTR_*</code> attributes associated with this fileCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 28K bytes - Click Count (1) -
src/test/java/org/codelibs/fess/helper/WebFsIndexHelperTest.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 15.6K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/UnsignedLong.java
* primitive conversion from {@code long} to {@code float}, and correctly rounded. */ @Override public float floatValue() { if (value >= 0) { return (float) value; } // The top bit is set, which means that the float value is going to come from the top 24 bits. // So we can ignore the bottom 8, except for rounding. See doubleValue() for more. return (float) ((value >>> 1) | (value & 1)) * 2f; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 04 13:03:16 GMT 2025 - 8.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java
} }); Runnable task = numCalls::incrementAndGet; assertThrows(RejectedExecutionException.class, () -> executor.execute(task)); assertEquals(0, numCalls.get()); reject.set(false); executor.execute(task); assertEquals(1, numCalls.get()); } /* * Under Android, MyError propagates up and fails the test? *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 10.5K bytes - Click Count (0) -
src/main/java/jcifs/smb1/http/NtlmHttpFilter.java
private boolean insecureBasic; private String realm; @Override public void init(final FilterConfig filterConfig) throws ServletException { String name; int level; /* Set jcifs.smb1 properties we know we want; soTimeout and cachePolicy to 30min. */ Config.setProperty("jcifs.smb1.smb.client.soTimeout", "1800000"); Config.setProperty("jcifs.smb1.netbios.cachePolicy", "1200");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 11.3K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 11.4K bytes - Click Count (0) -
src/test/java/jcifs/http/NtlmServletTest.java
verify(response, never()).setHeader(eq("WWW-Authenticate"), anyString()); verify(response, never()).setStatus(HttpServletResponse.SC_UNAUTHORIZED); } /** * Helper method to set up common mocks required for authentication tests. * @throws CIFSException */ private void setupMocksForAuth() throws Exception { // This is a simplified way to get a transport context into the servlet.
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 11.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbPipeHandleImplTest.java
verify(fileHandle, never()).release(); verify(tree, atLeastOnce()).release(); // Re-prepare state for second branch: not open but handle set when(fileHandle.isValid()).thenReturn(false); // Need to reopen logic to set handle again // Reset open flag by reconstructing target target = new SmbPipeHandleImpl(pipe);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.7K bytes - Click Count (0)