- Sort Score
- Num 10 results
- Language All
Results 951 - 960 of 5,478 for newA (0.08 seconds)
-
src/test/java/org/codelibs/core/text/TokenizerTest.java
final Tokenizer tokenizer = new Tokenizer(""); assertThat(tokenizer.nextToken(), is(Tokenizer.TT_EOF)); assertThat(tokenizer.nextToken(), is(Tokenizer.TT_EOF)); } /** * @throws Exception */ @Test public void testWhitespace() throws Exception { final Tokenizer tokenizer = new Tokenizer("\t \n");
Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 2K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableMultiset.java
@J2ktIncompatible @Override Object writeReplace() { return new SerializedForm(this); } @GwtIncompatible @J2ktIncompatible private void readObject(ObjectInputStream stream) throws InvalidObjectException { throw new InvalidObjectException("Use SerializedForm"); } /** * Returns a new builder. The generated builder is equivalent to the builder created by the {@linkCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 20.6K bytes - Click Count (0) -
internal/color/color.go
if IsTerminal() { return color.New(color.Bold).SprintfFunc() } return fmt.Sprintf }() RedBold = func() func(a ...any) string { if IsTerminal() { return color.New(color.FgRed, color.Bold).SprintFunc() } return fmt.Sprint }() RedBoldf = func() func(format string, a ...any) string { if IsTerminal() { return color.New(color.FgRed, color.Bold).SprintfFunc() }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 3.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java
void testGetBatchLimit() { testBlock = new TestAndXServerMessageBlock(mockConfig); assertEquals(0, testBlock.getBatchLimit(mockConfig, (byte) 0x25)); } @Test @DisplayName("Test encode without andx command") void testEncodeWithoutAndx() { testBlock = new TestAndXServerMessageBlock(mockConfig, (byte) 0x25); byte[] buffer = new byte[1024];
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 19.4K bytes - Click Count (0) -
src/test/java/org/codelibs/core/collection/ArrayMapTest.java
* @throws Exception */ @Test public void testRemove3() throws Exception { Map<MyKey, String> m = new ArrayMap<MyKey, String>(); m.put(new MyKey("1"), "d"); m.put(new MyKey("2"), "d"); m.remove(new MyKey("1")); assertThat(m.containsKey(new MyKey("1")), is(not(true))); } /** * @throws Exception */ @TestCreated: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 10.7K bytes - Click Count (0) -
src/test/java/org/codelibs/core/io/FileUtilTest.java
* @throws Exception */ @Test public void testIsPathSafe_WithFiles() throws Exception { final File baseDir = tempFolder.getRoot(); final File safeFile = new File(baseDir, "subdir/file.txt"); final File unsafeFile = new File(baseDir, "../../../etc/passwd"); assertTrue("Safe file should be allowed", FileUtil.isPathSafe(safeFile, baseDir));Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sat Nov 22 11:21:59 GMT 2025 - 10.3K bytes - Click Count (0) -
internal/config/identity/openid/jwt.go
if err != nil { return err } defer r.closeRespFn(resp.Body) if resp.StatusCode != http.StatusOK { return errors.New(resp.Status) } return r.pubKeys.parseAndAdd(resp.Body) } // ErrTokenExpired - error token expired var ( ErrTokenExpired = errors.New("token expired") ) func updateClaimsExpiry(dsecs string, claims map[string]any) error { expStr := claims["exp"] if expStr == "" {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 8.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java
when(config.getNotifyBufferSize()).thenReturn(8192); Smb2ChangeNotifyRequest req = new Smb2ChangeNotifyRequest(config, fileId); byte[] buffer = new byte[512]; req.writeBytesWireFormat(buffer, 0); byte[] readFileId = new byte[16]; System.arraycopy(buffer, 8, readFileId, 0, 16); assertArrayEquals(fileId, readFileId); } @Test
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.1K bytes - Click Count (0) -
src/test/java/jcifs/context/AbstractCIFSContextTest.java
} @Test void testHasDefaultCredentials_withNull() { context = new TestAbstractCIFSContext(null); // Test with null credentials assertFalse(context.hasDefaultCredentials()); } @Test void testRenewCredentials() { assertFalse(context.renewCredentials("someLocation", new Exception("someError"))); } @Test void testClose() throws CIFSException {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java
public static Test suite() { TestSuite suite = new TestSuite(); suite.addTestSuite(ForwardingSortedMultisetTest.class); suite.addTest( SortedMultisetTestSuiteBuilder.using( new TestStringMultisetGenerator() { @Override protected Multiset<String> create(String[] elements) { return new StandardImplForwardingSortedMultiset<>(
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 6.5K bytes - Click Count (0)