- Sort Score
- Result 10 results
- Languages All
Results 1881 - 1890 of 2,094 for test1 (0.12 sec)
-
guava/src/com/google/common/io/TempFileCreator.java
* if previous calls have initialized the {@code PermissionSupplier} fields. * * <p>This lets us test the effects of different values of the {@code user.name} system property * without needing a separate VM or classloader. */ @IgnoreJRERequirement // used only when Path is available (and only from tests) @VisibleForTesting static void testMakingUserPermissionsFromScratch() throws IOException {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 06 17:11:11 UTC 2023 - 12.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashCodeTest.java
import com.google.common.io.BaseEncoding; import com.google.common.testing.ClassSanityTester; import java.util.Arrays; import junit.framework.TestCase; import org.checkerframework.checker.nullness.qual.Nullable; /** * Unit tests for {@link HashCode}. * * @author Dimitris Andreou * @author Kurt Alfred Kluever */ public class HashCodeTest extends TestCase { // note: asInt(), asLong() are in little endian
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 13.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SynchronizedNavigableMapTest.java
import java.util.Map.Entry; import java.util.NavigableMap; import java.util.NavigableSet; import java.util.SortedMap; import junit.framework.TestSuite; import org.checkerframework.checker.nullness.qual.Nullable; /** * Tests for {@link Maps#synchronizedNavigableMap(NavigableMap)}. * * @author Louis Wasserman */ public class SynchronizedNavigableMapTest extends SynchronizedMapTest { @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 22:09:38 UTC 2024 - 12.2K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AggregateFuture.java
* * @param <InputT> the type of the individual inputs * @param <OutputT> the type of the output (i.e. this) future */ @GwtCompatible @ElementTypesAreNonnullByDefault @SuppressWarnings( // Whenever both tests are cheap and functional, it's faster to use &, | instead of &&, || "ShortCircuitBoolean") abstract class AggregateFuture<InputT extends @Nullable Object, OutputT extends @Nullable Object>
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 13:13:32 UTC 2024 - 16.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/BytesTest.java
assertThat((long) arraysDim1 * arraysDim2).isNotEqualTo((long) (arraysDim1 * arraysDim2)); byte[][] arrays = new byte[arraysDim1][]; // it's shared to avoid using too much memory in tests byte[] sharedArray = new byte[arraysDim2]; Arrays.fill(arrays, sharedArray); try { Bytes.concat(arrays); fail(); } catch (IllegalArgumentException expected) { } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 17.3K bytes - Viewed (0) -
src/test/java/jcifs/tests/FileLocationTest.java
SmbResource c = new SmbFile(r, "test?#foo") ) { assertEquals("test?#foo", c.getName()); try ( SmbFile t = new SmbFile(c.getLocator().getURL(), getContext()) ) { assertEquals("test%3f#foo", t.getName()); } } } @Test public void testBindingAddress () throws DcerpcException, MalformedURLException, CIFSException, IOException {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Wed Jan 08 13:16:07 UTC 2020 - 23K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java
import com.google.common.testing.SerializableTester; import java.math.BigInteger; import java.util.List; import java.util.Set; import junit.framework.Test; import junit.framework.TestSuite; /** * Tests for {@link ImmutableRangeSet}. * * @author Louis Wasserman */ @GwtIncompatible // ImmutableRangeSet public class ImmutableRangeSetTest extends AbstractRangeSetTest {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 02 18:21:29 UTC 2024 - 21.5K bytes - Viewed (0) -
common/scripts/kind_provisioner.sh
KUBECONFIG="${CLUSTER_KUBECONFIG}" setup_kind_cluster "${CLUSTER_NAME}" "${IMAGE}" "${CLUSTER_YAML}" "true" "false" # Kind currently supports getting a kubeconfig for internal or external usage. To simplify our tests, # its much simpler if we have a single kubeconfig that can be used internally and externally. # To do this, we can replace the server with the IP address of the docker container
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Aug 21 04:47:23 UTC 2024 - 17.2K bytes - Viewed (0) -
tests/connpool_test.go
package tests_test import ( "context" "database/sql" "os" "reflect" "testing" "gorm.io/driver/mysql" "gorm.io/gorm" . "gorm.io/gorm/utils/tests" ) type wrapperTx struct { *sql.Tx conn *wrapperConnPool } func (c *wrapperTx) PrepareContext(ctx context.Context, query string) (*sql.Stmt, error) { c.conn.got = append(c.conn.got, query) return c.Tx.PrepareContext(ctx, query) }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Tue Feb 06 02:54:40 UTC 2024 - 5.5K bytes - Viewed (0) -
cmd/bitrot.go
return errFileCorrupt } left -= read if !bytes.Equal(h.Sum(nil), hashBuf[:n]) { return errFileCorrupt } } return nil } // bitrotSelfTest performs a self-test to ensure that bitrot // algorithms compute correct checksums. If any algorithm // produces an incorrect checksum it fails with a hard error. // // bitrotSelfTest tries to catch any issue in the bitrot implementation
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jan 30 20:43:25 UTC 2024 - 7.6K bytes - Viewed (0)