Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2401 - 2410 of 2,878 for int3 (0.02 sec)

  1. tensorflow/c/c_api_function_test.cc

        for (int i = 0; i < expected.size(); ++i) {
          ASSERT_EQ(expected[i], data[i]) << "Different data at index " << i;
        }
      }
    
      std::vector<TF_Output> ToOutput(const std::vector<TF_Operation*> ops) {
        std::vector<TF_Output> out;
        for (auto op : ops) {
          out.push_back({op, 0});
        }
        return out;
      }
    
      void Define(int num_opers, const std::vector<TF_Operation*>& opers,
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (0)
  2. internal/grid/grid_test.go

    	const testPayload = "Hello Grid World!"
    
    	start := time.Now()
    	stream, err := remoteConn.NewStream(context.Background(), handlerTest, []byte(testPayload))
    	errFatal(err)
    	var n int
    	stream.Requests <- []byte(strconv.Itoa(n))
    	for resp := range stream.responses {
    		errFatal(resp.Err)
    		t.Logf("got resp: %+v", string(resp.Msg))
    		if string(resp.Msg) != testPayload+strconv.Itoa(n) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  3. cmd/format-erasure_test.go

    		for _, set := range format.Erasure.Sets {
    			for _, diskID := range set {
    				h.Write([]byte(diskID))
    			}
    		}
    		formatHashes[i] = hex.EncodeToString(h.Sum(nil))
    	}
    
    	formatCountMap := make(map[string]int)
    	for _, hash := range formatHashes {
    		if hash == "" {
    			continue
    		}
    		formatCountMap[hash]++
    	}
    
    	maxHash := ""
    	maxCount := 0
    	for hash, count := range formatCountMap {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Apr 15 08:25:46 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/job/PythonJob.java

                it.start();
    
                final Process currentProcess = jobProcess.getProcess();
                currentProcess.waitFor();
                it.join(5000);
    
                final int exitValue = currentProcess.exitValue();
    
                if (logger.isInfoEnabled()) {
                    logger.info("Python: Exit Code={} - Process Output:\n{}", exitValue, it.getOutput());
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/IteratorTester.java

       * Creates an IteratorTester.
       *
       * @param steps how many operations to test for each tested pair of iterators
       * @param features the features supported by the iterator
       */
      protected IteratorTester(
          int steps,
          Iterable<? extends IteratorFeature> features,
          Iterable<E> expectedElements,
          KnownOrder knownOrder) {
        super(steps, Collections.<E>singleton(null), features, expectedElements, knownOrder, 0);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. docs/sts/assume-role.go

    			if err != nil {
    				log.Fatalf("Error reading session policy file: %v", err)
    			}
    			policy = string(bs)
    		}
    		stsOpts.Policy = policy
    	}
    	if expiryDuration != 0 {
    		stsOpts.DurationSeconds = int(expiryDuration.Seconds())
    	}
    	li, err := cr.NewSTSAssumeRole(stsEndpoint, stsOpts)
    	if err != nil {
    		log.Fatalf("Error initializing STS Identity: %v", err)
    	}
    
    	stsEndpointURL, err := url.Parse(stsEndpoint)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Aug 17 01:24:54 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/escape/EscapersTest.java

      static UnicodeEscaper createSimpleUnicodeEscaper(
          final ImmutableMap<Integer, char[]> replacementMap) {
        return new UnicodeEscaper() {
          @Override
          protected char[] escape(int cp) {
            return replacementMap.get(cp);
          }
        };
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

         */
        public void failure(Service service) {}
      }
    
      /**
       * An encapsulation of all of the state that is accessed by the {@linkplain ServiceListener
       * service listeners}. This is extracted into its own object so that {@link ServiceListener} could
       * be made {@code static} and its instances can be safely constructed and added in the {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/ServiceManager.java

         */
        public void failure(Service service) {}
      }
    
      /**
       * An encapsulation of all of the state that is accessed by the {@linkplain ServiceListener
       * service listeners}. This is extracted into its own object so that {@link ServiceListener} could
       * be made {@code static} and its instances can be safely constructed and added in the {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  10. cmd/metacache-entries_test.go

    	a, b := org.shallowClone(), org.shallowClone()
    	be := b.entries()
    	for i := range be {
    		//  Modify b so it isn't deduplicated.
    		be[i].metadata = []byte("something-else")
    	}
    	// Merge b into a
    	a.merge(b, -1)
    	//nolint:gocritic
    	want := append(loadMetacacheSampleNames, loadMetacacheSampleNames...)
    	sort.Strings(want)
    	got := a.entries().names()
    	if len(got) != len(want) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 31.6K bytes
    - Viewed (0)
Back to top