- Sort Score
- Result 10 results
- Languages All
Results 851 - 860 of 4,787 for _new (0.05 sec)
-
guava/src/com/google/common/io/ByteStreams.java
if (size < 0) { throw new IllegalArgumentException(String.format("Invalid size: %s", size)); } return newDataOutput(new ByteArrayOutputStream(size)); } /** * Returns a new {@link ByteArrayDataOutput} instance which writes to the given {@code * ByteArrayOutputStream}. The given output stream is not reset before being written to by the
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 29.7K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlXpathExtractor.java
if (in == null) { throw new CrawlerSystemException("The inputstream is null."); } try { final BufferedInputStream bis = new BufferedInputStream(in); final String enc = getEncoding(bis); final DOMParser parser = getDomParser(); final InputSource inputSource = new InputSource(bis); inputSource.setEncoding(enc);
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndX.java
lmHash = new byte[0]; ntHash = new byte[(password.length() + 1) * 2]; writeString( password, ntHash, 0 ); } else { // plain text String password = auth.getPassword(); lmHash = new byte[(password.length() + 1) * 2]; ntHash = new byte[0];
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 7.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/EquivalenceTest.java
public void testOnResultOf() { EquivalenceTester.of(Equivalence.equals().onResultOf(Functions.toStringFunction())) .addEquivalenceGroup(new IntValue(1), new IntValue(1)) .addEquivalenceGroup(new IntValue(2)) .test(); } public void testOnResultOf_equals() { new EqualsTester() .addEqualityGroup( Equivalence.identity().onResultOf(Functions.toStringFunction()),
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 6.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractIdleServiceTest.java
TestService service = new TestService(); assertEquals(0, service.startUpCalled); service.startAsync().awaitRunning(); assertEquals(1, service.startUpCalled); assertEquals(Service.State.RUNNING, service.state()); assertThat(service.transitionStates).containsExactly(Service.State.STARTING); } public void testStart_failed() { final Exception exception = new Exception("deliberate");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 7.5K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosEncData.java
} catch ( GeneralSecurityException e ) { throw new GeneralSecurityException("Checksum failed while decrypting."); } byte[] ivec = new byte[8]; IvParameterSpec params = new IvParameterSpec(ivec); SecretKeySpec skSpec = new SecretKeySpec(key.getEncoded(), "DES"); SecretKey sk = skSpec;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Mon Oct 02 12:02:06 UTC 2023 - 11.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/search/SearchAction.java
final StringBuilder buf = new StringBuilder(100); buf.append(form.q); if (!form.fields.isEmpty() && form.fields.containsKey(LABEL_FIELD)) { final String[] values = form.fields.get(LABEL_FIELD); final List<String> labelList = new ArrayList<>(); if (values != null) { Collections.addAll(labelList, values);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 12.3K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocPropertiesBuilder.java
List<Element> header = children(tr, "td"); if (header.size() < 1) { throw new RuntimeException(String.format("Expected at least 1 <td> in <thead>/<tr>, found: %s", header)); } Map<String, Element> inheritedValueTitleMapping = new HashMap<String, Element>(); List<Element> valueTitles = new ArrayList<Element>(); for (int i = 1; i < header.size(); i++) {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 6.2K bytes - Viewed (0) -
samples/static-server/src/main/java/okhttp3/sample/SampleServer.java
MockWebServer server = new MockWebServer(); server.useHttps(sslContext.getSocketFactory(), false); server.setDispatcher(this); server.start(port); } @Override public MockResponse dispatch(RecordedRequest request) { String path = request.getPath(); try { if (!path.startsWith("/") || path.contains("..")) throw new FileNotFoundException();
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Jan 02 02:50:44 UTC 2019 - 4.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/ViewHelperTest.java
FileUtil.writeBytes(propertiesFile.getAbsolutePath(), new byte[0]); propertiesFile.deleteOnExit(); DynamicProperties systemProps = new DynamicProperties(propertiesFile); ComponentUtil.register(systemProps, "systemProperties"); userAgentHelper = new UserAgentHelper(); ComponentUtil.register(userAgentHelper, "userAgentHelper"); pathMappingHelper = new PathMappingHelper(); pathMappingHelper.init();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 15.1K bytes - Viewed (0)