Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for consErr (0.28 sec)

  1. cni/pkg/nodeagent/net.go

    // 2. Syncs the host ipset
    func (s *NetServer) ConstructInitialSnapshot(ambientPods []*corev1.Pod) error {
    	var consErr []error
    
    	if err := s.syncHostIPSets(ambientPods); err != nil {
    		log.Warnf("failed to sync host IPset: %v", err)
    		consErr = append(consErr, err)
    	}
    
    	podsByUID := slices.GroupUnique(ambientPods, (*corev1.Pod).GetUID)
    	if err := s.buildZtunnelSnapshot(podsByUID); err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 05:10:23 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  2. internal/event/target/nats.go

    			return false, store.ErrNotConnected
    		}
    	}
    
    	if connErr != nil {
    		if connErr.Error() == nats.ErrNoServers.Error() {
    			return false, store.ErrNotConnected
    		}
    		return false, connErr
    	}
    
    	if target.natsConn != nil && target.args.JetStream.Enable {
    		target.jstream, connErr = target.natsConn.JetStream()
    		if connErr != nil {
    			if connErr.Error() == nats.ErrNoServers.Error() {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  3. src/strconv/atoc.go

    // license that can be found in the LICENSE file.
    
    package strconv
    
    import "internal/stringslite"
    
    const fnParseComplex = "ParseComplex"
    
    // convErr splits an error returned by parseFloatPrefix
    // into a syntax or range error for ParseComplex.
    func convErr(err error, s string) (syntax, range_ error) {
    	if x, ok := err.(*NumError); ok {
    		x.Func = fnParseComplex
    		x.Num = stringslite.Clone(s)
    		if x.Err == ErrRange {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 05 00:24:26 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. src/internal/types/testdata/fixedbugs/issue39680.go

    /*
    import "fmt"
    
    // Minimal test case.
    func _[T interface{~T}](x T) T{
    	return x
    }
    
    // Test case from issue.
    type constr[T any] interface {
    	~T
    }
    
    func Print[T constr[T]](s []T) {
    	for _, v := range s {
    		fmt.Print(v)
    	}
    }
    
    func f() {
    	Print([]string{"Hello, ", "playground\n"})
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 02 02:58:32 UTC 2022
    - 533 bytes
    - Viewed (0)
  5. maven-core/src/test/resources/apiv4-repo/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-javadoc.jar

    Overview Package Class Use Tree Deprecated Index Help PREV CLASS NEXT CLASS FRAMES NO FRAMES All Classes SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD org/hamcrest/BaseMatcher.html Overview Package Class Use Tree Deprecated Index Help PREV CLASS NEXT CLASS FRAMES NO FRAMES All Classes SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD org.hamcrest Class BaseMatcher<T> java.lang.Object org.hamcrest.BaseMatcher<T> All Implemented Interfaces: Matcher<T>,...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Oct 02 08:41:25 UTC 2022
    - 236.8K bytes
    - Viewed (0)
  6. pkg/client/tests/remotecommand_test.go

    				}
    			})
    		}
    	}
    }
    
    type fakeUpgrader struct {
    	req           *http.Request
    	resp          *http.Response
    	conn          httpstream.Connection
    	err, connErr  error
    	checkResponse bool
    	called        bool
    
    	t *testing.T
    }
    
    func (u *fakeUpgrader) RoundTrip(req *http.Request) (*http.Response, error) {
    	u.called = true
    	u.req = req
    	return u.resp, u.err
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 05 06:08:18 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  7. cmd/site-replication.go

    		}
    	}
    
    	return nil
    }
    
    // Concurrency helpers
    
    type concErr struct {
    	errMap     map[string]error
    	summaryErr error
    }
    
    func (c concErr) Error() string {
    	if c.summaryErr != nil {
    		return c.summaryErr.Error()
    	}
    	return "<nil>"
    }
    
    func (c concErr) Unwrap() error {
    	return c.summaryErr
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 184.3K bytes
    - Viewed (0)
  8. src/internal/trace/traceviewer/static/trace_viewer_full.html

    return{UserModelBuilder,createUEFinderTestCaseStringFromModel,};});'use strict';tr.exportTo('tr.ui.b',function(){function decorate(source,constr){let elements;if(typeof source==='string'){elements=Polymer.dom(tr.doc).querySelectorAll(source);}else{elements=[source];}
    for(let i=0,el;el=elements[i];i++){if(!(el instanceof constr)){constr.decorate(el);}}}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:45:06 UTC 2023
    - 2.5M bytes
    - Viewed (0)
Back to top