Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 88 for 1123 (0.02 seconds)

  1. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

                ImmutableMap.ofEntries(entry(1, 1)),
                map(1, 1))
            .addEqualityGroup(
                ImmutableMap.of(1, 1, 2, 2),
                ImmutableMap.builder().put(1, 1).put(2, 2).buildOrThrow(),
                ImmutableMap.ofEntries(entry(1, 1), entry(2, 2)),
                map(1, 1, 2, 2))
            .addEqualityGroup(
                ImmutableMap.of(1, 1, 2, 2, 3, 3),
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 36.7K bytes
    - Click Count (0)
  2. src/bytes/example_test.go

    	var buf bytes.Buffer
    	for i := 0; i < 4; i++ {
    		b := buf.AvailableBuffer()
    		b = strconv.AppendInt(b, int64(i), 10)
    		b = append(b, ' ')
    		buf.Write(b)
    	}
    	os.Stdout.Write(buf.Bytes())
    	// Output: 0 1 2 3
    }
    
    func ExampleBuffer_Cap() {
    	buf1 := bytes.NewBuffer(make([]byte, 10))
    	buf2 := bytes.NewBuffer(make([]byte, 0, 10))
    	fmt.Println(buf1.Cap())
    	fmt.Println(buf2.Cap())
    	// Output:
    	// 10
    	// 10
    }
    
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon May 12 16:07:54 GMT 2025
    - 16.5K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/primitives/BytesTest.java

        testRotate(new byte[] {1, 2, 3, 4}, 1, new byte[] {4, 1, 2, 3});
        testRotate(new byte[] {1, 2, 3, 4}, 5, new byte[] {4, 1, 2, 3});
        testRotate(new byte[] {1, 2, 3, 4}, 9, new byte[] {4, 1, 2, 3});
    
        testRotate(new byte[] {1, 2, 3, 4, 5}, -6, new byte[] {2, 3, 4, 5, 1});
        testRotate(new byte[] {1, 2, 3, 4, 5}, -4, new byte[] {5, 1, 2, 3, 4});
        testRotate(new byte[] {1, 2, 3, 4, 5}, -3, new byte[] {4, 5, 1, 2, 3});
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb1/com/ServerDataTest.java

            serverData.guid = largeGuid;
    
            assertEquals(1024, serverData.guid.length);
            assertEquals((byte) 0xCA, serverData.guid[0]);
            assertEquals((byte) 0xCA, serverData.guid[1023]);
        }
    
        /**
         * Test that ServerData can be used in collections
         */
        @Test
        @DisplayName("Test ServerData can be used in collections")
        public void testUseInCollections() {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/math/DoubleMathTest.java

          }
        }
      }
    
      @GwtIncompatible // DoubleMath.isPowerOfTwo, DoubleMath.log2(double, RoundingMode), StrictMath
      public void testIsPowerOfTwoYes() {
        for (int i = -1074; i <= 1023; i++) {
          assertTrue(DoubleMath.isPowerOfTwo(StrictMath.pow(2.0, i)));
        }
      }
    
      @GwtIncompatible // DoubleMath.isPowerOfTwo, DoubleMath.log2(double, RoundingMode), StrictMath
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Oct 30 14:15:36 GMT 2025
    - 27.3K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/math/StatsTesting.java

      static final double MEGA_STREAM_MEAN = MEGA_STREAM_MAX / 2;
      static final double MEGA_STREAM_POPULATION_VARIANCE =
          (MEGA_STREAM_COUNT - 1) * (MEGA_STREAM_COUNT + 1) / 12.0;
    
      // Stats instances:
    
      static final Stats EMPTY_STATS_VARARGS = Stats.of();
      static final Stats EMPTY_STATS_ITERABLE = Stats.of(ImmutableList.<Double>of());
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 23.8K bytes
    - Click Count (0)
  7. src/test/java/jcifs/dcerpc/DcerpcBindTest.java

            @Test
            @DisplayName("Should handle various result codes correctly")
            void testVariousResultCodes() throws Exception {
                // Test all known result codes
                int[] validCodes = { 0, 1, 2, 3 };
                String[] expectedMessages = { null, // 0 returns null (no exception)
                        "DCERPC_BIND_ERR_ABSTRACT_SYNTAX_NOT_SUPPORTED", "DCERPC_BIND_ERR_PROPOSED_TRANSFER_SYNTAXES_NOT_SUPPORTED",
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 22.7K bytes
    - Click Count (0)
  8. docs/changelogs/changelog_3x.md

     *  Fix: Reject HTTP/2 data frames if the stream ID is 0.
     *  New: Upgrade to Okio 1.12.0.
    
         ```xml
         <dependency>
           <groupId>com.squareup.okio</groupId>
           <artifactId>okio</artifactId>
           <version>1.12.0</version>
         </dependency>
    
         com.squareup.okio:okio:1.12.0
         ```
    
     *  New: Connection coalescing. OkHttp may reuse HTTP/2 connections across calls that share an IP
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/math/DoubleMathTest.java

          }
        }
      }
    
      @GwtIncompatible // DoubleMath.isPowerOfTwo, DoubleMath.log2(double, RoundingMode), StrictMath
      public void testIsPowerOfTwoYes() {
        for (int i = -1074; i <= 1023; i++) {
          assertTrue(DoubleMath.isPowerOfTwo(StrictMath.pow(2.0, i)));
        }
      }
    
      @GwtIncompatible // DoubleMath.isPowerOfTwo, DoubleMath.log2(double, RoundingMode), StrictMath
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Oct 30 14:15:36 GMT 2025
    - 27.3K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/primitives/Shorts.java

       * NumberFormatException} if the input string is invalid.
       *
       * <p><b>Warning:</b> please see {@link Short#decode} to understand exactly how strings are
       * parsed. For example, the string {@code "0123"} is treated as <i>octal</i> and converted to the
       * value {@code 83}.
       *
       * @since 16.0
       */
      public static Converter<String, Short> stringConverter() {
        return ShortConverter.INSTANCE;
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Oct 22 18:14:49 GMT 2025
    - 25.7K bytes
    - Click Count (0)
Back to Top