Search Options

Results per page
Sort
Preferred Languages
Advance

Results 921 - 930 of 1,232 for Round (0.03 sec)

  1. android/guava-tests/test/com/google/common/primitives/BytesTest.java

        assertThat(newArray).isEqualTo(new byte[] {(byte) 0, (byte) 1, (byte) 2});
        newArray[1] = (byte) 5;
        assertThat((byte) list.get(1)).isEqualTo((byte) 1);
      }
    
      // This test stems from a real bug found by andrewk
      public void testAsList_subList_toArray_roundTrip() {
        byte[] array = {(byte) 0, (byte) 1, (byte) 2, (byte) 3};
        List<Byte> list = Bytes.asList(array);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ImmutableTableTest.java

          builder.put((String) data[i], (Integer) data[i + 1], (Character) data[i + 2]);
        }
        return builder.build();
      }
    
      // The bulk of the toImmutableTable tests can be found in TableCollectorsTest.
      // This gives minimal coverage to the forwarding functions
      public void testToImmutableTableSanityTest() {
        Collector<Cell<String, String, Integer>, ?, ImmutableTable<String, String, Integer>> collector =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

        public static Scheduler newFixedDelaySchedule(
            final long initialDelay, final long delay, final TimeUnit unit) {
          checkNotNull(unit);
          checkArgument(delay > 0, "delay must be > 0, found %s", delay);
          return new Scheduler() {
            @Override
            public Cancellable schedule(
                AbstractService service, ScheduledExecutorService executor, Runnable task) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 16:22:21 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  4. docs/ja/docs/tutorial/response-status-code.md

    * **`300`** 以上は「リダイレクト」のためのものです。これらのステータスコードを持つレスポンスは`304`(Not Modified)を除き、ボディを持つことも持たないこともできます。
    * **`400`** 以上は「クライアントエラー」のレスポンスのためのものです。これらは、おそらく最も多用するであろう2番目のタイプです。
        * 例えば、`404`は「Not Found」レスポンスです。
        * クライアントからの一般的なエラーについては、`400`を使用することができます。
    * `500`以上はサーバーエラーのためのものです。これらを直接使うことはほとんどありません。アプリケーションコードやサーバーのどこかで何か問題が発生した場合、これらのステータスコードのいずれかが自動的に返されます。
    
    /// tip | "豆知識"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. internal/logger/target/kafka/kafka.go

    	producer sarama.SyncProducer
    	kconfig  Config
    	config   *sarama.Config
    }
    
    func (h *Target) validate() error {
    	if len(h.kconfig.Brokers) == 0 {
    		return errors.New("no broker address found")
    	}
    	for _, b := range h.kconfig.Brokers {
    		if _, err := xnet.ParseHost(b.String()); err != nil {
    			return err
    		}
    	}
    	return nil
    }
    
    // Name returns the name of the target
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  6. cmd/handler-api.go

    	available = 2048 * blockSizeV2 * 2 // Default to 4 GiB when we can't find the limits.
    
    	if runtime.GOOS == "linux" {
    		// Honor cgroup limits if set.
    		limit := cgroupMemLimit()
    		if limit > 0 {
    			// A valid value is found, return its 90%
    			available = (limit * 9) / 10
    			return
    		}
    	} // for all other platforms limits are based on virtual memory.
    
    	memStats, err := mem.VirtualMemory()
    	if err != nil {
    		return
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 26 17:07:10 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. misc/ios/go_ios_exec.go

    // Copyright 2024 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This program can be used as go_ios_$GOARCH_exec by the Go tool. It executes
    // binaries on the iOS Simulator using the XCode toolchain.
    package main
    
    import (
    	"fmt"
    	"go/build"
    	"log"
    	"os"
    	"os/exec"
    	"path/filepath"
    	"runtime"
    	"strings"
    	"syscall"
    )
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Jun 18 16:32:49 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  8. tensorflow/c/c_api.cc

      mutex_lock l(graph->mu);
      tensorflow::shape_inference::InferenceContext* ic =
          graph->refiner.GetContext(node);
      if (ic == nullptr) {
        status->status =
            InvalidArgument("Node ", node->name(), " was not found in the graph");
        return;
      }
    
      auto shape_and_type_vec =
          std::vector<tensorflow::shape_inference::ShapeAndType>(
              num_shapes_and_types);
      for (int i = 0; i < num_shapes_and_types; ++i) {
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

                relocatedArtifact = rel.relocatedArtifact;
    
                if (rel.project == null) {
                    // When this happens we have a Maven 1.x POM, or some invalid POM.
                    // It should have never found its way into Maven 2.x repository but it did.
                    dependencies = Collections.emptyList();
                } else {
                    dependencies = rel.project.getModel().getDependencies();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  10. internal/bucket/lifecycle/lifecycle.go

    	errLifecycleNoRule       = Errorf("Lifecycle configuration should have at least one rule")
    	errLifecycleDuplicateID  = Errorf("Rule ID must be unique. Found same ID for more than one rule")
    	errXMLNotWellFormed      = Errorf("The XML you provided was not well-formed or did not validate against our published schema")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
Back to top