- Sort Score
- Num 10 results
- Language All
Results 221 - 230 of 1,673 for Simple (0.04 seconds)
-
src/test/java/jcifs/smb/BufferCacheImplTest.java
BufferCacheImpl impl = new BufferCacheImpl(2, 3); byte[] a = new byte[1]; byte[] c = new byte[2]; byte[] d = new byte[4]; impl.releaseBuffer(a); // goes to slot 0 impl.releaseBuffer(c); // goes to slot 1 impl.releaseBuffer(d); // dropped (cache full) byte[] first = impl.getBuffer(); // should return slot 0 -> a
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.5K bytes - Click Count (0) -
docs/pt/docs/tutorial/first-steps.md
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 13.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/WinErrorTest.java
for (int c : WinError.WINERR_CODES) { assertTrue(c >= 0, "Code should be non-negative: " + c); assertTrue(seen.add(c), "Duplicate code detected: " + c); } } // Simple collaborator to demonstrate interaction verification with Mockito interface Handler { void handle(int code, String message); } @Mock Handler handler; @Test
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.4K bytes - Click Count (0) -
guava/pom.xml
<arg>${project.basedir}/src</arg> <arg>--add-reads=com.google.common=ALL-UNNAMED</arg> <!-- https://errorprone.info/docs/installation#maven --> <arg>-XDcompilePolicy=simple</arg> </compilerArgs> <multiReleaseOutput>true</multiReleaseOutput> </configuration> </execution> </executions> </plugin> <plugin>
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Nov 17 21:36:50 GMT 2025 - 9.6K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Sources.java
/** * Factory methods for creating different types of sources. * <p> * This class provides specialized source implementations for different use cases: * <ul> * <li>Path sources - simple access to file content</li> * <li>Build sources - POM files being actively built by Maven</li> * <li>Resolved sources - POMs resolved from repositories</li> * </ul> * * @since 4.0.0 */ @Experimental
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 8.2K bytes - Click Count (0) -
internal/config/identity/openid/jwt_test.go
claimsMap.SetExpiry(time.Now().Add(time.Minute)) claimsMap.SetAccessKey("test-access") if err := updateClaimsExpiry("3600", claimsMap.MapClaims); err != nil { t.Error(err) } // Build simple token with updated expiration claim token := jwtgo.NewWithClaims(jwtgo.SigningMethodHS256, claimsMap) tokenString, err := token.SignedString(signKey) if err != nil { t.Error(err) }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 8.2K bytes - Click Count (0) -
ci/official/utilities/setup.sh
# specifically. Use your best judgment to keep the scripts in this directory # lean and easy to follow. When in doubt, remember that for CI scripts, "keep it # simple" is MUCH more important than "don't repeat yourself." # -e: abort script if one command fails # -u: error if undefined variable used # -x: log all commands
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Thu Jan 09 18:37:25 GMT 2025 - 6.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/NetServerFileEntryAdapterIteratorTest.java
when(parent.getContext()).thenReturn(this.ctx); when(parent.getLocator()).thenReturn(parentLocator); // Make the parent appear as a workgroup to use the simpler URL code-path when(parentLocator.isWorkgroup()).thenReturn(true); } /** Simple implementation of FileEntry for controlled inputs in tests. */ private static final class StubFileEntry implements FileEntry { private final String name;
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.9K bytes - Click Count (0) -
docs/es/docs/advanced/async-tests.md
El `TestClient` está basado en <a href="https://www.python-httpx.org" class="external-link" target="_blank">HTTPX</a>, y afortunadamente, podemos usarlo directamente para probar la API. ## Ejemplo { #example } Para un ejemplo simple, consideremos una estructura de archivos similar a la descrita en [Aplicaciones Más Grandes](../tutorial/bigger-applications.md){.internal-link target=_blank} y [Testing](../tutorial/testing.md){.internal-link target=_blank}: ``` .
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 4.2K bytes - Click Count (0) -
src/test/java/jcifs/smb1/UniAddressTest.java
* UniAddress} are network dependent and therefore not exercised here – they * would require complex stubbing of static methods. Instead the tests * concentrate on the instance methods and simple static predicates * that are observable without network access. */ @ExtendWith(MockitoExtension.class) class UniAddressTest { /* ---------------------------------------------------------------------Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.9K bytes - Click Count (0)