Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ToSlice (0.33 sec)

  1. cmd/net.go

    	if globalBrowserRedirectURL != nil {
    		return []string{globalBrowserRedirectURL.String()}
    	}
    	var ipList []string
    	if globalMinioConsoleHost == "" {
    		ipList = sortIPs(mustGetLocalIP4().ToSlice())
    		ipList = append(ipList, mustGetLocalIP6().ToSlice()...)
    	} else {
    		ipList = []string{globalMinioConsoleHost}
    	}
    
    	for _, ip := range ipList {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 26 15:00:38 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  2. internal/config/lambda/parse.go

    func FetchEnabledTargets(ctx context.Context, cfg config.Config, transport *http.Transport) (*event.TargetList, error) {
    	targetList := event.NewTargetList()
    	for _, subSys := range config.LambdaSubSystems.ToSlice() {
    		targets, err := fetchSubSysTargets(ctx, cfg, subSys, transport)
    		if err != nil {
    			return nil, err
    		}
    		for _, t := range targets {
    			if err = targetList.Add(t); err != nil {
    				return nil, err
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6K bytes
    - Viewed (0)
  3. cmd/net_test.go

    		case testCase.expectedErr.Error() != err.Error():
    			t.Fatalf("error: expected = %v, got = %v", testCase.expectedErr, err)
    		}
    
    		if testCase.expectedIPList != nil {
    			var found bool
    			for _, ip := range ipList.ToSlice() {
    				if testCase.expectedIPList.Contains(ip) {
    					found = true
    				}
    			}
    			if !found {
    				t.Fatalf("host: expected = %v, got = %v", testCase.expectedIPList, ipList)
    			}
    		}
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 08:43:09 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/mylasta/FessActionDefTest.java

    package org.codelibs.fess.mylasta;
    
    import java.io.File;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.dbflute.utflute.lastaflute.police.NonActionExtendsActionPolice;
    import org.dbflute.utflute.lastaflute.police.NonWebHasWebReferencePolice;
    import org.dbflute.utflute.lastaflute.police.WebPackageNinjaReferencePolice;
    
    public class FessActionDefTest extends UnitFessTestCase {
    
        //    public void test_component() throws Exception {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.3K bytes
    - Viewed (0)
Back to top