Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2521 - 2530 of 4,816 for newE (0.07 sec)

  1. guava/src/com/google/common/math/ToDoubleRounder.java

                case HALF_UP:
                  return (sign(x) >= 0) ? roundCeilingAsDouble : roundFloorAsDouble;
                default:
                  throw new AssertionError("impossible");
              }
            }
        }
        throw new AssertionError("impossible");
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/lang/ConstructorUtil.java

            } catch (final InstantiationException e) {
                throw new InstantiationRuntimeException(constructor.getDeclaringClass(), e);
            } catch (final IllegalAccessException e) {
                throw new IllegalAccessRuntimeException(constructor.getDeclaringClass(), e);
            } catch (final InvocationTargetException e) {
                throw new InvocationTargetRuntimeException(constructor.getDeclaringClass(), e);
            }
        }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. schema/serializer.go

    type JSONSerializer struct{}
    
    // Scan implements serializer interface
    func (JSONSerializer) Scan(ctx context.Context, field *Field, dst reflect.Value, dbValue interface{}) (err error) {
    	fieldValue := reflect.New(field.FieldType)
    
    	if dbValue != nil {
    		var bytes []byte
    		switch v := dbValue.(type) {
    		case []byte:
    			bytes = v
    		case string:
    			bytes = []byte(v)
    		default:
    			bytes, err = json.Marshal(v)
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jun 20 08:45:38 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. regression-test/src/androidTest/java/okhttp/regression/compare/OkHttpClientTest.java

    /**
     * OkHttp.
     *
     * https://square.github.io/okhttp/
     */
    @RunWith(AndroidJUnit4.class)
    public class OkHttpClientTest {
      @Test public void get() throws IOException {
        OkHttpClient client = new OkHttpClient();
        Request request = new Request.Builder()
            .url("https://google.com/robots.txt")
            .build();
        try (Response response = client.newCall(request).execute()) {
          assertEquals(200, response.code());
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Nov 14 17:38:22 UTC 2020
    - 1.4K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/TestCollidingSetGenerator.java

    @ElementTypesAreNonnullByDefault
    public abstract class TestCollidingSetGenerator implements TestSetGenerator<Object> {
      @Override
      public SampleElements<Object> samples() {
        return new Colliders();
      }
    
      @Override
      public Object[] createArray(int length) {
        return new Object[length];
      }
    
      /** Returns the original element list, unchanged. */
      @Override
      public List<Object> order(List<Object> insertionOrder) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/RegularImmutableMapWithUnhashableValuesMapInterfaceTest.java

        Unhashables unhashables = new Unhashables();
        return ImmutableMap.of(0, unhashables.e0(), 1, unhashables.e1(), 2, unhashables.e2());
      }
    
      @Override
      protected Integer getKeyNotInPopulatedMap() {
        return 3;
      }
    
      @Override
      protected UnhashableObject getValueNotInPopulatedMap() {
        return new Unhashables().e3();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 09 02:18:08 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/base/StopwatchJavaTimeTest.java

    /** Unit test for the {@code java.time} support in {@link Stopwatch}. */
    @J2ktIncompatible
    @GwtIncompatible
    public class StopwatchJavaTimeTest extends TestCase {
      private final FakeTicker ticker = new FakeTicker();
      private final Stopwatch stopwatch = new Stopwatch(ticker);
    
      public void testElapsed_duration() {
        stopwatch.start();
        ticker.advance(999999);
        assertEquals(Duration.ofNanos(999999), stopwatch.elapsed());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu May 04 09:41:29 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/RegularImmutableAsListTest.java

       * gets invoked from other immutable collections.
       */
      public void testDoesntCheckForNull() {
        ImmutableSet<Integer> set = ImmutableSet.of(1, 2, 3);
        ImmutableList<Integer> unused =
            new RegularImmutableAsList<Integer>(set, new @Nullable Object[] {null, null, null});
        // shouldn't throw!
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 10:16:44 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/exception/SIndexOutOfBoundsExceptionTest.java

         * .
         */
        @Test
        public void testSIndexOutOfBoundsException() {
            final ClIndexOutOfBoundsException clIndexOutOfBoundsException = new ClIndexOutOfBoundsException();
            assertThat(clIndexOutOfBoundsException, is(notNullValue()));
        }
    
        /**
         * Test method for
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. .github/actions/notify-translations/action.yml

    name: "Notify Translations"
    description: "Notify in the issue for a translation when there's a new PR available"
    author: "Sebastián Ramírez <******@****.***>"
    inputs:
      token:
        description: 'Token, to read the GitHub API. Can be passed in using {{ secrets.GITHUB_TOKEN }}'
        required: true
    runs:
      using: 'docker'
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Aug 18 13:07:08 UTC 2021
    - 346 bytes
    - Viewed (0)
Back to top