Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1411 - 1420 of 7,081 for returns (0.1 sec)

  1. tensorflow/c/eager/c_api_distributed_test.cc

      absl::Status Run(
          const tensorflow::GraphOptimizationPassOptions& options) override {
        if (!enabled_) {
          return absl::OkStatus();
        }
        if (first_call_) {
          first_call_ = false;
          return absl::OkStatus();
        }
        return tensorflow::errors::Internal("Graph pass runs for more than once!");
      }
    
     private:
      bool first_call_ = true;
    };
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

      private enum Outcome {
    
        /** The method returned normally and is either void or returned true. */
        SUCCESS,
    
        /** The method returned false. */
        FAILURE,
    
        /** The method threw an InterruptedException. */
        INTERRUPT,
    
        /** The method did not return or throw anything. */
        HANG;
    
        @Override
        public String toString() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:18:12 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

     * StatsAccumulator#add} and {@link StatsAccumulator#addAll}, and various error cases of the {@link
     * StatsAccumulator#add} and {@link StatsAccumulator#addAll} methods. For tests of the {@link
     * StatsAccumulator#snapshot} method which returns {@link Stats} instances, see {@link StatsTest}.
     *
     * @author Pete Gillin
     */
    public class StatsAccumulatorTest extends TestCase {
    
      private StatsAccumulator emptyAccumulator;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  4. RELEASE.md

        vocabulary file.
    *   Added `index_to_string_table` which returns a lookup table that maps indices
        to strings.
    *   Add `string_to_index_table`, which returns a lookup table that matches
        strings to indices.
    *   Add a `ParallelForWithWorkerId` function.
    *   Add `string_to_index_table`, which returns a lookup table that matches
        strings to indices.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Oct 22 14:33:53 UTC 2024
    - 735.3K bytes
    - Viewed (0)
  5. cmd/background-newdisks-heal-ops_gen.go

    				return
    			}
    		case "Endpoint":
    			z.Endpoint, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "Endpoint")
    				return
    			}
    		case "Started":
    			z.Started, err = dc.ReadTime()
    			if err != nil {
    				err = msgp.WrapError(err, "Started")
    				return
    			}
    		case "LastUpdate":
    			z.LastUpdate, err = dc.ReadTime()
    			if err != nil {
    				err = msgp.WrapError(err, "LastUpdate")
    				return
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 20 15:42:49 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  6. cmd/object-api-utils_test.go

    	if len(elem) > 0 {
    		if hasSuffixByte(elem[len(elem)-1], SlashSeparatorChar) {
    			trailingSlash = SlashSeparator
    		}
    	}
    	return path.Join(elem...) + trailingSlash
    }
    
    func concatNaive(ss ...string) string {
    	rs := ss[0]
    	for i := 1; i < len(ss); i++ {
    		rs += ss[i]
    	}
    	return rs
    }
    
    func benchmark(b *testing.B, data []string) {
    	b.Run("concat naive", func(b *testing.B) {
    		b.ResetTimer()
    		b.ReportAllocs()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  7. istioctl/pkg/workload/workload.go

    		return err
    	}
    	if err := createClusterEnv(wg, proxyConfig, istioNamespace, revision, internalIP, externalIP, outputDir); err != nil {
    		return err
    	}
    	if err := createCertsTokens(kubeClient, wg, outputDir, out); err != nil {
    		return err
    	}
    	if err := createHosts(kubeClient, istioNamespace, ingressIP, outputDir, revision); err != nil {
    		return err
    	}
    	return nil
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 16:31:46 UTC 2024
    - 25.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/TreeRangeMap.java

        @Override
        public Range<K> getKey() {
          return range;
        }
    
        @Override
        public V getValue() {
          return value;
        }
    
        public boolean contains(K value) {
          return range.contains(value);
        }
    
        Cut<K> getLowerBound() {
          return range.lowerBound;
        }
    
        Cut<K> getUpperBound() {
          return range.upperBound;
        }
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  9. api/maven-api-settings/src/main/mdo/settings.mdo

         * if not set.
         *
         * @return a boolean indicating if this proxy is active
         */
        public boolean isActive() {
            return (getActiveString() != null) ? Boolean.parseBoolean(getActiveString()) : true;
        }
    
        /**
         * Returns the port to use for this proxy.
         * To allow interpolation of this field, this method lazily parses
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Oct 08 13:46:42 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/reflect/ClassPathTest.java

        return classInfo(cls, cls.getClassLoader());
      }
    
      private static ClassInfo classInfo(Class<?> cls, ClassLoader classLoader) {
        String resource = cls.getName().replace('.', '/') + ".class";
        return new ClassInfo(FILE, resource, classLoader);
      }
    
      private static Manifest manifestClasspath(String classpath) throws IOException {
        return manifest("Class-Path: " + classpath + "\n");
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 27.6K bytes
    - Viewed (0)
Back to top