Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for notvalid (0.08 sec)

  1. src/archive/tar/tar_test.go

    		wantValid: false,
    	}, {
    		in: []sparseEntry{{1, 3}, {2, 2}}, size: 10,
    		wantValid: false,
    	}}
    
    	for i, v := range vectors {
    		gotValid := validateSparseEntries(v.in, v.size)
    		if gotValid != v.wantValid {
    			t.Errorf("test %d, validateSparseEntries() = %v, want %v", i, gotValid, v.wantValid)
    		}
    		if !v.wantValid {
    			continue
    		}
    		gotAligned := alignSparseEntries(append([]sparseEntry{}, v.in...), v.size)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  2. cmd/sftp-server.go

    				break
    			}
    		}
    		if !found {
    			logger.Fatal(fmt.Errorf("unknown algorithm %q passed to --sftp=%s\nValid algorithms: %v", algo, arg, strings.Join(allowed, ", ")), "unable to start SFTP server")
    		}
    	}
    	if len(filteredAlgos) == 0 {
    		logger.Fatal(fmt.Errorf("no valid algorithms passed to --sftp=%s\nValid algorithms: %v", arg, strings.Join(allowed, ", ")), "unable to start SFTP server")
    	}
    	return filteredAlgos
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 20 20:00:29 UTC 2024
    - 16K bytes
    - Viewed (0)
Back to top