Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 2,269 for testInt (0.23 sec)

  1. src/bytes/buffer_test.go

    	}
    	return s
    }
    
    func TestNewBuffer(t *testing.T) {
    	buf := NewBuffer(testBytes)
    	check(t, "NewBuffer", buf, testString)
    }
    
    var buf Buffer
    
    // Calling NewBuffer and immediately shallow copying the Buffer struct
    // should not result in any allocations.
    // This can be used to reset the underlying []byte of an existing Buffer.
    func TestNewBufferShallow(t *testing.T) {
    	testenv.SkipIfOptimizationOff(t)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 13:31:36 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/EmptyImmutableTableTest.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.testing.EqualsTester;
    
    /**
     * Tests {@link EmptyImmutableTable}
     *
     * @author Gregory Kick
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/EmptyImmutableTableTest.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.testing.EqualsTester;
    
    /**
     * Tests {@link EmptyImmutableTable}
     *
     * @author Gregory Kick
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

    import com.google.common.collect.ObjectArrays;
    import com.google.common.collect.testing.ListTestSuiteBuilder;
    import com.google.common.collect.testing.SampleElements;
    import com.google.common.collect.testing.TestListGenerator;
    import com.google.common.collect.testing.features.CollectionFeature;
    import com.google.common.collect.testing.features.CollectionSize;
    import com.google.common.testing.EqualsTester;
    import java.util.ArrayList;
    import java.util.Arrays;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 06 15:23:21 GMT 2023
    - 20K bytes
    - Viewed (0)
  5. android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

      }
    
      public void testGet_interface() {
        assertNull(ArbitraryInstances.get(SomeInterface.class));
      }
    
      public void testGet_runnable() {
        ArbitraryInstances.get(Runnable.class).run();
      }
    
      public void testGet_class() {
        assertSame(SomeAbstractClass.INSTANCE, ArbitraryInstances.get(SomeAbstractClass.class));
        assertSame(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/OptionalTest.java

    import com.google.common.collect.FluentIterable;
    import com.google.common.collect.ImmutableList;
    import com.google.common.testing.EqualsTester;
    import com.google.common.testing.NullPointerTester;
    import java.util.Collections;
    import java.util.List;
    import java.util.Set;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Unit test for {@link Optional}.
     *
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  7. src/archive/tar/tar_test.go

    // license that can be found in the LICENSE file.
    
    package tar
    
    import (
    	"bytes"
    	"errors"
    	"fmt"
    	"internal/testenv"
    	"io"
    	"io/fs"
    	"math"
    	"os"
    	"path"
    	"path/filepath"
    	"reflect"
    	"strings"
    	"testing"
    	"time"
    )
    
    type testError struct{ error }
    
    type fileOps []any // []T where T is (string | int64)
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/test/issue1435.go

    // is considered authoritative, but non-trivial improvements to that
    // should be mirrored here.
    func test1435(t *testing.T) {
    	if syscall.Getuid() != 0 {
    		t.Skip("skipping root only test")
    	}
    	if testing.Short() && testenv.Builder() != "" && os.Getenv("USER") == "swarming" {
    		// The Go build system's swarming user is known not to be root.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Jul 28 21:31:41 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

    import com.google.common.collect.ObjectArrays;
    import com.google.common.collect.testing.ListTestSuiteBuilder;
    import com.google.common.collect.testing.SampleElements;
    import com.google.common.collect.testing.TestListGenerator;
    import com.google.common.collect.testing.features.CollectionFeature;
    import com.google.common.collect.testing.features.CollectionSize;
    import com.google.common.testing.EqualsTester;
    import java.util.ArrayList;
    import java.util.Arrays;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 20.2K bytes
    - Viewed (0)
  10. docs/de/docs/advanced/async-tests.md

    ## Beispiel
    
    Betrachten wir als einfaches Beispiel eine Dateistruktur ähnlich der in [Größere Anwendungen](../tutorial/bigger-applications.md){.internal-link target=_blank} und [Testen](../tutorial/testing.md){.internal-link target=_blank}:
    
    ```
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:25:57 GMT 2024
    - 4.4K bytes
    - Viewed (0)
Back to top