Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 48 for B1 (0.12 sec)

  1. android/guava-tests/test/com/google/common/base/MoreObjectsTest.java

        assertSame(s1, s2);
    
        Long n1 = 42L;
        Long n2 = MoreObjects.firstNonNull(null, n1);
        assertSame(n1, n2);
    
        Boolean b1 = true;
        Boolean b2 = MoreObjects.firstNonNull(b1, null);
        assertSame(b1, b2);
      }
    
      public void testFirstNonNull_throwsNullPointerException() {
        try {
          MoreObjects.firstNonNull(null, null);
          fail();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:24:55 GMT 2024
    - 2K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketProtocol.kt

       */
      internal const val B1_FLAG_MASK = 128
    
      /**
       * Byte 1 mask for the payload length.
       *
       * If this value is [PAYLOAD_SHORT], the next two
       * bytes represent the length. If this value is [PAYLOAD_LONG], the next eight bytes
       * represent the length.
       */
      internal const val B1_MASK_LENGTH = 127
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  3. maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/NearestConflictResolverTest.java

         * <pre>
         * a:1.0
         * b:1.0 -&gt; a:2.0
         * </pre>
         */
        @Test
        void testDepth() {
            ResolutionNode a1n = createResolutionNode(a1);
            ResolutionNode b1n = createResolutionNode(b1);
            ResolutionNode a2n = createResolutionNode(a2, b1n);
    
            assertResolveConflict(a1n, a1n, a2n);
        }
    
        /**
         * Tests that <code>a:1.0</code> wins in the scenario:
         * <pre>
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  4. src/bytes/bytes_test.go

    		// different start alignments
    		b1 := b[i:]
    		for j := 0; j < len(b1); j++ {
    			b1[j] = 'x'
    			pos := IndexByte(b1, 'x')
    			if pos != j {
    				t.Errorf("IndexByte(%q, 'x') = %v", b1, pos)
    			}
    			b1[j] = 0
    			pos = IndexByte(b1, 'x')
    			if pos != -1 {
    				t.Errorf("IndexByte(%q, 'x') = %v", b1, pos)
    			}
    		}
    		// different end alignments
    		b1 = b[:i]
    		for j := 0; j < len(b1); j++ {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  5. cmd/dummy-data-generator_test.go

    func cmpReaders(r1, r2 io.Reader) (bool, string) {
    	bufLen := 32 * 1024
    	b1, b2 := make([]byte, bufLen), make([]byte, bufLen)
    	for i := 0; true; i++ {
    		n1, e1 := io.ReadFull(r1, b1)
    		n2, e2 := io.ReadFull(r2, b2)
    		if n1 != n2 {
    			return false, fmt.Sprintf("Read %d != %d bytes from the readers", n1, n2)
    		}
    		if !bytes.Equal(b1[:n1], b2[:n2]) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 4.8K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/dict/synonym/SynonymItemTest.java

        }
    
        public void test_toLineString() {
            assertEquals("a1,a2,a3=>b1,b2,b3",
                    new SynonymItem(1, new String[] { "a1", "a2", "a3" }, new String[] { "b1", "b2", "b3" }).toLineString());
            assertEquals("a=>b", new SynonymItem(1, new String[] { "a" }, new String[] { "b" }).toLineString());
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/score/ScoreUpdater.java

            });
            return resultBuf.toString();
        }
    
        protected void addScoreBooster(final ScoreBooster scoreBooster) {
            scoreBoosterList.add(scoreBooster);
            scoreBoosterList.sort((b1, b2) -> b2.getPriority() - b1.getPriority());
        }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  8. maven-compat/src/test/resources/org/apache/maven/artifact/manager/DefaultWagonManagerTest.xml

          <role-hint>a</role-hint>
          <implementation>org.apache.maven.artifact.manager.WagonA</implementation>
        </component>
        <component>
          <role>org.apache.maven.wagon.Wagon</role>
          <role-hint>b1</role-hint>
          <implementation>org.apache.maven.artifact.manager.WagonB</implementation>
        </component>
        <component>
          <role>org.apache.maven.wagon.Wagon</role>
          <role-hint>b2</role-hint>
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sun Apr 26 16:34:19 GMT 2009
    - 1.7K bytes
    - Viewed (0)
  9. maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/FarthestConflictResolverTest.java

         * <pre>
         * a:1.0
         * b:1.0 -&gt; a:2.0
         * </pre>
         */
        @Test
        void testDepth() {
            ResolutionNode a1n = createResolutionNode(a1);
            ResolutionNode b1n = createResolutionNode(b1);
            ResolutionNode a2n = createResolutionNode(a2, b1n);
    
            assertResolveConflict(a2n, a1n, a2n);
        }
    
        /**
         * Tests that <code>a:2.0</code> wins in the scenario:
         * <pre>
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ImmutableSetTest.java

            };
        TypeWithDuplicates a = new TypeWithDuplicates(1, 1);
        TypeWithDuplicates b1 = new TypeWithDuplicates(2, 1);
        TypeWithDuplicates b2 = new TypeWithDuplicates(2, 2);
        TypeWithDuplicates c = new TypeWithDuplicates(3, 1);
        CollectorTester.of(collector, equivalence)
            .expectCollects(ImmutableSet.of(a, b1, c), a, b1, c, b2);
      }
    
      @Override
      <E extends Comparable<E>> Builder<E> builder() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 13.9K bytes
    - Viewed (0)
Back to top