Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for recover (0.16 sec)

  1. cni/pkg/plugin/plugin.go

    	}
    	return loggingOptions
    }
    
    // CmdAdd is called for ADD requests
    func CmdAdd(args *skel.CmdArgs) (err error) {
    	// Defer a panic recover, so that in case if panic we can still return
    	// a proper error to the runtime.
    	defer func() {
    		if e := recover(); e != nil {
    			msg := fmt.Sprintf("istio-cni panicked during cmdAdd: %v\n%v", e, string(debug.Stack()))
    			if err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  2. cmd/main.go

    		freeze := func(_ int) {
    			// Infinite blocking op
    			<-make(chan struct{})
    		}
    
    		// Override the logger os.Exit()
    		logger.ExitFunc = freeze
    
    		defer func() {
    			if err := recover(); err != nil {
    				fmt.Println("panic:", err)
    				fmt.Println("")
    				fmt.Println(string(debug.Stack()))
    			}
    			freeze(-1)
    		}()
    	}
    
    	// Run the app - exit on error.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  3. doc/go_spec.html

    </p>
    
    <p>
    The return value of <code>recover</code> is <code>nil</code> when the
    goroutine is not panicking or <code>recover</code> was not called directly by a deferred function.
    Conversely, if a goroutine is panicking and <code>recover</code> was called directly by a deferred function,
    the return value of <code>recover</code> is guaranteed not to be <code>nil</code>.
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  4. cmd/storage-rest-server.go

    	if err != nil {
    		s.writeErrorResponse(w, err)
    		return
    	}
    
    	versions := make([]FileInfoVersions, totalVersions)
    	decoder := msgpNewReader(r.Body)
    	defer readMsgpReaderPoolPut(decoder)
    	for i := 0; i < totalVersions; i++ {
    		dst := &versions[i]
    		if err := dst.DecodeMsg(decoder); err != nil {
    			s.writeErrorResponse(w, err)
    			return
    		}
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  5. cmd/site-replication.go

    	// part of rule as they may have been removed from latest updated one
    	for id, rl := range rMap {
    		if !rl.Expiration.IsNull() || !rl.NoncurrentVersionExpiration.IsNull() {
    			if _, ok := newRMap[id]; !ok {
    				// if rule getting removed was pure expiry rule (may be got to this site
    				// as part of replication of expiry rules), remove it. Otherwise remove
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  6. android/guava/src/com/google/common/collect/Iterators.java

          }
    
          @Override
          public void remove() {
            iterator.remove();
          }
        };
      }
    
      /**
       * Returns an iterator that cycles indefinitely over the provided elements.
       *
       * <p>The returned iterator supports {@code remove()}. After {@code remove()} is called,
       * subsequent cycles omit the removed element, but {@code elements} does not change. The
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
  7. maven-api-impl/pom.xml

        <dependency>
          <groupId>org.apache.maven.resolver</groupId>
          <artifactId>maven-resolver-api</artifactId>
        </dependency>
        <dependency>
          <groupId>org.apache.maven.resolver</groupId>
          <artifactId>maven-resolver-spi</artifactId>
        </dependency>
        <dependency>
          <groupId>org.apache.maven.resolver</groupId>
          <artifactId>maven-resolver-util</artifactId>
        </dependency>
        <dependency>
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  8. cni/README.md

        - `istio-cni-config` configmap with CNI plugin config to add to CNI plugin chained config
        - creates service-account `istio-cni` with `ClusterRoleBinding` to allow gets on pods' info and delete/modifications for recovery.
    
    - `install-cni` container
        - copies `istio-cni` and `istio-iptables` to `/opt/cni/bin`
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  9. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10CallResolver.kt

                // FE1.0 represents synthesized properties as an extension property of the Java class. Hence we use the extension receiver as
                // the dispatch receiver and always pass null for extension receiver (because in Java there is no way to specify an extension
                // receiver)
                return KtPartiallyAppliedSymbol(
                    signature,
                    extensionReceiver?.toKtReceiverValue(context, this),
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Mon Apr 29 12:48:54 GMT 2024
    - 34.8K bytes
    - Viewed (0)
  10. maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

    import org.apache.maven.artifact.metadata.SwitchableMetadataSource;
    import org.apache.maven.artifact.repository.ArtifactRepository;
    import org.apache.maven.artifact.resolver.ArtifactResolutionRequest;
    import org.apache.maven.artifact.resolver.ArtifactResolutionResult;
    import org.apache.maven.artifact.resolver.ResolutionErrorHandler;
    import org.apache.maven.execution.DefaultMavenExecutionRequest;
    import org.apache.maven.execution.DefaultMavenExecutionResult;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 8.8K bytes
    - Viewed (0)
Back to top