- Sort Score
- Num 10 results
- Language All
Results 191 - 200 of 3,237 for New (0.01 seconds)
-
android/guava-tests/test/com/google/common/primitives/BooleansTest.java
public void testRotate() { testRotate(new boolean[] {}, -1, new boolean[] {}); testRotate(new boolean[] {}, 0, new boolean[] {}); testRotate(new boolean[] {}, 1, new boolean[] {}); testRotate(new boolean[] {true}, -2, new boolean[] {true}); testRotate(new boolean[] {true}, -1, new boolean[] {true}); testRotate(new boolean[] {true}, 0, new boolean[] {true}); testRotate(new boolean[] {true}, 1, new boolean[] {true});
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 22:56:33 GMT 2025 - 25.2K bytes - Click Count (0) -
internal/crypto/key.go
} if len(extKey) != 32 { // safety check logger.CriticalIf(context.Background(), errors.New("crypto: invalid key length")) } var nonce [32]byte if _, err := io.ReadFull(random, nonce[:]); err != nil { logger.CriticalIf(context.Background(), errOutOfEntropy) } const Context = "object-encryption-key generation" mac := hmac.New(sha256.New, extKey) mac.Write([]byte(Context)) mac.Write(nonce[:]) mac.Sum(key[:0]) return key
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri May 16 14:27:42 GMT 2025 - 6.2K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
} }; static final PermittedMetaException UOE = new PermittedMetaException("UnsupportedOperationException") { @Override boolean isPermitted(Exception exception) { return exception instanceof UnsupportedOperationException; } }; static final PermittedMetaException ISE = new PermittedMetaException("IllegalStateException") { @OverrideCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed May 14 19:40:47 GMT 2025 - 20.8K bytes - Click Count (0) -
cmd/lock-rest-server-common.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "errors" ) var ( errLockConflict = errors.New("lock conflict") errLockNotInitialized = errors.New("lock not initialized") errLockNotFound = errors.New("lock not found")
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Nov 21 01:09:35 GMT 2023 - 973 bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java
private List<Server> servers; private List<Mirror> mirrors; private List<Profile> profiles; private final ProjectActivation projectActivation = new ProjectActivation(); private final ProfileActivation profileActivation = new ProfileActivation(); private List<String> pluginGroups; private boolean isProjectPresent = true;Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Dec 12 11:02:17 GMT 2024 - 32.1K bytes - Click Count (0) -
maven-tests/src/test/java/com/squareup/okhttp3/maventest/AppTest.java
/** * Unit test for simple App. */ public class AppTest { private final MockWebServer mockWebServer = new MockWebServer(); @Test public void testApp() throws IOException { mockWebServer.enqueue(new MockResponse(200, Headers.of(), "Hello, Maven!")); mockWebServer.start(); new SampleHttpClient().makeCall(mockWebServer.url("/")); }Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Jul 12 12:05:57 GMT 2025 - 1.1K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
* the same parameters forwarded and return value forwarded back or exception propagated as is. * * <p>For example: * * {@snippet : * new ForwardingWrapperTester().testForwarding(Foo.class, new Function<Foo, Foo>() { * public Foo apply(Foo foo) { * return new ForwardingFoo(foo); * } * }); * } * * @author Ben Yu * @since 14.0 */ @GwtIncompatible @J2ktIncompatible @NullMarkedCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 9.1K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocExtensionsBuilder.java
MethodMetaData methodMetaData = new MethodMetaData(id, extensionDoc.getTargetClass().getClassMetaData()); methodMetaData.addParameter("configClosure", new TypeMetaData(Closure.class.getName())); MethodDoc methodDoc = new MethodDoc(methodMetaData, Collections.singletonList(para)); extensionDoc.getExtraBlocks().add(new BlockDoc(methodDoc, propertyDoc, propertyMetaData.getType(), false));Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 4.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/ClassPathTest.java
URL url1 = new URL("file:/a"); URL url2 = new URL("file:/b"); URLClassLoader grandParent = new URLClassLoader(new URL[] {url1}, null); URLClassLoader parent = new URLClassLoader(new URL[] {url2}, grandParent); assertThat(ClassPath.getClassPathEntries(new ClassLoader(parent) {})) .containsExactly(new File("/a"), grandParent, new File("/b"), parent); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 21:00:51 GMT 2025 - 25.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableRangeSet.java
private static final ImmutableRangeSet<Comparable<?>> EMPTY = new ImmutableRangeSet<>(ImmutableList.of()); private static final ImmutableRangeSet<Comparable<?>> ALL = new ImmutableRangeSet<>(ImmutableList.of(Range.all())); /** * Returns a {@code Collector} that accumulates the input elements into a new {@code * ImmutableRangeSet}. As in {@link Builder}, overlapping ranges are not permitted and adjacent
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 27.5K bytes - Click Count (0)