- Sort Score
- Num 10 results
- Language All
Results 641 - 650 of 914 for Hero (0.03 seconds)
-
src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 11K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancer.java
int totalWeight = 0; for (ChannelInfo channel : channels) { totalWeight += channel.getScore(); } if (totalWeight == 0) { // All channels have zero score, pick randomly List<ChannelInfo> list = new ArrayList<>(channels); return list.get(ThreadLocalRandom.current().nextInt(list.size())); } // Weighted random selectionCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 8.2K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/graph/FilteredProjectDependencyGraph.java
} } if (filtered.isEmpty() || filtered.size() == 1) { // Optimization to skip streaming, distincting, and collecting to a new list when there is zero or one // project, aka there can't be duplicates. return filtered; } // Distinct the projects to avoid duplicates. Duplicates are possible in multi-module projects.Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Jun 19 16:34:39 GMT 2025 - 6.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java
*/ public SMB1SigningDigest(final byte[] macSigningKey) { this.digest = Crypto.getMD5(); this.macSigningKey = macSigningKey; } /** * Construct a digest with a non-zero starting sequence number * * @param macSigningKey * The MAC signing key used for generating signatures * @param initialSequence * The initial sequence number for signingCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 11.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/Smb2TransformHeader.java
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 9.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java
// Service accessors assertEquals("cifs", auth.getService()); auth.setService(""); assertEquals("", auth.getService()); // Lifetime accessors (edge: zero/negative) auth.setUserLifeTime(0); assertEquals(0, auth.getUserLifeTime()); auth.setUserLifeTime(-1); assertEquals(-1, auth.getUserLifeTime()); auth.setLifeTime(0);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/math/BigDecimalMathTest.java
ArithmeticException.class, () -> BigDecimalMath.roundToDouble(input, UNNECESSARY)); } } } public void testRoundToDouble_zero() { new RoundToDoubleTester(BigDecimal.ZERO).setExpectation(0.0, RoundingMode.values()).test(); } public void testRoundToDouble_oneThird() { new RoundToDoubleTester( BigDecimal.ONE.divide(BigDecimal.valueOf(3), new MathContext(50, HALF_EVEN)))Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Nov 19 01:35:24 GMT 2025 - 11K bytes - Click Count (0) -
android/guava/src/com/google/common/net/InetAddresses.java
* addresses, the output follows <a href="http://tools.ietf.org/html/rfc5952">RFC 5952</a> section * 4. The main difference is that this method uses "::" for zero compression, while Java's version * uses the uncompressed form (except on Android, where the zero compression is also done). The * other difference is that this method outputs any scope ID in the format that it was provided at
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Feb 19 21:24:11 GMT 2025 - 47.4K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/DcerpcBindTest.java
resultField.setAccessible(true); assertEquals(result, resultField.get(bind), "Result should be set from decoded value"); } @Test @DisplayName("decode_out should handle non-zero result codes") void testDecodeOutWithError() throws Exception { // Given int errorResult = 2; when(mockBuffer.dec_ndr_short()).thenReturn(2048, 2048, 5, errorResult, 1);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 22.7K bytes - Click Count (0) -
internal/rest/client.go
// to explicitly say that the ContentLength is zero is // to set the Body to nil. But turns out too much code // depends on NewRequest returning a non-nil Body, // so we use a well-known ReadCloser variable instead // and have the http package also treat that sentinel // variable to mean explicitly zero. if req.GetBody != nil && req.ContentLength == 0 { req.Body = http.NoBody
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 14.7K bytes - Click Count (0)