- Sort Score
- Num 10 results
- Language All
Results 171 - 180 of 590 for Selection (0.07 seconds)
-
guava-tests/test/com/google/common/reflect/ReflectionTest.java
import org.jspecify.annotations.NullUnmarked; /** Tests for {@link Reflection} */ @NullUnmarked public class ReflectionTest extends TestCase { public void testGetPackageName() throws Exception { assertEquals("java.lang", Reflection.getPackageName(Iterable.class)); assertEquals("java", Reflection.getPackageName("java.MyType")); assertEquals("java.lang", Reflection.getPackageName(Iterable.class.getName()));Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.7K bytes - Click Count (0) -
src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java
// Mock the handshake process to do nothing complex mockResponse(HTTP_OK, "OK", null, null); // Act & Assert assertDoesNotThrow(() -> spiedConnection.getResponseCode()); // Use reflection to verify handshake method is called assertDoesNotThrow(() -> spiedConnection.getResponseCode()); assertDoesNotThrow(() -> spiedConnection.getInputStream()); } /**Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.6K bytes - Click Count (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java
* Uses scroll and bulk delete operations for efficient deletion of large result sets. * * @param callback The callback to configure the search request for identifying documents to delete. * @throws OpenSearchAccessException if the deletion fails. */ public void delete(final Consumer<SearchRequestBuilder> callback) {Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Thu Nov 20 08:40:57 GMT 2025 - 34.3K bytes - Click Count (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerThreadTest.java
final UrlQueue<?> urlQueue = new UrlQueueImpl<>(); urlQueue.setUrl("http://example.com/"); urlQueue.setDepth(1); when(urlFilter.match(anyString())).thenReturn(true); // Use reflection to access protected method final java.lang.reflect.Method method = CrawlerThread.class.getDeclaredMethod("isValid", UrlQueue.class); method.setAccessible(true);
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Mon Nov 24 03:59:47 GMT 2025 - 18.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java
response.getServerData().encryptionKeyLength = 8; // Domain name in OEM encoding (ASCII) with null terminator byte[] domainBytes = "DOMAIN\0".getBytes("US-ASCII"); // Use reflection to set protected byteCount field int byteCountValue = 8 + domainBytes.length; setByteCount(response, byteCountValue); byte[] buffer = new byte[byteCountValue]; int bufferIndex = 0;
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java
for (int i = 0; i < dataLength; i++) { testData[i] = (byte) (i & 0xFF); } System.arraycopy(testData, 0, buffer, dataOffsetFromHeader, dataLength); // Use reflection to set headerStart Field headerStartField = ServerMessageBlock2.class.getDeclaredField("headerStart"); headerStartField.setAccessible(true); headerStartField.set(response, headerStart);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 22.1K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/impl/MimeTypeHelperImpl.java
* <li>Normalize the filename to handle special characters.</li> * <li>Configure whether to use the filename for MIME type detection.</li> * <li>Configure whether to use the filename for MIME type detection when the stream is octet-stream.</li> * </ul> * * <p> * The MIME type detection is based on the {@code tika-mimetypes.xml} resource, which is loaded during initialization. * </p> * * <p> * Usage: * </p>
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sun Nov 23 12:19:14 GMT 2025 - 6.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/IndexingHelper.java
* This method first refreshes the index, then performs the deletion, and logs the result. * * @param searchEngineClient the search engine client to use for deletion * @param index the index name to delete documents from * @param queryBuilder the query to match documents for deletion * @return the number of documents that were deleted */Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 26.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/reflect/InvokableTest.java
assertEquals(Prepender.class, Prepender.constructor().getReturnType().getType()); } private static class WithConstructorAndTypeParameter<T> { @SuppressWarnings("unused") // by reflection <X> WithConstructorAndTypeParameter() {} } public void testConstructor_returnType_hasTypeParameter() throws Exception { Class<WithConstructorAndTypeParameter> type = WithConstructorAndTypeParameter.class;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Jul 16 17:42:14 GMT 2025 - 30.7K bytes - Click Count (0) -
RELEASE.md
`tf.train.experimental.enable_mixed_precision_graph_rewrite()`. * Add environment variable `TF_CUDNN_DETERMINISTIC`. Setting to "true" or "1" forces the selection of deterministic cuDNN convolution and max-pooling algorithms. When this is enabled, the algorithm selection procedure itself is also deterministic. ## Breaking Changes * Many backwards incompatible API changes have been made to clean up the APIs
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Tue Oct 28 22:27:41 GMT 2025 - 740.4K bytes - Click Count (3)