- Sort Score
- Result 10 results
- Languages All
Results 981 - 990 of 4,785 for New (0.02 sec)
-
android/guava-tests/test/com/google/common/io/CountingInputStreamTest.java
super.setUp(); counter = new CountingInputStream(new ByteArrayInputStream(new byte[20])); } public void testReadSingleByte() throws IOException { assertEquals(0, counter.getCount()); assertEquals(0, counter.read()); assertEquals(1, counter.getCount()); } public void testReadArray() throws IOException { assertEquals(10, counter.read(new byte[10])); assertEquals(10, counter.getCount());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 3.5K bytes - Viewed (0) -
compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/io/DefaultToolchainsReader.java
try (InputStream in = Files.newInputStream(input.toPath())) { InputSource source = new InputSource(input.toString()); return new PersistedToolchains(new MavenToolchainsStaxReader().read(in, isStrict(options), source)); } catch (XMLStreamException e) { throw new ToolchainsParseException( e.getMessage(), e.getLocation().getLineNumber(),
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.8K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepositoryTest.groovy
class SimpleClassMetaDataRepositoryTest extends Specification { @TempDir File tmpDir final SimpleClassMetaDataRepository<TestDomainObject> repository = new SimpleClassMetaDataRepository<TestDomainObject>() def canAddMetaData() { TestDomainObject value = new TestDomainObject('a') when: repository.put('class', value) then: repository.find('class') == value
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Sat Apr 06 02:21:33 UTC 2024 - 3.8K bytes - Viewed (0) -
src/cmd/asm/internal/arch/arm64.go
if isAmount { if num < 0 || num > 7 { return errors.New("index shift amount is out of range") } } if reg <= arm64.REG_R31 && reg >= arm64.REG_R0 { if !isAmount { return errors.New("invalid register extension") } switch ext { case "UXTB": if a.Type == obj.TYPE_MEM { return errors.New("invalid shift for the register offset addressing mode") }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Sep 29 09:04:58 UTC 2022 - 10.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/exentity/WebAuthentication.java
return new AuthenticationImpl(getAuthScope(), getCredentials(), getAuthScheme()); } private AuthScheme getAuthScheme() { final String scheme = getProtocolScheme(); if (Constants.BASIC.equals(scheme)) { return new BasicScheme(); } if (Constants.DIGEST.equals(scheme)) { return new DigestScheme(); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 12 01:54:15 UTC 2024 - 5.8K bytes - Viewed (0) -
samples/slack/src/main/java/okhttp3/slack/OAuthSessionFactory.java
if (mockWebServer != null) throw new IllegalStateException(); mockWebServer = new MockWebServer(); mockWebServer.setDispatcher(this); mockWebServer.start(slackApi.port); } public HttpUrl newAuthorizeUrl(String scopes, String team, Listener listener) { if (mockWebServer == null) throw new IllegalStateException(); ByteString state = randomToken(); synchronized (this) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Aug 12 07:26:27 UTC 2021 - 3.8K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/base/StringsRepeatBenchmark.java
throw new RuntimeException("Wrong length: " + x); } } } private static String oldRepeat(String string, int count) { // If this multiplication overflows, a NegativeArraySizeException or // OutOfMemoryError is not far behind final int len = string.length(); final int size = len * count; char[] array = new char[size]; for (int i = 0; i < size; i += len) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Sep 17 20:24:24 UTC 2021 - 3.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/api/json/SearchApiManager.java
String query = null; final StringBuilder buf = new StringBuilder(1000); request.setAttribute(Constants.SEARCH_LOG_ACCESS_TYPE, Constants.SEARCH_LOG_ACCESS_TYPE_JSON); try { final SearchRenderData data = new SearchRenderData(); final JsonRequestParams params = new JsonRequestParams(request, fessConfig); query = params.getQuery();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 12 01:54:46 UTC 2024 - 50.3K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/ClassMetaData.java
private final List<String> imports = new ArrayList<String>(); private final List<String> interfaceNames = new ArrayList<String>(); private final Map<String, PropertyMetaData> declaredProperties = new HashMap<String, PropertyMetaData>(); private final Set<MethodMetaData> declaredMethods = new HashSet<MethodMetaData>(); private final List<String> innerClassNames = new ArrayList<String>(); private String outerClassName;
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 10.1K bytes - Viewed (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuilderFactory.java
return new DefaultSettingsReader(); } protected SettingsWriter newSettingsWriter() { return new DefaultSettingsWriter(); } protected SettingsValidator newSettingsValidator() { return new DefaultSettingsValidator(new org.apache.maven.internal.impl.DefaultSettingsBuilder()); } /** * Creates a new settings builder instance. *
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.6K bytes - Viewed (0)