Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,026 for paib (0.06 sec)

  1. test/typeparam/combine.go

    		}
    		t2, ok := g2()
    		if !ok {
    			return t, false
    		}
    		return join(t1, t2), true
    	}
    }
    
    type Pair[A, B any] struct {
    	A A
    	B B
    }
    
    func _NewPair[A, B any](a A, b B) Pair[A, B] {
    	return Pair[A, B]{a, b}
    }
    
    func Combine2[A, B any](ga Gen[A], gb Gen[B]) Gen[Pair[A, B]] {
    	return Combine(ga, gb, _NewPair[A, B])
    }
    
    func main() {
    	var g1 Gen[int] = func() (int, bool) { return 3, true }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  2. subprojects/composite-builds/src/main/java/org/gradle/composite/internal/AbstractCompositeParticipantBuildState.java

        private Set<Pair<ModuleVersionIdentifier, ProjectComponentIdentifier>> availableModules;
    
        public AbstractCompositeParticipantBuildState(BuildTreeState buildTree, BuildDefinition buildDefinition, @Nullable BuildState parent) {
            super(buildTree, buildDefinition, parent);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 06 15:09:14 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  3. maven-core/src/test/java/org/apache/maven/lifecycle/internal/builder/multithreaded/ThreadOutputMuxerTest.java

            System.out.print(paid); // No, this does not print to system.out. It's part of the test
            assertEquals(paid.length(), byteArrayOutputStream.size());
            threadOutputMuxer.associateThreadWithProjectSegment(projectBuildList.get(1));
            System.out.print(in); // No, this does not print to system.out. It's part of the test
            assertEquals(paid.length(), byteArrayOutputStream.size());
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/env_unset.txt

    ! go env
    stderr '^go(\.exe)?: unknown GOEXPERIMENT badexp$'
    
    go env -u GOEXPERIMENT
    
    ! go env
    stderr '^go: unsupported GOOS/GOARCH pair bados/badarch$'
    
    ! go env -u GOOS
    stderr '^go: unsupported GOOS/GOARCH pair \w+/badarch$'
    
    ! go env -u GOARCH
    stderr '^go: unsupported GOOS/GOARCH pair bados/\w+$'
    
    go env -u GOOS GOARCH
    
    go env
    
    -- badenv --
    GOOS=bados
    GOARCH=badarch
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 15 00:06:54 UTC 2021
    - 553 bytes
    - Viewed (0)
  5. src/go/parser/testdata/resolution/typeparams.go2

    // license that can be found in the LICENSE file.
    
    package resolution
    
    type List /* =@List */ [E /* =@E */ any] []E // @E
    
    type Pair /* =@Pair */ [L /* =@L */, R /* =@R */ any] struct {
    	Left /* =@Left */ L // @L
    	Right /* =@Right */ R // @R
    	L /* =@Lfield */ int
    }
    
    var _ = Pair /* @Pair */ [int, string]{}
    
    type Addable /* =@Addable */ interface {
    	~int64|~float64
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 02 12:56:53 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/user/exbhv/UserBhv.java

                result.setRoles(toStringArray(source.get(ROLES)));
                result.setAttributes(source.entrySet().stream().filter(e -> isAttribute(e.getKey()))
                        .map(e -> new Pair<>(e.getKey(), (String) e.getValue())).collect(Collectors.toMap(Pair::getFirst, Pair::getSecond)));
                return result;
            } catch (InstantiationException | IllegalAccessException e) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. src/unicode/utf16/utf16.go

    // If the pair is not a valid UTF-16 surrogate pair, DecodeRune returns
    // the Unicode replacement code point U+FFFD.
    func DecodeRune(r1, r2 rune) rune {
    	if surr1 <= r1 && r1 < surr2 && surr2 <= r2 && r2 < surr3 {
    		return (r1-surr1)<<10 | (r2 - surr2) + surrSelf
    	}
    	return replacementChar
    }
    
    // EncodeRune returns the UTF-16 surrogate pair r1, r2 for the given rune.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 19:08:48 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/PlatformNativeComponentReportIntegrationTest.groovy

            flavor: flavor 'paid'
            target platform: platform 'amd64'
            tool chain: Tool chain 'clang' (Clang)
            shared library file: build/libs/someLib/shared/amd64/paid/libsomeLib.dylib
        Static library 'someLib:amd64:paid:staticLibrary'
            build using task: :someLibAmd64PaidStaticLibrary
            build type: build type 'debug'
            flavor: flavor 'paid'
            target platform: platform 'amd64'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/user/exbhv/GroupBhv.java

                result.setAttributes(source.entrySet().stream().filter(e -> !"name".equals(e.getKey()))
                        .map(e -> new Pair<>(e.getKey(), (String) e.getValue())).collect(Collectors.toMap(Pair::getFirst, Pair::getSecond)));
                return result;
            } catch (InstantiationException | IllegalAccessException e) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/BiMapInverseTester.java

      }
    
      @CollectionFeature.Require(SERIALIZABLE)
      public void testInverseSerialization() {
        BiMapPair<K, V> pair = new BiMapPair<>(getMap());
        BiMapPair<K, V> copy = SerializableTester.reserialize(pair);
        assertEquals(pair.forward, copy.forward);
        assertEquals(pair.backward, copy.backward);
        assertSame(copy.backward, copy.forward.inverse());
        assertSame(copy.forward, copy.backward.inverse());
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top