Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 99 for findAny (0.17 sec)

  1. maven-core/src/test/java/org/apache/maven/SimpleLookup.java

        }
    
        @Override
        public <T> T lookup(Class<T> type) {
            return objects.stream()
                    .filter(type::isInstance)
                    .map(type::cast)
                    .findAny()
                    .orElseThrow(() -> new LookupException("No service of type " + type));
        }
    
        @Override
        public <T> T lookup(Class<T> type, String name) {
            return null;
        }
    
        @Override
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 15:10:38 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. maven-compat/src/test/java/org/apache/maven/SimpleLookup.java

        }
    
        @Override
        public <T> T lookup(Class<T> type) {
            return objects.stream()
                    .filter(type::isInstance)
                    .map(type::cast)
                    .findAny()
                    .orElseThrow(() -> new LookupException("No service of type " + type));
        }
    
        @Override
        public <T> T lookup(Class<T> type, String name) {
            return null;
        }
    
        @Override
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 15:10:38 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/groovy/SignatureTree.java

            Optional<ParameterInfo> varargParameter = callable.getParameters().stream().filter(it -> it.getKind() == ParameterKindInfo.VARARG_METHOD_PARAMETER).findAny();
            CallableKindInfo kind = callable.getKind();
            return Stream.of(
                // Match the `Class<?>` in `receiver` for static methods and constructors
                kind == STATIC_METHOD || kind == AFTER_CONSTRUCTOR
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 02 15:44:14 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/mod_tidy_convergence_loop.txt

    # because it cannot resolve x, y, and z simultaneously.
    ! go mod tidy
    
    cmp go.mod go.mod.orig
    
    stderr '^go: finding module for package example\.net/w$'
    stderr '^go: finding module for package example\.net/x$'
    stderr -count=2 '^go: finding module for package example\.net/y$'
    stderr -count=2 '^go: finding module for package example\.net/z$'
    stderr '^go: found example\.net/x in example\.net/x v0.1.0$'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jun 03 21:13:11 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/mod_gobuild_import.txt

    exec $WORK/testimport$GOEXE gobuild.example.com/x/y/z/w .
    stdout w1.go
    cd w
    exec $WORK/testimport$GOEXE gobuild.example.com/x/y/z/w ..
    stdout w1.go
    
    # go/build's Import in FindOnly mode should find directories by invoking the go command
    #
    # Calling build.Import in build.FindOnly mode on an import path of a Go package
    # that produces errors when loading (e.g., due to build constraints not matching
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:18:16 UTC 2022
    - 3K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/mod_load_badchain.txt

    -- list-missing-expected --
    go: finding module for package example.com/badchain/c
    go: found example.com/badchain/c in example.com/badchain/c v1.1.0
    go: m/use imports
    	example.com/badchain/c: example.com/badchain/c@v1.1.0: parsing go.mod:
    	module declares its path as: badchain.example.com/c
    	        but was required as: example.com/badchain/c
    -- list-missing-test-expected --
    go: finding module for package example.com/badchain/c
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 17 13:05:03 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  7. src/log/slog/value_access_benchmark_test.go

    					ii = v.Int64()
    				case KindUint64:
    					u = v.Uint64()
    				case KindFloat64:
    					f = v.Float64()
    				case KindBool:
    					bb = v.Bool()
    				case KindDuration:
    					d = v.Duration()
    				case KindAny:
    					a = v.Any()
    				default:
    					panic("bad kind")
    				}
    			}
    		}
    		_ = ii
    		_ = s
    		_ = bb
    		_ = u
    		_ = d
    		_ = f
    		_ = a
    
    	})
    	b.Run("As", func(b *testing.B) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 21 20:55:33 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  8. src/crypto/x509/root_wasm.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build wasm
    
    package x509
    
    // Possible certificate files; stop after finding one.
    var certFiles = []string{}
    
    // Possible directories with certificate files; all will be read.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 20:54:07 UTC 2023
    - 373 bytes
    - Viewed (0)
  9. src/crypto/x509/root_solaris.go

    // Copyright 2015 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package x509
    
    // Possible certificate files; stop after finding one.
    var certFiles = []string{
    	"/etc/certs/ca-certificates.crt",     // Solaris 11.2+
    	"/etc/ssl/certs/ca-certificates.crt", // Joyent SmartOS
    	"/etc/ssl/cacert.pem",                // OmniOS
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 02 22:53:18 UTC 2021
    - 538 bytes
    - Viewed (0)
  10. src/crypto/x509/root_aix.go

    // Copyright 2018 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package x509
    
    // Possible certificate files; stop after finding one.
    var certFiles = []string{
    	"/var/ssl/certs/ca-bundle.crt",
    }
    
    // Possible directories with certificate files; all will be read.
    var certDirectories = []string{
    	"/var/ssl/certs",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 02 22:53:18 UTC 2021
    - 410 bytes
    - Viewed (0)
Back to top