- Sort Score
- Num 10 results
- Language All
Results 511 - 520 of 1,382 for hero (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
compat/maven-model/src/test/java/org/apache/maven/model/SerializationTest.java
Model model; try (InputStream is = getClass().getResourceAsStream("/xml/pom.xml")) { model = new MavenXpp3Reader().read(is); } // Serialize an inner child here so that the BaseObject.childrenTracking is non null Build build = model.getBuild(); ByteArrayOutputStream baos = new ByteArrayOutputStream(); try (ObjectOutputStream oos = new ObjectOutputStream(baos)) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java
assertEquals("Expected structureSize = 2", exception.getMessage()); } @Test @DisplayName("Test readBytesWireFormat with zero structure size throws exception") void testReadBytesWireFormatZeroStructureSize() { byte[] buffer = new byte[1024]; int bufferIndex = 0; // Set structure size to 0 (invalid)Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.3K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java
} @Test void testTimeReadWriteZero() { byte[] buffer = new byte[8]; ServerMessageBlock.writeTime(0, buffer, 0); // When zero is written, it stays as zero in buffer // When read back, it converts to negative Unix time due to Windows FileTime conversion long expectedTime = -SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.9K bytes - Click Count (0) -
internal/crypto/header_test.go
} if err != nil && key != zeroKey { t.Errorf("Test %d: parsing failed and client key is not zero key", i) } if err == nil && key == zeroKey { t.Errorf("Test %d: parsed client key is zero key", i) } } } var ssecCopyParseTests = []struct { Header http.Header ExpectedErr error }{ { Header: http.Header{
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Jul 13 14:52:15 GMT 2022 - 21.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java
* garbage-collected, even if there are no more instances of FinalizableReferenceQueue itself. * The code in FinalizableReferenceQueue goes to considerable trouble to ensure that there are * no such references and the tests here check that that trouble has not been in vain. * * When we reference FinalizableReferenceQueue in this test, we are referencing a class that is
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 26 02:41:17 GMT 2026 - 7.7K bytes - Click Count (0) -
docs/debugging/inspect/decrypt-v1.go
got := crc32.ChecksumIEEE(key) if want != got { return fmt.Errorf("Invalid key checksum, want %x, got %x", want, got) } stream, err := sio.AES_256_GCM.Stream(key) if err != nil { return err } // Zero nonce, we only use each key once, and 32 bytes is plenty. nonce := make([]byte, stream.NonceSize()) encr := stream.DecryptReader(r, nonce, nil) _, err = io.Copy(w, encr) if err == nil { fmt.Println(okMsg) }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Apr 11 21:22:47 GMT 2024 - 1.6K bytes - Click Count (0) -
build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/VersionPropertiesLoader.java
import org.gradle.api.provider.ProviderFactory; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.util.Properties; // Define this here because we need it early. public class VersionPropertiesLoader { static Properties loadBuildSrcVersion(File input, ProviderFactory providerFactory) throws IOException { Properties props = new Properties();Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Aug 09 07:39:30 GMT 2021 - 2.7K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Preconditions.java
* @see Verify#verify Verify.verify() */ public static void checkState( boolean expression, /* * TODO(cpovirk): Consider removing @Nullable here, as we've done with the other methods' * errorMessageTemplate parameters: It is unlikely that callers intend for their string * template to be null (though we do handle that case gracefully at runtime). I've left this
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 08 18:10:02 GMT 2026 - 53.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/eventbus/outside/OutsideEventBusTest.java
/* * If you do this test from common.eventbus.EventBusTest, it doesn't actually test the behavior. * That is, even if exactly the same method works from inside the common.eventbus package tests, * it can fail here. */ public void testAnonymous() { AtomicReference<String> holder = new AtomicReference<>(); AtomicInteger deliveries = new AtomicInteger(); EventBus bus = new EventBus(); bus.register(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 1.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MultimapsFilterEntriesAsMapTest.java
public MultimapsFilterEntriesAsMapTest() { super(true, true, false); } private Multimap<String, Integer> createMultimap() { Multimap<String, Integer> unfiltered = HashMultimap.create(); unfiltered.put("zero", 55556); unfiltered.put("one", 55556); unfiltered.put("badkey", 1); return Multimaps.filterEntries(unfiltered, PREDICATE); } @Override protected Map<String, Collection<Integer>> makeEmptyMap() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 2.1K bytes - Click Count (0)