Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 487 for us (0.12 sec)

  1. android/guava-tests/benchmark/com/google/common/base/AsciiBenchmark.java

        }
        return dummy;
      }
    
      @Benchmark
      int stringToUpperCase(int reps) {
        String string = noWorkToDo ? testString.toUpperCase(Locale.US) : testString;
    
        int dummy = 0;
        for (int i = 0; i < reps; i++) {
          dummy += string.toUpperCase(Locale.US).length();
        }
        return dummy;
      }
    
      @Benchmark
      boolean equalsIgnoreCaseCharSequence(int reps) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/HashCodeTest.java

        sanityTester().testEqualsAndSerializable();
      }
    
      public void testRoundTripHashCodeUsingBaseEncoding() {
        HashCode hash1 = Hashing.sha1().hashString("foo", Charsets.US_ASCII);
        HashCode hash2 = HashCode.fromBytes(BaseEncoding.base16().lowerCase().decode(hash1.toString()));
        assertEquals(hash1, hash2);
      }
    
      public void testObjectHashCode() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/convert/TimeConversionUtilTest.java

        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToDate_SpecificLocale() throws Exception {
            final Date date = toDate("11:49:10 AM", Locale.US);
            assertThat(new SimpleDateFormat("HH:mm:ss").format(date), is("11:49:10"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToDate_SpecificPattern() throws Exception {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/ResourcesTest.java

      public void testToString() throws IOException {
        URL resource = getClass().getResource("testdata/i18n.txt");
        assertEquals(I18N, Resources.toString(resource, Charsets.UTF_8));
        assertThat(Resources.toString(resource, Charsets.US_ASCII)).isNotEqualTo(I18N);
      }
    
      public void testToByteArray() throws IOException {
        URL resource = getClass().getResource("testdata/i18n.txt");
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.8K bytes
    - Viewed (0)
  5. .github/ISSUE_TEMPLATE/feature_request.md

    ---
    name: Feature request
    about: Suggest an idea
    title: ''
    labels: enhancement
    assignees: ''
    
    ---
    
    Start by telling us what problem you’re trying to solve. Often a solution already exists!
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 30 18:42:51 GMT 2018
    - 350 bytes
    - Viewed (0)
  6. cni/pkg/nodeagent/ztunnelserver_test.go

    	uid := fixture.uid
    
    	m, fds := readRequest(t, ztunClient)
    	// we got am essage from ztun, so it should have observed us being connected
    	mt.Assert(ztunnelConnected.Name(), nil, monitortest.Exactly(1))
    
    	// we should get the fd to dev null. note that we can't assert the fd number
    	// as the kernel may have given us a different number that refers to the same file.
    	assert.Equal(t, len(fds), 1)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  7. maven-core/src/test/resources/projects/future-schema-model-version-pom.xml

    specific language governing permissions and limitations
    under the License.
    -->
    
    <project>
        <modelVersion>4.999.999</modelVersion>
        <!-- this should be a fake "future" version that only has modelVersion understood by us -->
        <coordinates>tests.project:future-model-version</coordinates>
    XML
    - Registered: Sun Mar 31 03:35:09 GMT 2024
    - Last Modified: Mon Jun 03 20:33:44 GMT 2019
    - 993 bytes
    - Viewed (0)
  8. docs_src/response_headers/tutorial001.py

    from fastapi.responses import JSONResponse
    
    app = FastAPI()
    
    
    @app.get("/headers/")
    def get_headers():
        content = {"message": "Hello World"}
        headers = {"X-Cat-Dog": "alone in the world", "Content-Language": "en-US"}
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Mar 26 19:09:53 GMT 2020
    - 309 bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java

       * preferred strategy {@code UnsafeAtomicHelper}.
       */
      private static final ClassLoader NO_UNSAFE =
          getClassLoader(ImmutableSet.of(sun.misc.Unsafe.class.getName()));
    
      /**
       * This classloader disallows {@link sun.misc.Unsafe} and {@link AtomicReferenceFieldUpdater},
       * which will prevent us from selecting our {@code SafeAtomicHelper} strategy.
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 16 03:24:50 GMT 2021
    - 6.2K bytes
    - Viewed (0)
  10. guava-tests/benchmark/com/google/common/base/AsciiBenchmark.java

        }
        return dummy;
      }
    
      @Benchmark
      int stringToUpperCase(int reps) {
        String string = noWorkToDo ? testString.toUpperCase(Locale.US) : testString;
    
        int dummy = 0;
        for (int i = 0; i < reps; i++) {
          dummy += string.toUpperCase(Locale.US).length();
        }
        return dummy;
      }
    
      @Benchmark
      boolean equalsIgnoreCaseCharSequence(int reps) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.8K bytes
    - Viewed (0)
Back to top