Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 1,673 for checkSeq (0.2 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. cmd/kubeadm/app/preflight/checks_test.go

    	var tokenTest = []struct {
    		p        []Checker
    		expected bool
    		output   string
    	}{
    		{[]Checker{}, true, ""},
    		{[]Checker{preflightCheckTest{"warning"}}, true, "\t[WARNING preflightCheckTest]: warning\n"}, // should just print warning
    		{[]Checker{preflightCheckTest{"error"}}, false, ""},
    		{[]Checker{preflightCheckTest{"test"}}, false, ""},
    		{[]Checker{DirAvailableCheck{Path: "/does/not/exist"}}, true, ""},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. src/runtime/cgocheck.go

    			}
    			src = add(src, at.Elem.Size_)
    			skipped := off
    			if skipped > at.Elem.Size_ {
    				skipped = at.Elem.Size_
    			}
    			checked := at.Elem.Size_ - skipped
    			off -= skipped
    			if size <= checked {
    				return
    			}
    			size -= checked
    		}
    	case abi.Struct:
    		st := (*structtype)(unsafe.Pointer(typ))
    		for _, f := range st.Fields {
    			if off < f.Typ.Size_ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 7.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. pkg/ctrlz/topics/assets/templates/scopes.html

                    </td>
    
                    <td class="text-center">
                        {{ if $value.LogCallers}}
                            <input id="logCallers" onclick="toggleLogCallers(this)" type="checkbox" checked="checked">
                        {{ else }}
                            <input id="logCallers" onclick="toggleLogCallers(this)" type="checkbox">
                        {{ end }}
                    </td>
                </tr>
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 7.2K bytes
    - Viewed (0)
Back to top