Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 849 for checkSeq (0.12 sec)

  1. tensorflow/c/kernels/ops/histogram_summary.cc

      TF_OpDefinitionBuilderSetShapeInferenceFunction(
          op_builder, &histogram_summary_shape_inference_fn);
    
      TF_RegisterOpDefinition(op_builder, status);
      CHECK_EQ(TF_GetCode(status), TF_OK)
          << "HistogramSummary op registration failed: " << TF_Message(status);
      TF_DeleteStatus(status);
    }
    
    TF_ATTRIBUTE_UNUSED static bool HistogramSummaryOpRegistered = []() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Sep 18 21:04:53 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  2. src/go/types/version.go

    // is allowed to use version v. If the position is unknown, the specified
    // module version (Config.GoVersion) is used. If that version is invalid,
    // allowVersion returns true.
    func (check *Checker) allowVersion(at positioner, v goVersion) bool {
    	fileVersion := check.conf.GoVersion
    	if pos := at.Pos(); pos.IsValid() {
    		fileVersion = check.versions[check.fileFor(pos)]
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 23:12:40 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/parsing/parsingUtil.kt

            }
            return result
        }
    
        interface CheckBarrierContext {
    
            fun <T : LanguageTreeElement> checked(result: CheckedResult<ElementResult<T>>): T {
                val value = result.value
                check(value is Element<T>)
                return value.element
            }
    
            fun <T> checked(result: CheckedResult<SyntacticResult<T>>): T {
                val value = result.value
                check(value is Syntactic<T>)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 10:53:44 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/alias.go

    }
    
    // NewAlias creates a new Alias type with the given type name and rhs.
    // rhs must not be nil.
    func NewAlias(obj *TypeName, rhs Type) *Alias {
    	alias := (*Checker)(nil).newAlias(obj, rhs)
    	// Ensure that alias.actual is set (#65455).
    	alias.cleanup()
    	return alias
    }
    
    // Obj returns the type name for the declaration defining the alias type a.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. tensorflow/c/kernels/ops/summary.cc

      TF_OpDefinitionBuilderAddAttr(op_builder, "T: realnumbertype");
      TF_OpDefinitionBuilderSetShapeInferenceFunction(
          op_builder, &scalar_summary_shape_inference_fn);
    
      TF_RegisterOpDefinition(op_builder, status);
      CHECK_EQ(TF_GetCode(status), TF_OK)
          << "ScalarSummary op registration failed: " << TF_Message(status);
      TF_DeleteStatus(status);
    }
    
    TF_ATTRIBUTE_UNUSED static bool SummaryScalarOpRegistered = []() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Sep 18 21:04:53 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  6. tests/associations_has_one_test.go

    	if err := DB.Create(&pet).Error; err != nil {
    		t.Fatalf("errors happened when create: %v", err)
    	}
    
    	CheckPet(t, pet, pet)
    
    	// Find
    	var pet2 Pet
    	DB.Find(&pet2, "id = ?", pet.ID)
    	DB.Model(&pet2).Association("Toy").Find(&pet2.Toy)
    	CheckPet(t, pet2, pet)
    
    	// Count
    	AssertAssociationCount(t, pet, "Toy", 1, "")
    
    	// Append
    	toy := Toy{Name: "toy-has-one-append"}
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/directive/directive.go

    	return nil
    }
    
    type checker struct {
    	pass     *analysis.Pass
    	filename string
    	file     *ast.File // nil for non-Go file
    	inHeader bool      // in file header (before or adjoining package declaration)
    }
    
    func newChecker(pass *analysis.Pass, filename string, file *ast.File) *checker {
    	return &checker{
    		pass:     pass,
    		filename: filename,
    		file:     file,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. src/net/http/filetransport_test.go

    package http
    
    import (
    	"io"
    	"os"
    	"path/filepath"
    	"testing"
    	"testing/fstest"
    )
    
    func checker(t *testing.T) func(string, error) {
    	return func(call string, err error) {
    		if err == nil {
    			return
    		}
    		t.Fatalf("%s: %v", call, err)
    	}
    }
    
    func TestFileTransport(t *testing.T) {
    	check := checker(t)
    
    	dname := t.TempDir()
    	fname := filepath.Join(dname, "foo.txt")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 17:07:12 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ConsumingQueueIterator.java

    import static com.google.common.base.Preconditions.checkNotNull;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.Queue;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * An Iterator implementation which draws elements from a queue, removing them from the queue as it
     * iterates. This class is not thread safe.
     */
    @GwtCompatible
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat Jan 21 14:48:03 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  10. src/go/types/const.go

    	. "internal/types/errors"
    	"math"
    )
    
    // overflow checks that the constant x is representable by its type.
    // For untyped constants, it checks that the value doesn't become
    // arbitrarily large.
    func (check *Checker) overflow(x *operand, opPos token.Pos) {
    	assert(x.mode == constant_)
    
    	if x.val.Kind() == constant.Unknown {
    		// TODO(gri) We should report exactly what went wrong. At the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top