Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for Edward (0.23 sec)

  1. tests/embedded_struct_test.go

    	} else if news.Title != "hn_news" {
    		t.Errorf("embedded struct's value should be scanned correctly")
    	}
    
    	DB.Save(&EngadgetPost{BasePost: BasePost{Title: "engadget_news"}, Author: &Author{Name: "Edward"}})
    	DB.Save(&EngadgetPost{BasePost: BasePost{Title: "engadget_article"}, Author: &Author{Name: "George"}})
    	var egNews EngadgetPost
    	if err := DB.First(&egNews, "title = ?", "engadget_news").Error; err != nil {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Thu Oct 26 03:58:13 GMT 2023
    - 7.3K bytes
    - Viewed (0)
  2. src/cmd/cgo/gcc.go

    		}
    		if t.Align = t.Size; t.Align >= c.ptrSize {
    			t.Align = c.ptrSize
    		}
    
    	case *dwarf.VoidType:
    		t.Go = c.goVoid
    		t.C.Set("void")
    		t.Align = 1
    	}
    
    	switch dtype.(type) {
    	case *dwarf.AddrType, *dwarf.BoolType, *dwarf.CharType, *dwarf.ComplexType, *dwarf.IntType, *dwarf.FloatType, *dwarf.UcharType, *dwarf.UintType:
    		s := dtype.Common().Name
    		if s != "" {
    			if ss, ok := dwarfToName[s]; ok {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  3. misc/cgo/gmp/gmp.go

    // Mul sets z = x * y and returns z.
    func (z *Int) Mul(x, y *Int) *Int {
    	x.doinit()
    	y.doinit()
    	z.doinit()
    	C.mpz_mul(&z.i[0], &x.i[0], &y.i[0])
    	return z
    }
    
    // Div sets z = x / y, rounding toward zero, and returns z.
    func (z *Int) Div(x, y *Int) *Int {
    	x.doinit()
    	y.doinit()
    	z.doinit()
    	C.mpz_tdiv_q(&z.i[0], &x.i[0], &y.i[0])
    	return z
    }
    
    // Mod sets z = x % y and returns z.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 9.5K bytes
    - Viewed (0)
  4. cmd/dynamic-timeouts.go

    		// so decrease the timeout towards 25 % of maximum time spent.
    		max = max * 125 / 100
    
    		timeout := atomic.LoadInt64(&dt.timeout)
    		if max < time.Duration(timeout) {
    			// Move 50% toward the max.
    			timeout = (int64(max) + timeout) / 2
    		}
    		if timeout < dt.minimum {
    			timeout = dt.minimum
    		}
    		atomic.StoreInt64(&dt.timeout, timeout)
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Aug 19 23:21:05 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  5. cmd/xl-storage.go

    			var sz int64
    			objDeleted, sz = item.applyActions(ctx, objAPI, oi, &sizeS)
    			done()
    
    			// DeleteAllVersionsAction: The object and all its
    			// versions are expired and
    			// doesn't contribute toward data usage.
    			if objDeleted {
    				break
    			}
    			actualSz, err := oi.GetActualSize()
    			if err != nil {
    				continue
    			}
    
    			if oi.DeleteMarker {
    				sizeS.deleteMarkers++
    			}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  6. internal/s3select/select_test.go

    			}
    		})
    	}
    }
    
    func TestCSVQueries(t *testing.T) {
    	input := `index,ID,CaseNumber,Date,Day,Month,Year,Block,IUCR,PrimaryType,Description,LocationDescription,Arrest,Domestic,Beat,District,Ward,CommunityArea,FBI Code,XCoordinate,YCoordinate,UpdatedOn,Latitude,Longitude,Location
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
  7. src/cmd/cgo/doc.go

    	const char __cgodebug_str__10[] = s10;
    	const unsigned long long __cgodebug_strlen__10 = sizeof(s10)-1;
    
    and again invokes the system C compiler, to produce an object file
    containing debug information. Cgo parses the DWARF debug information
    for __cgo__N to learn the type of each identifier. (The types also
    distinguish functions from global variables.) Cgo reads the constant
    values from the __cgodebug_* from the object file's data segment.
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/test/callback_windows.go

    		"test.nestedCall.func1",
    		"test.nestedCall",
    		"test.testCallbackCallersSEH",
    		"test.TestCallbackCallersSEH",
    	}
    	pc := make([]uintptr, 100)
    	n := 0
    	nestedCall(func() {
    		n = int(C.backtrace(C.DWORD(len(pc)), (*C.PVOID)(unsafe.Pointer(&pc[0]))))
    	})
    	got := make([]string, 0, n)
    	for i := 0; i < n; i++ {
    		f := runtime.FuncForPC(pc[i] - 1)
    		if f == nil {
    			continue
    		}
    		fname := f.Name()
    		switch fname {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Nov 29 16:01:37 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  9. cmd/storage-errors.go

    // errSkipFile returned by the fn() for readDirFn() when it needs
    // to proceed to next entry.
    var errSkipFile = errors.New("skip this file")
    
    var errIgnoreFileContrib = errors.New("ignore this file's contribution toward data-usage")
    
    // errXLBackend XL drive mode requires fresh deployment.
    var errXLBackend = errors.New("XL backend requires fresh drive")
    
    // StorageErr represents error generated by xlStorage call.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  10. internal/disk/type_windows.go

    	// _In_opt_  LPCTSTR lpRootPathName,
    	// _Out_opt_ LPTSTR  lpVolumeNameBuffer,
    	// _In_      DWORD   nVolumeNameSize,
    	// _Out_opt_ LPDWORD lpVolumeSerialNumber,
    	// _Out_opt_ LPDWORD lpMaximumComponentLength,
    	// _Out_opt_ LPDWORD lpFileSystemFlags,
    	// _Out_opt_ LPTSTR  lpFileSystemNameBuffer,
    	// _In_      DWORD   nFileSystemNameSize
    	// );
    
    	_, _, _ = GetVolumeInformation.Call(uintptr(unsafe.Pointer(ps)),
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 2.2K bytes
    - Viewed (0)
Back to top