- Sort Score
- Result 10 results
- Languages All
Results 231 - 240 of 1,046 for asDays (0.06 sec)
-
guava-tests/test/com/google/common/graph/StandardImmutableDirectedNetworkTest.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.graph; import com.google.common.collect.Ordering; import java.util.Arrays; import java.util.Collection; import org.jspecify.annotations.NullUnmarked; import org.junit.runner.RunWith; import org.junit.runners.Parameterized; import org.junit.runners.Parameterized.Parameters;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/HMACT64Test.java
import static org.junit.jupiter.api.Assertions.assertNotSame; import static org.junit.jupiter.api.Assertions.assertThrows; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.util.Arrays; import org.junit.jupiter.api.Test; class HMACT64Test { private static final byte[] TEST_KEY = "testkey".getBytes(); private static final byte[] LONG_TEST_KEY = new byte[80]; // Longer than 64 bytes
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java
when(delegate.next()).thenReturn(entry1, entry2); // Adapter that always throws FileEntryAdapterIterator iterator = new FileEntryAdapterIterator(parent, delegate, null) { @Override protected SmbResource adapt(FileEntry e) throws MalformedURLException { throw new MalformedURLException("Always fails"); } };
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/GsaConfigParser.java
if (StringUtil.isBlank(s)) { return false; } if (Arrays.stream(webProtocols).anyMatch(p -> s.startsWith(p))) { return web; } if (Arrays.stream(fileProtocols).anyMatch(p -> s.startsWith(p))) { return file; } return true;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 21.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/FilesTest.java
File asciiFile = getTestFile("ascii.txt"); File i18nFile = getTestFile("i18n.txt"); assertTrue(Arrays.equals(ASCII.getBytes(US_ASCII), Files.toByteArray(asciiFile))); assertTrue(Arrays.equals(I18N.getBytes(UTF_8), Files.toByteArray(i18nFile))); assertTrue(Arrays.equals(I18N.getBytes(UTF_8), Files.asByteSource(i18nFile).read())); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 22.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java
* * <p>The {@code shutdownNow} method of the returned executor always returns an empty list despite * the fact that everything is still technically awaiting execution. The {@code getDelay} method * of any {@link ScheduledFuture} returned by the executor will always return the max long value * instead of the time until the user-specified delay. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 6.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java
import static com.google.common.primitives.TestPlatform.reduceIterationsIfGwt; import static com.google.common.testing.SerializableTester.reserialize; import static com.google.common.truth.Truth.assertThat; import static java.util.Arrays.stream; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import com.google.common.collect.ImmutableList;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 20.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java
@Test @DisplayName("Should handle large buffer encoding") void testLargeBufferEncode() { byte[] largeName = new byte[1024]; Arrays.fill(largeName, (byte) 'X'); byte[] largeData = new byte[2048]; Arrays.fill(largeData, (byte) 'Y'); TestCreateContextRequest request = new TestCreateContextRequest(largeName, largeData); byte[] buffer = new byte[8192];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameQueryResponse.java
* License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.netbios; import java.util.Arrays; import jcifs.Configuration; class NameQueryResponse extends NameServicePacket { NameQueryResponse(final Configuration config) { super(config); this.recordName = new Name(config); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.2K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolutionExceptionTest.java
* KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ package org.apache.maven.artifact.resolver; import java.util.Arrays; import java.util.List; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; /** * Test the artifact resolution exception message * */
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K bytes - Viewed (0)