- Sort Score
- Result 10 results
- Languages All
Results 601 - 610 of 915 for Gang (0.01 sec)
-
GcFinalizationTest.java
com.google.common.truth.Truth.assertThat; L20:import static org.junit.Assert.assertThrows; L21: L22:import com.google.common.testing.GcFinalization.FinalizationPredicate; L23:import com.google.common.util.concurrent.SettableFuture; L24:import java.lang.ref.WeakReference; L25:import java.util.WeakHashMap; L26:import java.util.concurrent.CountDownLatch; L27:import java.util.concurrent.atomic.AtomicBoolean; L28:import junit.framework.TestCase; L29:import org.checkerframework.checker.nullness.qual.Nullable;...github.com/google/guava/android/guava-testlib/t...Thu Oct 17 02:42:09 UTC 2024 7.9K bytes -
ThreadFactoryBuilderTest.java
L15: */ L16: L17:package com.google.common.util.concurrent; L18: L19:import static com.google.common.truth.Truth.assertThat; L20:import static org.junit.Assert.assertThrows; L21: L22:import com.google.common.testing.NullPointerTester; L23:import java.lang.Thread.UncaughtExceptionHandler; L24:import java.util.Locale; L25:import java.util.concurrent.Executors; L26:import java.util.concurrent.ThreadFactory; L27:import junit.framework.TestCase; L28: L29:/** L30: * Tests for ThreadFactoryBuilder. L31: *...github.com/google/guava/android/guava-tests/tes...Wed Sep 06 17:04:31 UTC 2023 7.5K bytes -
MapPutAllTester.java
lect.testing.AbstractMapTester; L33:import com.google.common.collect.testing.MinimalCollection; L34:import com.google.common.collect.testing.features.CollectionSize; L35:import com.google.common.collect.testing.features.MapFeature; L36:import java.lang.reflect.Method; L37:import java.util.ConcurrentModificationException; L38:import java.util.Iterator; L39:import java.util.LinkedHashMap; L40:import java.util.List; L41:import java.util.Map; L42:import java.util.Map.Entry; L43:import org.checkerfra...github.com/google/guava/guava-testlib/src/com/g...Wed Oct 30 16:15:19 UTC 2024 6.7K bytes -
ArbitraryInstancesTest.java
L71:import java.io.PrintStream; L72:import java.io.PrintWriter; L73:import java.io.Reader; L74:import java.io.StringReader; L75:import java.io.StringWriter; L76:import java.io.Writer; L77:import java.lang.reflect.AnnotatedElement; L78:import java.lang.reflect.GenericDeclaration; L79:import java.lang.reflect.Type; L80:import java.math.BigDecimal; L81:import java.math.BigInteger; L82:import java.nio.Buffer; L83:import java.nio.ByteBuffer; L84:import java.nio.CharBuffer; L85:import java.nio.DoubleBuffer;...github.com/google/guava/android/guava-testlib/t...Sat Oct 19 00:26:48 UTC 2024 21.8K bytes -
CipherSuiteTest.kt
String instance outside of the CipherSuite... L58: val cs = forJavaName("FakeCipherSuite_instancesAreInterned") L59: System.gc() // Unless cs references the String instance, it may now be garbage collected. L60: assertThat(forJavaName(java.lang.String(cs.javaName) as String)) L61: .isSameAs(cs) L62: } L63: L64: @Test L65: fun equals() { L66: assertThat(forJavaName("cipher")).isEqualTo(forJavaName("cipher")) L67: assertThat(forJavaName("cipherB")).isNotEqualTo(forJavaName("cipherA"))...github.com/square/okhttp/okhttp/src/test/java/o...Mon Jan 08 01:13:22 UTC 2024 8.2K bytes -
TestsForSetsInJavaUtil.java
L24:import com.google.common.collect.testing.features.CollectionFeature; L25:import com.google.common.collect.testing.features.CollectionSize; L26:import com.google.common.collect.testing.features.SetFeature; L27:import java.io.Serializable; L28:import java.lang.reflect.Method; L29:import java.util.AbstractSet; L30:import java.util.Collection; L31:import java.util.Collections; L32:import java.util.Comparator; L33:import java.util.EnumSet; L34:import java.util.HashSet; L35:import java.util.Iterator; L36:import...github.com/google/guava/android/guava-testlib/s...Wed Oct 30 16:15:19 UTC 2024 15K bytes -
WiresharkExample.kt
governing permissions and L14: * limitations under the License. L15: */ L16:@file:Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE", "Since15") L17: L18:package okhttp3.recipes.kt L19: L20:import java.io.File L21:import java.io.IOException L22:import java.lang.ProcessBuilder.Redirect L23:import java.util.logging.Handler L24:import java.util.logging.Level L25:import java.util.logging.LogRecord L26:import java.util.logging.Logger L27:import javax.crypto.SecretKey L28:import javax.net.ssl.SSLSession L29:import...github.com/square/okhttp/samples/guide/src/main...Mon Jan 08 01:13:22 UTC 2024 10.7K bytes -
StringsTest.java
plate", new ThrowsOnToString())) L228: .matches( L229: // J2kt nested class name does not use "$" L230: "boiler <com\\.google\\.common\\.base\\.StringsTest[.$]ThrowsOnToString@[0-9a-f]+ " L231: + "threw java\\.lang\\.UnsupportedOperationException> plate"); L232: } L233: L234: public void testLenientFormat_badArgumentToString_gwtFriendly() { L235: assertThat(Strings.lenientFormat("boiler %s plate", new ThrowsOnToString())) L236: .matches("boiler <.*>...github.com/google/guava/android/guava-tests/tes...Tue Sep 17 18:14:12 UTC 2024 10.4K bytes -
QueryHelper.java
java.util.Set; L25:import java.util.UUID; L26:import java.util.function.Consumer; L27: L28:import org.apache.logging.log4j.LogManager; L29:import org.apache.logging.log4j.Logger; L30:import org.apache.lucene.search.Query; L31:import org.codelibs.core.lang.StringUtil; L32:import org.codelibs.fess.Constants; L33:import org.codelibs.fess.entity.FacetInfo; L34:import org.codelibs.fess.entity.GeoInfo; L35:import org.codelibs.fess.entity.QueryContext; L36:import org.codelibs.fess.entity.SearchRequestPara...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 11.9K bytes -
OpenIdConnectAuthenticator.java
java.util.ArrayList; L20:import java.util.Arrays; L21:import java.util.HashMap; L22:import java.util.List; L23:import java.util.Map; L24: L25:import org.apache.logging.log4j.LogManager; L26:import org.apache.logging.log4j.Logger; L27:import org.codelibs.core.lang.StringUtil; L28:import org.codelibs.core.net.UuidUtil; L29:import org.codelibs.fess.app.web.base.login.ActionResponseCredential; L30:import org.codelibs.fess.app.web.base.login.FessLoginAssist.LoginCredentialResolver; L31:import org.codelibs.fess....github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:20:39 UTC 2024 12.3K bytes