- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 33 for logpath (0.05 sec)
-
guava/src/com/google/common/math/LongMath.java
* values, see {@link com.google.common.primitives.Longs}. * * @author Louis Wasserman * @since 11.0 */ @GwtCompatible public final class LongMath { @VisibleForTesting static final long MAX_SIGNED_POWER_OF_TWO = 1L << (Long.SIZE - 2); /** * Returns the smallest power of two greater than or equal to {@code x}. This is equivalent to
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Aug 29 16:20:07 UTC 2025 - 46.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java
// Create a very long filename StringBuilder longPath = new StringBuilder(); for (int i = 0; i < 100; i++) { longPath.append("verylongpath/"); } longPath.append("file.txt"); trans2QueryPathInfo = new Trans2QueryPathInformation(config, longPath.toString(), TEST_INFO_LEVEL); byte[] buffer = new byte[8192]; // Large buffer for long path
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/LongMathTest.java
for (int i = 0; i < LongMath.powersOf10.length; i++) { assertEquals(LongMath.checkedPow(10, i), LongMath.powersOf10[i]); } assertThrows( ArithmeticException.class, () -> LongMath.checkedPow(10, LongMath.powersOf10.length)); } @GwtIncompatible // TODO public void testConstantsHalfPowersOf10() { for (int i = 0; i < LongMath.halfPowersOf10.length; i++) { assertEquals(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 31.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java
StringBuilder longPath = new StringBuilder("\\server\\share"); for (int i = 0; i < 100; i++) { longPath.append("\\subfolder").append(i); } when(mockReferral.getTtl()).thenReturn(300); when(mockReferral.getRFlags()).thenReturn(0); when(mockReferral.getNode()).thenReturn(longPath.toString());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.6K bytes - Viewed (0) -
schema/schema.go
modelType = modelType.Elem() } if modelType.Kind() != reflect.Struct { if modelType.PkgPath() == "" { return nil, fmt.Errorf("%w: %+v", ErrUnsupportedDataType, dest) } return nil, fmt.Errorf("%w: %s.%s", ErrUnsupportedDataType, modelType.PkgPath(), modelType.Name()) } } // Cache the Schema for performance,
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Tue Aug 19 06:35:49 UTC 2025 - 12.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java
} @Test @DisplayName("Test writeBytesWireFormat with long path") void testWriteBytesWireFormatLongPath() { String longPath = "very\\long\\path\\to\\some\\deeply\\nested\\file\\in\\directory\\structure.txt"; request = new Smb2CreateRequest(mockConfig, longPath); byte[] buffer = new byte[2048]; int bytesWritten = request.writeBytesWireFormat(buffer, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 18.6K bytes - Viewed (0) -
guava/src/com/google/common/math/BigIntegerMath.java
int startingNumber = LongMath.factorials.length; long product = LongMath.factorials[startingNumber - 1]; // Strip off 2s from this value. int shift = Long.numberOfTrailingZeros(product); product >>= shift; // Use floor(log2(num)) + 1 to prevent overflow of multiplication. int productBits = LongMath.log2(product, FLOOR) + 1; int bits = LongMath.log2(startingNumber, FLOOR) + 1;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/jcifs/util/ServerResponseValidatorTest.java
validator.validatePath(""); // Empty should be allowed } @Test public void testPathTooLong() throws Exception { String longPath = "\\share" + "\\folder".repeat(5000); assertThrows(SmbException.class, () -> { validator.validatePath(longPath); }); } @Test public void testPathWithTraversal() throws Exception { assertThrows(SmbException.class, () -> {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/util/PathValidatorTest.java
} @Test public void testPathTooLong() throws Exception { StringBuilder longPath = new StringBuilder("\\share"); for (int i = 0; i < 100; i++) { longPath.append("\\verylongfoldername"); } assertThrows(SmbException.class, () -> { validator.validatePath(longPath.toString()); }); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.6K bytes - Viewed (0)