Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 742 for recovered (0.3 sec)

  1. test/typeparam/issue50264.go

    	res := Applicative2(func(a int, b int) int {
    		return 0
    	})
    	_ = res
    }
    
    type NoneType[T any] struct{}
    
    func (r NoneType[T]) Recover() any {
    	return nil
    }
    
    type Func2[A1, A2, R any] func(a1 A1, a2 A2) R
    
    func Some[T any](v T) any {
    	_ = Some2[T](v)
    	return NoneType[T]{}.Recover()
    }
    
    //go:noinline
    func Some2[T any](v T) any {
    	return v
    }
    
    type Nil struct{}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 822 bytes
    - Viewed (0)
  2. src/runtime/race/testdata/chan_test.go

    	go func() {
    		v = 1
    		close(c)
    	}()
    	func() {
    		defer func() {
    			recover()
    		}()
    		c <- 0
    	}()
    	v = 2
    }
    
    func TestRaceChanAsyncCloseSend(t *testing.T) {
    	v := 0
    	_ = v
    	c := make(chan int, 10)
    	go func() {
    		v = 1
    		close(c)
    	}()
    	func() {
    		defer func() {
    			recover()
    		}()
    		for {
    			c <- 0
    		}
    	}()
    	v = 2
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 18 19:55:29 UTC 2023
    - 11K bytes
    - Viewed (0)
  3. apache-maven/src/main/appended-resources/licenses/CDDL+GPLv2-with-classpath-exception.txt

        of this License. You must include a copy of this License with every
        copy of the Source Code form of the Covered Software You distribute
        or otherwise make available. You must inform recipients of any such
        Covered Software in Executable form as to how they can obtain such
        Covered Software in Source Code form in a reasonable manner on or
        through a medium customarily used for software exchange.
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri May 17 19:14:22 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  4. licenses/gopkg.in/yaml.v3/LICENSE

    This project is covered by two different licenses: MIT and Apache.
    
    #### MIT License ####
    
    The following files were ported to Go from C files of libyaml, and thus
    are still covered by their original MIT license, with the additional
    copyright staring in 2011 when the project was ported over:
    
        apic.go emitterc.go parserc.go readerc.go scannerc.go
        writerc.go yamlh.go yamlprivateh.go
    
    Copyright (c) 2006-2010 Kirill Simonov
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 28 19:48:10 UTC 2020
    - 2.1K bytes
    - Viewed (0)
  5. src/runtime/runtime-seh_windows_test.go

    		"runtime_test.TestSehUnwindDoublePanic.func1", "runtime.gopanic", "runtime_test.TestSehUnwindDoublePanic"}
    	defer func() {
    		defer func() {
    			if recover() == nil {
    				t.Fatal("did not panic")
    			}
    			pcs := sehCallers()
    			testSehCallersEqual(t, pcs, want)
    		}()
    		if recover() == nil {
    			t.Fatal("did not panic")
    		}
    		panic(2)
    	}()
    	panic(1)
    }
    
    func TestSehUnwindNilPointerPanic(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 31 16:52:06 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  6. LICENSES/vendor/gopkg.in/yaml.v3/LICENSE

    = vendor/gopkg.in/yaml.v3 licensed under: =
    
    
    This project is covered by two different licenses: MIT and Apache.
    
    #### MIT License ####
    
    The following files were ported to Go from C files of libyaml, and thus
    are still covered by their original MIT license, with the additional
    copyright staring in 2011 when the project was ported over:
    
        apic.go emitterc.go parserc.go readerc.go scannerc.go
        writerc.go yamlh.go yamlprivateh.go
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 13 19:52:57 UTC 2020
    - 2.2K bytes
    - Viewed (0)
  7. src/cmd/go/alldocs.go

    // has failed.
    //
    // In package list mode only, go test caches successful package test
    // results to avoid unnecessary repeated running of tests. When the
    // result of a test can be recovered from the cache, go test will
    // redisplay the previous output instead of running the test binary
    // again. When this happens, go test prints '(cached)' in place of the
    // elapsed time in the summary line.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/connection/RetryTlsHandshake.kt

    fun retryTlsHandshake(e: IOException): Boolean {
      return when {
        // If there was a protocol problem, don't recover.
        e is ProtocolException -> false
    
        // If there was an interruption or timeout (SocketTimeoutException), don't recover.
        // For the socket connect timeout case we do not try the same host with a different
        // ConnectionSpec: we assume it is unreachable.
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Jan 07 16:05:34 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/HttpScriptPluginIntegrationSpec.groovy

            when:
            server.stop()
            args("--offline")
    
            then:
            succeeds 'help'
            output.contains('loaded external script 2')
        }
    
        def "reports and recovers from missing remote script"() {
            String scriptName = "script-missing.gradle"
            String scriptUrl = "${server.uri}/${scriptName}"
            def scriptFile = file("script.gradle") << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 30 08:26:30 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  10. test/rename.go

    			float32 +
    			float64 +
    			imag +
    			int +
    			int8 +
    			int16 +
    			int32 +
    			int64 +
    			len +
    			make +
    			new +
    			nil +
    			panic +
    			print +
    			println +
    			real +
    			recover +
    			rune +
    			string +
    			true +
    			uint +
    			uint8 +
    			uint16 +
    			uint32 +
    			uint64 +
    			uintptr +
    			iota
    	if n != NUM*(NUM-1)/2 {
    		fmt.Println("BUG: wrong n", n, NUM*(NUM-1)/2)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 1.5K bytes
    - Viewed (0)
Back to top