Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 7,921 for tError (0.09 sec)

  1. internal/crypto/error.go

    	e := fmt.Errorf(format, a...)
    	ee := Error{}
    	ee.msg = e.Error()
    	ee.cause = errors.Unwrap(e)
    	return ee
    }
    
    // Unwrap the internal error.
    func (e Error) Unwrap() error { return e.cause }
    
    // Error 'error' compatible method.
    func (e Error) Error() string {
    	if e.msg == "" {
    		return "crypto: cause <nil>"
    	}
    	return e.msg
    }
    
    var (
    	// ErrInvalidEncryptionMethod indicates that the specified SSE encryption method
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Mar 28 17:44:56 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. pkg/network/error.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package network
    
    import (
    	"errors"
    	"net"
    	"net/http"
    )
    
    func IsUnexpectedListenerError(err error) bool {
    	if err == nil {
    		return false
    	}
    	if errors.Is(err, net.ErrClosed) {
    		return false
    	}
    	if errors.Is(err, http.ErrServerClosed) {
    		return false
    	}
    	return true
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 21 08:25:27 UTC 2023
    - 858 bytes
    - Viewed (0)
  3. internal/bucket/lifecycle/error.go

    package lifecycle
    
    import (
    	"fmt"
    )
    
    // Error is the generic type for any error happening during tag
    // parsing.
    type Error struct {
    	err error
    }
    
    // Errorf - formats according to a format specifier and returns
    // the string as a value that satisfies error of type tagging.Error
    func Errorf(format string, a ...interface{}) error {
    	return Error{err: fmt.Errorf(format, a...)}
    }
    
    // Unwrap the internal error.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  4. internal/bucket/versioning/error.go

    package versioning
    
    import (
    	"fmt"
    )
    
    // Error is the generic type for any error happening during tag
    // parsing.
    type Error struct {
    	err error
    }
    
    // Errorf - formats according to a format specifier and returns
    // the string as a value that satisfies error of type tagging.Error
    func Errorf(format string, a ...interface{}) error {
    	return Error{err: fmt.Errorf(format, a...)}
    }
    
    // Unwrap the internal error.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/mod_indirect_main.txt

    go 1.12
    
    replace (
    	golang.org/issue/mirror v0.1.0 => ./mirror-v0.1.0
    	golang.org/issue/pkg v0.1.0 => ./pkg-v0.1.0
    	golang.org/issue/root v0.1.0 => ./root-v0.1.0
    )
    
    require golang.org/issue/mirror v0.1.0
    
    -- root.go --
    package root
    
    import _ "golang.org/issue/mirror"
    
    -- mirror-v0.1.0/go.mod --
    module golang.org/issue/mirror
    
    require golang.org/issue/root v0.1.0
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 02 23:07:08 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  6. maven-compat/src/test/java/org/apache/maven/repository/MirrorProcessorTest.java

        }
    
        private Mirror newMirror(String id, String mirrorOf, String url) {
            return newMirror(id, mirrorOf, null, url);
        }
    
        private Mirror newMirror(String id, String mirrorOf, String layouts, String url) {
            Mirror mirror = new Mirror();
    
            mirror.setId(id);
            mirror.setMirrorOf(mirrorOf);
            mirror.setMirrorOfLayouts(layouts);
            mirror.setUrl(url);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/internal/aether/LegacyRepositorySystemSessionExtender.java

                repository.setUrl(mirror.getUrl());
    
                if (mirror.getLayout() != null && !mirror.getLayout().isEmpty()) {
                    repository.setLayout(original.getLayout());
                }
    
                repository.setBlocked(mirror.isBlocked());
            }
        }
    
        private void injectProxy(ProxySelector selector, List<ArtifactRepository> repositories) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  8. maven-settings-builder/src/test/java/org/apache/maven/settings/validation/DefaultSettingsValidatorTest.java

            Settings settings = new Settings();
            Mirror mirror = new Mirror();
            mirror.setId("local");
            settings.addMirror(mirror);
            mirror = new Mirror();
            mirror.setId("illegal\\:/chars");
            mirror.setUrl("http://void");
            mirror.setMirrorOf("void");
            settings.addMirror(mirror);
    
            SimpleProblemCollector problems = new SimpleProblemCollector();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  9. maven-compat/src/main/java/org/apache/maven/repository/MirrorSelector.java

         * @return The mirror specification for the repository or {@code null} if no mirror matched.
         */
        Mirror getMirror(ArtifactRepository repository, List<Mirror> mirrors);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 11:28:54 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  10. tests/integration/pilot/mirror_test.go

    		cases: []testCaseMirror{
    			{
    				name:       "mirror-percent-absent",
    				absent:     true,
    				percentage: 100.0,
    				threshold:  0.0,
    			},
    			{
    				name:       "mirror-50",
    				percentage: 50.0,
    				threshold:  10.0,
    			},
    			{
    				name:       "mirror-10",
    				percentage: 10.0,
    				threshold:  5.0,
    			},
    			{
    				name:       "mirror-0",
    				percentage: 0.0,
    				threshold:  0.0,
    			},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top