Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1441 - 1450 of 1,624 for round (0.02 seconds)

  1. guava-tests/test/com/google/common/primitives/LongsTest.java

        list.set(0, 4L);
        assertThat(newArray).isEqualTo(new long[] {0L, 1L, 2L});
        newArray[1] = 5L;
        assertThat((long) list.get(1)).isEqualTo(1L);
      }
    
      // This test stems from a real bug found by andrewk
      public void testAsList_subList_toArray_roundTrip() {
        long[] array = {0L, 1L, 2L, 3L};
        List<Long> list = Longs.asList(array);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 28.8K bytes
    - Click Count (0)
  2. guava/src/com/google/common/base/Ascii.java

       * return {@code false}.
       */
      public static boolean isLowerCase(char c) {
        // Note: This was benchmarked against the alternate expression "(char)(c - 'a') < 26" (Nov '13)
        // and found to perform at least as well, or better.
        return (c >= 'a') && (c <= 'z');
      }
    
      /**
       * Indicates whether {@code c} is one of the twenty-six uppercase ASCII alphabetic characters
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 21.7K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

          Assert.assertFalse(
              "No "
                  + factoryMethodsDescription
                  + " that return "
                  + returnTypeToTest.getName()
                  + " or subtype are found in "
                  + declaringClass
                  + ".",
              factoriesToTest.isEmpty());
          return factoriesToTest;
        }
      }
    
      private void testEqualsUsing(Invokable<?, ?> factory)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 32.5K bytes
    - Click Count (0)
  4. docs/smb3-features/06-witness-protocol-design.md

            }
        } catch (Exception e) {
            log.debug("Failed to discover cluster witness via DNS", e);
        }
        
        return null;  // No witness service found
    }
    
    private boolean isWitnessServiceAvailable(InetAddress address) {
        try (Socket socket = new Socket()) {
            socket.connect(new InetSocketAddress(address, 135), 5000);  // RPC endpoint
            return true;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 42K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/core/collection/ArrayUtil.java

         *            the object to search for
         * @param fromIndex
         *            the index to start the search from
         * @return the index of the first occurrence of the object in the array, or {@literal -1} if not found
         */
        public static <T> int indexOf(final T[] array, final T obj, final int fromIndex) {
            if (array != null) {
                for (int i = fromIndex; i < array.length; ++i) {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 41.5K bytes
    - Click Count (0)
  6. src/main/webapp/js/marked.min.js

    kbox(i);break}case"html":{t+=this.renderer.html(i);break}case"def":{t+=this.renderer.def(i);break}case"paragraph":{t+=this.renderer.paragraph(i);break}case"text":{t+=this.renderer.text(i);break}default:{let s='Token with "'+i.type+'" type was not found.';if(this.options.silent)return console.error(s),"";throw new Error(s)}}}return t}parseInline(e,t=this.renderer){let n="";for(let r=0;r<e.length;r++){let i=e[r];if(this.options.extensions?.renderers?.[i.type]){let a=this.options.extensions.rendere...
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:21:57 GMT 2026
    - 41.5K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

          if (element.getClassName().equals(clazz) && element.getMethodName().equals(method)) {
            return i;
          }
        }
        throw new AssertionError(
            "Expected element " + clazz + "." + method + " not found in stack trace", e);
      }
    
      private ExecutionException getExpectingExecutionException(AbstractFuture<String> future)
          throws InterruptedException {
        try {
          String got = future.get();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 45.2K bytes
    - Click Count (0)
  8. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

                  + " called");
        }
      }
    
      public void testNullBounds() {
        // NullBounds has methods whose parameters are type variables that have
        // "extends @Nullable Object" as a bound. This test ensures that NullPointerTester considers
        // those parameters to be @Nullable, so it won't call the methods.
        NullBounds<?, ?, ?> nullBounds = new NullBounds<>();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 47.9K bytes
    - Click Count (0)
  9. LICENSE

    safest to attach them to the start of each source file to most effectively
    convey the exclusion of warranty; and each file should have at least the
    "copyright" line and a pointer to where the full notice is found.
    
        {description}
        Copyright (C) {year} {fullname}
    
        This library is free software; you can redistribute it and/or
        modify it under the terms of the GNU Lesser General Public
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Mon Jan 18 20:25:38 GMT 2016
    - 25.8K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

        list.set(0, 4.0f);
        assertThat(newArray).isEqualTo(new float[] {0.0f, 1.0f, 2.0f});
        newArray[1] = 5.0f;
        assertThat((float) list.get(1)).isEqualTo(1.0f);
      }
    
      // This test stems from a real bug found by andrewk
      public void testAsList_subList_toArray_roundTrip() {
        float[] array = {0.0f, 1.0f, 2.0f, 3.0f};
        List<Float> list = Floats.asList(array);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 29.4K bytes
    - Click Count (0)
Back to Top