Search Options

Results per page
Sort
Preferred Languages
Advance

Results 431 - 440 of 1,450 for var1 (0.02 sec)

  1. misc/go_android_exec/exitcode_test.go

    	}
    	if want := 1; want != code {
    		t.Errorf("want exit code %d, got %d", want, code)
    	}
    }
    
    func TestExitCodeMissing(t *testing.T) {
    	var wantErr *regexp.Regexp
    	check := func(text string) {
    		t.Helper()
    		var out strings.Builder
    		f, exitStr := newExitCodeFilter(&out)
    		if want := "exitcode="; want != exitStr {
    			t.Fatalf("test assumes exitStr will be %q, but got %q", want, exitStr)
    		}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed May 03 14:54:58 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  2. tests/joins_table_test.go

    		t.Fatalf("Should found one address")
    	}
    
    	var addresses2 []Address
    	if err := DB.Model(&person).Association("Addresses").Find(&addresses2); err != nil || len(addresses2) != 1 {
    		t.Fatalf("Failed to find address, got error %v, length: %v", err, len(addresses2))
    	}
    
    	if DB.Model(&person).Association("Addresses").Count() != 1 {
    		t.Fatalf("Should found one address")
    	}
    
    	var addresses3 []Address
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Sep 10 13:46:18 UTC 2020
    - 3.5K bytes
    - Viewed (0)
  3. docs/debugging/pprofgoparser/main.go

    package main
    
    import (
    	"bufio"
    	"bytes"
    	"flag"
    	"fmt"
    	"log"
    	"math"
    	"os"
    	"path"
    	"regexp"
    	"strconv"
    	"strings"
    	"time"
    )
    
    var (
    	goroutinesRE, searchRE *regexp.Regexp
    
    	// User input flags
    	searchText           string
    	goTime, less, margin time.Duration
    )
    
    func init() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Mar 06 11:43:16 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. internal/s3select/jstream/scanner_test.go

    import (
    	"bufio"
    	"bytes"
    	"fmt"
    	"io"
    	"sync/atomic"
    	"testing"
    )
    
    var (
    	smallInput  = make([]byte, 1024*12)       // 12K
    	mediumInput = make([]byte, 1024*1024*12)  // 12MB
    	largeInput  = make([]byte, 1024*1024*128) // 128MB
    )
    
    func TestScanner(t *testing.T) {
    	data := []byte("abcdefghijklmnopqrstuvwxyz0123456789")
    
    	var i int
    	r := bytes.NewReader(data)
    	scanner := newScanner(r)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. cmd/storage-rest-server.go

    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/mux"
    	xnet "github.com/minio/pkg/v3/net"
    )
    
    var errDiskStale = errors.New("drive stale")
    
    // To abstract a disk over network.
    type storageRESTServer struct {
    	endpoint Endpoint
    }
    
    var (
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 45.7K bytes
    - Viewed (0)
  6. tests/distinct_test.go

    	if err := DB.Create(&users).Error; err != nil {
    		t.Fatalf("errors happened when create users: %v", err)
    	}
    
    	var names []string
    	DB.Table("users").Where("name like ?", "distinct%").Order("name").Pluck("name", &names)
    	AssertEqual(t, names, []string{"distinct", "distinct", "distinct", "distinct-2", "distinct-3"})
    
    	var names1 []string
    	DB.Model(&User{}).Where("name like ?", "distinct%").Distinct().Order("name").Pluck("Name", &names1)
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  7. cmd/ftp-server-driver.go

    }
    
    func (m *minioFileInfo) Sys() interface{} {
    	return nil
    }
    
    //msgp:ignore ftpMetrics
    type ftpMetrics struct{}
    
    var globalFtpMetrics ftpMetrics
    
    func ftpTrace(s *ftp.Context, startTime time.Time, source, objPath string, err error, sz int64) madmin.TraceInfo {
    	var errStr string
    	if err != nil {
    		errStr = err.Error()
    	}
    	return madmin.TraceInfo{
    		TraceType: madmin.TraceFTP,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 14K bytes
    - Viewed (0)
  8. src/main/webapp/WEB-INF/orig/view/search.jsp

    				data-toggle="control-options"> <c:if test="${empty lang}">
    						<la:message key="labels.searchoptions_all" />
    					</c:if> <c:if test="${!empty lang}">
    						<c:forEach var="sLang" items="${lang}">
    							<c:forEach var="item" items="${langItems}">
    								<c:if test="${item.value==sLang}">${f:h(item.label)}</c:if>
    							</c:forEach>
    						</c:forEach>
    					</c:if>
    			</a></li>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:07:52 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  9. src/main/webapp/WEB-INF/view/search.jsp

    				data-toggle="control-options"> <c:if test="${empty lang}">
    						<la:message key="labels.searchoptions_all" />
    					</c:if> <c:if test="${!empty lang}">
    						<c:forEach var="sLang" items="${lang}">
    							<c:forEach var="item" items="${langItems}">
    								<c:if test="${item.value==sLang}">${f:h(item.label)}</c:if>
    							</c:forEach>
    						</c:forEach>
    					</c:if>
    			</a></li>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:07:52 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  10. tests/customize_field_test.go

    		t.Error("There should be one record be affected when create record")
    	}
    
    	var cc1 CustomizeColumn
    	DB.First(&cc1, "mapped_name = ?", "foo")
    
    	if cc1.Name != expected {
    		t.Errorf("Failed to query CustomizeColumn")
    	}
    
    	cc.Name = "bar"
    	DB.Save(&cc)
    
    	var cc2 CustomizeColumn
    	DB.First(&cc2, "mapped_id = ?", 666)
    	if cc2.Name != "bar" {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Sep 11 09:33:31 UTC 2020
    - 6.9K bytes
    - Viewed (0)
Back to top