Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for inro (0.15 sec)

  1. tests/migrate_test.go

    	if err != nil {
    		t.Errorf("Open err:%v", err)
    	}
    	if debug := os.Getenv("DEBUG"); debug == "true" {
    		db.Logger = db.Logger.LogMode(logger.Info)
    	} else if debug == "false" {
    		db.Logger = db.Logger.LogMode(logger.Silent)
    	}
    
    	type Object1 struct {
    		ID uint
    	}
    	type Object2 struct {
    		ID     uint
    		Field1 int `gorm:"type:int8"`
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Mar 18 11:24:16 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  2. src/cmd/cgo/gcc.go

    		numTypedefs = len(p.typedefs)
    		// Also ask about any typedefs we've seen so far.
    		for _, info := range p.typedefList {
    			if f.Name[info.typedef] != nil {
    				continue
    			}
    			n := &Name{
    				Go: info.typedef,
    				C:  info.typedef,
    			}
    			f.Name[info.typedef] = n
    			f.NamePos[n] = info.pos
    		}
    		needType := p.guessKinds(f)
    		if len(needType) > 0 {
    			p.loadDWARF(f, &conv, needType)
    		}
    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. cmd/batch-handlers.go

    // object which matches the given filters.
    func (ri *batchJobInfo) trackMultipleObjectVersions(bucket string, info ObjectInfo, success bool) {
    	if success {
    		ri.Objects += int64(info.NumVersions)
    	} else {
    		ri.ObjectsFailed += int64(info.NumVersions)
    	}
    }
    
    func (ri *batchJobInfo) trackCurrentBucketObject(bucket string, info ObjectInfo, success bool) {
    	if ri == nil {
    		return
    	}
    
    	ri.mu.Lock()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  4. cmd/admin-handlers-users.go

    		return
    	}
    
    	writeSuccessResponseJSON(w, usageInfoJSON)
    }
    
    // InfoCannedPolicy - GET /minio/admin/v3/info-canned-policy?name={policyName}
    //
    // Newer API response with policy timestamps is returned with query parameter
    // `v=2` like:
    //
    // GET /minio/admin/v3/info-canned-policy?name={policyName}&v=2
    //
    // The newer API will eventually become the default (and only) one. The older
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 77.5K bytes
    - Viewed (0)
  5. istioctl/pkg/describe/describe.go

    			err = describePodServices(writer, kubeClient, configClient, pod, matchingServices, podsLabels)
    			if err != nil {
    				return err
    			}
    
    			// render PeerAuthentication info
    			fmt.Fprintf(writer, "--------------------\n")
    			err = describePeerAuthentication(writer, kubeClient, configClient, ns, klabels.Set(pod.ObjectMeta.Labels), ctx.IstioNamespace())
    			if err != nil {
    				return err
    			}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
  6. src/archive/zip/reader_test.go

    			t.Logf("%q (Open error: %v)", dirEntry.Name(), err)
    		}
    		t.FailNow()
    	}
    	info, err := dirEntries[0].Info()
    	if err != nil {
    		t.Fatalf("Error reading info entry: %v", err)
    	}
    	if name := info.Name(); name != "test.txt" {
    		t.Errorf("Inconsistent name in info entry: %v", name)
    	}
    }
    
    func TestUnderSize(t *testing.T) {
    	z, err := OpenReader("testdata/readme.zip")
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  7. cmd/xl-storage-format-v2.go

    // It will be length 0.
    func metaDataPoolGet() []byte {
    	return metaDataPool.Get().([]byte)[:0]
    }
    
    // metaDataPoolPut will put an unused small buffer back into the pool.
    func metaDataPoolPut(buf []byte) {
    	if cap(buf) >= metaDataReadDefault && cap(buf) < metaDataReadDefault*4 {
    		//nolint:staticcheck // SA6002 we are fine with the tiny alloc
    		metaDataPool.Put(buf)
    	}
    }
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
  8. cmd/bucket-handlers.go

    						SRDeleteOp: getSRBucketDeleteOp(globalSiteReplicationSys.isEnabled()),
    					})
    					writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    					return
    				}
    
    				// Load updated bucket metadata into memory.
    				globalNotificationSys.LoadBucketMetadata(GlobalContext, bucket)
    
    				// Make sure to add Location information here only for bucket
    				w.Header().Set(xhttp.Location, pathJoin(SlashSeparator, bucket))
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
  9. cmd/xl-storage_test.go

    	if err != nil {
    		t.Fatalf("expected: <nil>, got: %s", err)
    	}
    	if len(volInfos) != 2 {
    		t.Fatalf("expected: 2, got: %d", len(volInfos))
    	}
    	volFound := false
    	for _, info := range volInfos {
    		if info.Name == "success-vol" {
    			volFound = true
    			break
    		}
    	}
    	if !volFound {
    		t.Errorf("expected: success-vol to be created")
    	}
    
    	// removing the path and simulating disk failure
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  10. src/bufio/bufio_test.go

    			t.Errorf("w.ReadFrom(errorReaderFromTests[%d]) = _, %v, want _,%v", i, err, rw.expected)
    		}
    	}
    }
    
    // TestWriterReadFromCounts tests that using io.Copy to copy into a
    // bufio.Writer does not prematurely flush the buffer. For example, when
    // buffering writes to a network socket, excessive network writes should be
    // avoided.
    func TestWriterReadFromCounts(t *testing.T) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
Back to top