Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 338 for happen (0.14 sec)

  1. src/runtime/mgcmark.go

    //
    //go:nowritebarrier
    //go:nosplit
    func gcmarknewobject(span *mspan, obj uintptr) {
    	if useCheckmark { // The world should be stopped so this should not happen.
    		throw("gcmarknewobject called while doing checkmark")
    	}
    
    	// Mark object.
    	objIndex := span.objIndex(obj)
    	span.markBitsForIndex(objIndex).setMarked()
    
    	// Mark span.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  2. tests/migrate_test.go

    	}
    
    	if err := DB.Table("column_structs").Migrator().AlterColumn(&ColumnStruct{}, "Name"); err != nil {
    		t.Fatalf("no error should happened when alter column, but got %v", err)
    	}
    
    	if err := DB.Table("column_structs").AutoMigrate(&ColumnStruct2{}); err != nil {
    		t.Fatalf("no error should happened when auto migrate column, but got %v", err)
    	}
    
    	if columnTypes, err := DB.Migrator().ColumnTypes(&ColumnStruct{}); err != nil {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Mar 18 11:24:16 UTC 2024
    - 56.2K bytes
    - Viewed (0)
  3. src/strings/strings_test.go

    }
    
    func TestUnreadRuneError(t *testing.T) {
    	for _, tt := range UnreadRuneErrorTests {
    		reader := NewReader("0123456789")
    		if _, _, err := reader.ReadRune(); err != nil {
    			// should not happen
    			t.Fatal(err)
    		}
    		tt.f(reader)
    		err := reader.UnreadRune()
    		if err == nil {
    			t.Errorf("Unreading after %s: expected error", tt.name)
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 53K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_whitebox_test.go

    		if e, a := expected.Type, actual.Type; e != a {
    			errors = append(errors, fmt.Sprintf("Expected: %s, got: %s", e, a))
    		}
    		actualObject := actual.Object
    		if co, ok := actualObject.(runtime.CacheableObject); ok {
    			actualObject = co.GetObject()
    		}
    		if e, a := expected.Object, actualObject; !apiequality.Semantic.DeepEqual(e, a) {
    			errors = append(errors, fmt.Sprintf("Expected: %#v, got: %#v", e, a))
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 82.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store.go

    		if f == metav1.FinalizerOrphanDependents || f == metav1.FinalizerDeleteDependents {
    			continue
    		}
    		newFinalizers = append(newFinalizers, f)
    	}
    
    	if shouldOrphan {
    		newFinalizers = append(newFinalizers, metav1.FinalizerOrphanDependents)
    	}
    	if shouldDeleteDependentInForeground {
    		newFinalizers = append(newFinalizers, metav1.FinalizerDeleteDependents)
    	}
    
    	oldFinalizerSet := sets.NewString(accessor.GetFinalizers()...)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 19 23:22:44 UTC 2024
    - 60.8K bytes
    - Viewed (0)
  6. src/cmd/link/internal/ppc64/asm.go

    					rewritetonop(&ctxt.Target, ldr, su, int64(r.Off()+4), 0xFFFFFFFF, OP_TOCRESTORE)
    				}
    			}
    		}
    	}
    
    	// Append any usage of the go versions of ELF save/restore
    	// functions to the end of the callstub list to minimize
    	// chances a trampoline might be needed.
    	stubs = append(stubs, abifuncs...)
    
    	// Put stubs at the beginning (instead of the end).
    	// So when resolving the relocations to calls to the stubs,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 20:54:08 UTC 2024
    - 63.7K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/elf.go

    			// linking internally for notes that we want to be included
    			// in a loadable segment (e.g. the abihash note) but not for
    			// notes that we do not want to be mapped (e.g. the package
    			// list note). The real fix is probably to define new values
    			// for Symbol.Type corresponding to mapped and unmapped notes
    			// and handle them in dodata().
    			Errorf(nil, "sh.Type == SHT_NOTE in elfshbits when linking internally")
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 13:29:54 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ppc64/ssa.go

    		p.To.Type = obj.TYPE_CONST
    		p.To.Offset = 0
    
    		p = s.Prog(ppc64.ABNE)
    		p.To.Type = obj.TYPE_BRANCH
    		s.Branches = append(s.Branches, ssagen.Branch{P: p, B: b.Succs[1].Block()})
    		if b.Succs[0].Block() != next {
    			p := s.Prog(obj.AJMP)
    			p.To.Type = obj.TYPE_BRANCH
    			s.Branches = append(s.Branches, ssagen.Branch{P: p, B: b.Succs[0].Block()})
    		}
    
    	case ssa.BlockPlain:
    		if b.Succs[0].Block() != next {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/expr.go

    				x.mode = invalid
    				return
    			}
    			// The lhs is representable as an integer but may not be an integer
    			// (e.g., 2.0, an untyped float) - this can only happen for untyped
    			// non-integer numeric constants. Correct the type so that the shift
    			// result is of integer type.
    			if !isInteger(x.typ) {
    				x.typ = Typ[UntypedInt]
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  10. src/cmd/cgo/out.go

    	base := srcfile
    	base = strings.TrimSuffix(base, ".go")
    	base = filepath.Base(base)
    	fgo1 := creat(*objDir + base + ".cgo1.go")
    	fgcc := creat(*objDir + base + ".cgo2.c")
    
    	p.GoFiles = append(p.GoFiles, base+".cgo1.go")
    	p.GccFiles = append(p.GccFiles, base+".cgo2.c")
    
    	// Write Go output: Go input with rewrites of C.xxx to _C_xxx.
    	fmt.Fprintf(fgo1, "// Code generated by cmd/cgo; DO NOT EDIT.\n\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:10 UTC 2024
    - 59.6K bytes
    - Viewed (0)
Back to top