Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 104 for lagian (0.14 sec)

  1. tests/gorm_test.go

    		} else if results.RowsAffected != 1 {
    			t.Fatalf("rows affected expects: %v, got %v", 1, results.RowsAffected)
    		}
    
    		u1 = user{} // important to reinitialize this before creating it again
    		u2 := user{}
    		db := DB.Session(&gorm.Session{CreateBatchSize: 10})
    
    		if results := db.Create([]*user{&u1, &u2}); results.Error != nil {
    			t.Fatalf("errors happened on create: %v", results.Error)
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Jun 01 07:22:21 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  2. internal/grid/handlers_string.go

    package grid
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[handlerInvalid-0]
    	_ = x[HandlerLockLock-1]
    	_ = x[HandlerLockRLock-2]
    	_ = x[HandlerLockUnlock-3]
    	_ = x[HandlerLockRUnlock-4]
    	_ = x[HandlerLockRefresh-5]
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  3. cmd/storage-errors.go

    // errFileNameTooLong - given file name is too long than supported length.
    var errFileNameTooLong = StorageErr("file name too long")
    
    // errVolumeExists - cannot create same volume again.
    var errVolumeExists = StorageErr("volume already exists")
    
    // errIsNotRegular - not of regular file type.
    var errIsNotRegular = StorageErr("not of regular file type")
    
    // errPathNotFound - cannot find the path.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/cni-watcher.go

    	log.Debugf("netns: %s", addCmd.Netns)
    
    	// The CNI node plugin should have already checked the pod against the k8s API before forwarding us the event,
    	// but we have to invoke the K8S client anyway, so to be safe we check it again here to make sure we get the same result.
    	maxStaleRetries := 10
    	msInterval := 10
    	retries := 0
    	var ambientPod *corev1.Pod
    	var err error
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Feb 08 18:52:24 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  5. cmd/bootstrap-peer-server.go

    				}
    				if len(incorrectConfigs) > 0 {
    					logger.Info(fmt.Sprintf("Following servers have mismatching configuration %s", incorrectConfigs))
    				}
    				retries = 0 // reset to log again after 20 retries.
    			}
    			offlineEndpoints = nil
    			incorrectConfigs = nil
    		}
    	}
    	return nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  6. cmd/tier-journal.go

    			logger.LogIf(ctx, fmt.Errorf("tier-journal: failed to delete transitioned object %s from %s due to %s", entry.ObjName, entry.TierName, err))
    			// We add the entry into the active journal to try again
    			// later.
    			jd.addEntry(entry)
    		}
    	}
    	if done {
    		os.Remove(jd.ReadOnlyPath())
    	}
    }
    
    func deleteObjectFromRemoteTier(ctx context.Context, objName, rvID, tierName string) error {
    Go
    - Registered: Sun Feb 25 19:28:16 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/lex/input.go

    	tok := in.Stack.Next()
    	if tok != scanner.Ident {
    		in.expectText("expected identifier after '#'")
    	}
    	if !in.enabled() {
    		// Can only start including again if we are at #else or #endif but also
    		// need to keep track of nested #if[n]defs.
    		// We let #line through because it might affect errors.
    		switch in.Stack.Text() {
    		case "else", "endif", "ifdef", "ifndef", "line":
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  8. cmd/erasure-object_test.go

    			}
    		})
    	}
    }
    
    // Test PutObject twice, one small and another bigger
    // than small data threshold and checks reading them again
    func TestPutObjectSmallInlineData(t *testing.T) {
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    
    	const numberOfDisks = 4
    
    	// Create an instance of xl backend.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 36.8K bytes
    - Viewed (0)
  9. cmd/object-api-errors.go

    type BucketAlreadyExists GenericError
    
    func (e BucketAlreadyExists) Error() string {
    	return "The requested bucket name is not available. The bucket namespace is shared by all users of the system. Please select a different name and try again."
    }
    
    // BucketAlreadyOwnedByYou already owned by you.
    type BucketAlreadyOwnedByYou GenericError
    
    func (e BucketAlreadyOwnedByYou) Error() string {
    	return "Bucket already owned by you: " + e.Bucket
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  10. cmd/auth-handler.go

    		r.Body = io.NopCloser(bytes.NewReader(payload))
    		region, s3Err = parseLocationConstraint(r)
    		if s3Err != ErrNone {
    			return s3Err
    		}
    
    		// Populate payload again to handle it in HTTP handler.
    		r.Body = io.NopCloser(bytes.NewReader(payload))
    	}
    
    	logger.GetReqInfo(ctx).Region = region
    
    	return s3Err
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 26K bytes
    - Viewed (0)
Back to top