Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 447 for Mainer (0.13 sec)

  1. android/guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java

    import java.util.Iterator;
    
    /**
     * Benchmarks {@link Joiner} against some common implementations of delimiter-based string joining.
     *
     * @author Adomas Paltanavicius
     */
    public class JoinerBenchmark {
    
      private static final String DELIMITER_STRING = ",";
      private static final char DELIMITER_CHARACTER = ',';
    
      private static final Joiner JOINER_ON_STRING = Joiner.on(DELIMITER_STRING);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.9K bytes
    - Viewed (0)
  2. src/all.bash

    # license that can be found in the LICENSE file.
    
    set -e
    if [ ! -f make.bash ]; then
    	echo 'all.bash must be run from $GOROOT/src' 1>&2
    	exit 1
    fi
    . ./make.bash "$@" --no-banner
    bash run.bash --no-rebuild
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 19:53:58 UTC 2024
    - 377 bytes
    - Viewed (0)
  3. pkg/test/util.go

    func SetForTest[T any](t Failer, vv *T, v T) {
    	old := *vv
    	*vv = v
    	t.Cleanup(func() {
    		*vv = old
    	})
    }
    
    // SetEnvForTest sets an environment variable for the duration of a test, then resets it once the test is complete.
    func SetEnvForTest(t Failer, k, v string) {
    	old, oldset := os.LookupEnv(k)
    	if err := os.Setenv(k, v); err != nil {
    		t.Fatal(err)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 05 01:20:59 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. src/cmd/dist/doc.go

    // license that can be found in the LICENSE file.
    
    // Dist helps bootstrap, build, and test the Go distribution.
    //
    // Usage:
    //
    //	go tool dist [command]
    //
    // The commands are:
    //
    //	banner         print installation banner
    //	bootstrap      rebuild everything
    //	clean          deletes all built files
    //	env [-p]       print environment (-p: include $PATH)
    //	install [dir]  install individual directory
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 645 bytes
    - Viewed (0)
  5. pilot/pkg/xds/adstest.go

    	"istio.io/istio/pkg/test"
    )
    
    func NewAdsTest(t test.Failer, conn *grpc.ClientConn) *AdsTest {
    	return NewXdsTest(t, conn, func(conn *grpc.ClientConn) (DiscoveryClient, error) {
    		xds := discovery.NewAggregatedDiscoveryServiceClient(conn)
    		return xds.StreamAggregatedResources(context.Background())
    	})
    }
    
    func NewSdsTest(t test.Failer, conn *grpc.ClientConn) *AdsTest {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Feb 04 03:39:42 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/AbstractImmutableMapMapInterfaceTest.java

      }
    
      private static final Joiner JOINER = Joiner.on(", ");
    
      @Override
      protected final void assertMoreInvariants(Map<K, V> map) {
        // TODO: can these be moved to MapInterfaceTest?
        for (Entry<K, V> entry : map.entrySet()) {
          assertEquals(entry.getKey() + "=" + entry.getValue(), entry.toString());
        }
    
        assertEquals("{" + JOINER.join(map.entrySet()) + "}", map.toString());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Mar 09 02:18:08 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/AbstractImmutableSortedMapMapInterfaceTest.java

      }
    
      private static final Joiner joiner = Joiner.on(", ");
    
      @Override
      protected void assertMoreInvariants(Map<K, V> map) {
        // TODO: can these be moved to MapInterfaceTest?
        for (Entry<K, V> entry : map.entrySet()) {
          assertEquals(entry.getKey() + "=" + entry.getValue(), entry.toString());
        }
    
        assertEquals("{" + joiner.join(map.entrySet()) + "}", map.toString());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Mar 17 01:34:55 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  8. src/all.bat

    make.bat goto ok
    L10:echo all.bat must be run from go\src
    L11::: cannot exit: would kill parent command interpreter
    L12:goto end
    L13::ok
    L14:
    L15:call .\make.bat --no-banner --no-local
    L16:if %GOBUILDFAIL%==1 goto end
    L17:call .\run.bat --no-rebuild --no-local
    L18:if %GOBUILDFAIL%==1 goto end
    L19:"%GOTOOLDIR%/dist" banner
    L20:
    L21::end
    L22:if x%GOBUILDEXIT%==x1 exit %GOBUILDFAIL%
    ...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 19 14:36:22 UTC 2023
    - 543 bytes
    - Viewed (0)
  9. pkg/kube/kclient/clienttest/test_helpers.go

    	"istio.io/istio/pkg/test/util/assert"
    	"istio.io/istio/pkg/util/sets"
    )
    
    type TestClient[T controllers.Object] struct {
    	c kclient.ReadWriter[T]
    	t test.Failer
    	TestWriter[T]
    }
    
    type TestWriter[T controllers.Object] struct {
    	c kclient.Writer[T]
    	t test.Failer
    }
    
    func (t TestClient[T]) Get(name, namespace string) T {
    	return t.c.Get(name, namespace)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 19:18:21 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. docs/LICENSE

         IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
    
      c. The disclaimer of warranties and limitation of liability provided
         above shall be interpreted in a manner that, to the extent
         possible, most closely approximates an absolute disclaimer and
         waiver of all liability.
    
    
    Section 6 -- Term and Termination.
    
      a. This Public License applies for the term of the Copyright and
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 10 16:50:06 UTC 2021
    - 18.2K bytes
    - Viewed (0)
Back to top