Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,087 for do (0.12 sec)

  1. internal/config/cache/cache.go

    	}
    
    	if c.Endpoint == "" {
    		// Endpoint not set, make this a no-op
    		return nil, nil
    	}
    
    	buf, err := r.MarshalMsg(nil)
    	if err != nil {
    		return nil, err
    	}
    
    	// We do not want Gets to take so much time, anything
    	// beyond 250ms we should cut it, remote cache is too
    	// busy already.
    	ctx, cancel := context.WithTimeout(context.Background(), 250*time.Millisecond)
    	defer cancel()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/ListenableFutureTest.java

    import junit.framework.TestCase;
    
    /** Test for {@link ListenableFuture}. */
    public class ListenableFutureTest extends TestCase {
      public void testNoNewApis() throws Exception {
        assertWithMessage(
                "Do not add new methods to ListenableFuture. Its API needs to continue to match the"
                    + " version we released in a separate artifact com.google.guava:listenablefuture.")
            .that(ListenableFuture.class.getDeclaredMethods())
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jun 15 19:48:16 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  3. docs/en/docs/deployment/index.md

    This is in contrast to the **development** stages, where you are constantly changing the code, breaking it and fixing it, stopping and restarting the development server, etc.
    
    ## Deployment Strategies
    
    There are several ways to do it depending on your specific use case and the tools that you use.
    
    You could **deploy a server** yourself using a combination of tools, you could use a **cloud service** that does part of the work for you, or other possible options.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 16:31:18 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  4. guava-tests/benchmark/com/google/common/base/StopwatchBenchmark.java

          Stopwatch s = Stopwatch.createStarted();
          // here is where you would do something
          total += s.elapsed(TimeUnit.NANOSECONDS);
        }
        return total;
      }
    
      @Benchmark
      long manual(int reps) {
        long total = 0;
        for (int i = 0; i < reps; i++) {
          long start = System.nanoTime();
          // here is where you would do something
          total += (System.nanoTime() - start);
        }
        return total;
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.5K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/base/StopwatchBenchmark.java

          Stopwatch s = Stopwatch.createStarted();
          // here is where you would do something
          total += s.elapsed(TimeUnit.NANOSECONDS);
        }
        return total;
      }
    
      @Benchmark
      long manual(int reps) {
        long total = 0;
        for (int i = 0; i < reps; i++) {
          long start = System.nanoTime();
          // here is where you would do something
          total += (System.nanoTime() - start);
        }
        return total;
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.5K bytes
    - Viewed (0)
  6. docker/Dockerfile.base

    FROM ubuntu:noble
    
    ENV DEBIAN_FRONTEND=noninteractive
    
    # Do not add more stuff to this list that isn't small or critically useful.
    # If you occasionally need something on the container do
    # sudo apt-get update && apt-get whichever
    
    # hadolint ignore=DL3005,DL3008
    RUN apt-get update && \
      apt-get install --no-install-recommends -y \
      ca-certificates \
      curl \
      iptables \
      iproute2 \
      iputils-ping \
      knot-dnsutils \
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 18:50:51 GMT 2024
    - 1000 bytes
    - Viewed (0)
  7. common/scripts/lint_copyright_banner.sh

    #!/bin/bash
    
    # WARNING: DO NOT EDIT, THIS FILE IS PROBABLY A COPY
    #
    # The original version of this file is located in the https://github.com/istio/common-files repo.
    # If you're looking at this file in a different repo and want to make a change, please go to the
    # common-files repo, make the change there and check it in. Then come back to this repo and run
    # "make update-common".
    
    # Copyright Istio Authors
    #
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Sep 11 23:32:21 GMT 2019
    - 1.2K bytes
    - Viewed (0)
  8. ci/official/utilities/setup_macos.sh

      # Install the necessary Python, unless it's already present
      pyenv install -s "$TFCI_PYTHON_VERSION"
      pyenv local "$TFCI_PYTHON_VERSION"
      # Do a sanity check to make sure that we using the correct Python version
      python --version
    fi
    
    # TFCI Mac VM images do not have twine installed by default so we need to
    # install it manually. We use Twine in nightly builds to upload Python packages
    # to PyPI.
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 15:23:28 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  9. .github/workflows/multipart/migrate.sh

    cd .github/workflows/multipart/
    
    function cleanup() {
    	docker-compose -f docker-compose-site1.yaml rm -s -f || true
    	docker-compose -f docker-compose-site2.yaml rm -s -f || true
    	for volume in $(docker volume ls -q | grep minio); do
    		docker volume rm ${volume} || true
    	done
    
    	docker system prune -f || true
    	docker volume prune -f || true
    	docker volume rm $(docker volume ls -q -f dangling=true) || true
    }
    
    cleanup
    
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 15:54:24 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  10. clause/on_conflict.go

    			builder.WriteString(" WHERE ")
    			onConflict.TargetWhere.Build(builder)
    			builder.WriteByte(' ')
    		}
    	}
    
    	if onConflict.DoNothing {
    		builder.WriteString("DO NOTHING")
    	} else {
    		builder.WriteString("DO UPDATE SET ")
    		onConflict.DoUpdates.Build(builder)
    	}
    
    	if len(onConflict.Where.Exprs) > 0 {
    		builder.WriteString(" WHERE ")
    		onConflict.Where.Build(builder)
    		builder.WriteByte(' ')
    	}
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Oct 07 05:46:20 GMT 2022
    - 1.3K bytes
    - Viewed (0)
Back to top