Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 104 for intValue (0.11 sec)

  1. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

              public Integer getResult() {
                return seen;
              }
            };
        assertEquals(
            "processLine was called more than once",
            1,
            CharStreams.readLines(r, alwaysFalse).intValue());
    
        // Test a LineProcessor that always returns true.
        r = new StringReader(text);
        LineProcessor<Integer> alwaysTrue =
            new LineProcessor<Integer>() {
              int seen;
    
              @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/CharStreamsTest.java

              public Integer getResult() {
                return seen;
              }
            };
        assertEquals(
            "processLine was called more than once",
            1,
            CharStreams.readLines(r, alwaysFalse).intValue());
    
        // Test a LineProcessor that always returns true.
        r = new StringReader(text);
        LineProcessor<Integer> alwaysTrue =
            new LineProcessor<Integer>() {
              int seen;
    
              @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/pac/kerberos/KerberosRelevantAuthData.java

                DEROctetString authData = ASN1Util.as(DEROctetString.class, ASN1Util.as(ASN1TaggedObject.class, authElement, 1));
    
                this.authorizations.addAll(KerberosAuthData.parse(authType.getValue().intValue(), authData.getOctets(), keys));
            }
        }
    
    
        public List<KerberosAuthData> getAuthorizations () {
            return this.authorizations;
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Oct 02 12:02:06 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/math/DoubleMathRoundingBenchmark.java

      }
    
      @Benchmark
      int roundToBigInteger(int reps) {
        int tmp = 0;
        for (int i = 0; i < reps; i++) {
          int j = i & ARRAY_MASK;
          tmp += DoubleMath.roundToBigInteger(positiveDoubles[j], mode).intValue();
        }
        return tmp;
      }
    
      @Benchmark
      int log2Round(int reps) {
        int tmp = 0;
        for (int i = 0; i < reps; i++) {
          int j = i & ARRAY_MASK;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/user/AdminUserAction.java

                throwValidationError(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, id), this::asListHtml);
            });
            resetPassword(form);
            saveToken();
            if (form.crudMode.intValue() == CrudMode.EDIT) {
                // back
                form.crudMode = CrudMode.DETAILS;
                return asDetailsHtml();
            }
            form.crudMode = CrudMode.EDIT;
            return asEditHtml();
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/FuturesTransformTest.java

      protected String getSuccessfulResult() {
        return RESULT_DATA;
      }
    
      private class ComposeFunction implements Function<Integer, String> {
        @Override
        public String apply(Integer input) {
          if (input.intValue() == VALID_INPUT_DATA) {
            return RESULT_DATA;
          } else {
            throw WRAPPED_EXCEPTION;
          }
        }
      }
    
      public void testFutureGetThrowsFunctionException() throws Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 28 16:27:15 UTC 2018
    - 1.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/math/DoubleMathTest.java

            boolean isInBounds =
                expected.compareTo(MAX_INT_AS_BIG_DECIMAL) <= 0
                    & expected.compareTo(MIN_INT_AS_BIG_DECIMAL) >= 0;
    
            try {
              assertEquals(expected.intValue(), DoubleMath.roundToInt(d, mode));
              assertTrue(isInBounds);
            } catch (ArithmeticException e) {
              assertFalse(isInBounds);
            }
          }
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 27.3K bytes
    - Viewed (0)
  8. compat/maven-model/src/main/java/org/apache/maven/model/InputLocation.java

                    InputLocation location;
                    Integer index = it.next();
                    if (index.intValue() < 0) {
                        location = sourceLocations.get(Integer.valueOf(~index.intValue()));
                    } else {
                        location = targetLocations.get(index);
                    }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  9. guava-tests/benchmark/com/google/common/math/DoubleMathRoundingBenchmark.java

      }
    
      @Benchmark
      int roundToBigInteger(int reps) {
        int tmp = 0;
        for (int i = 0; i < reps; i++) {
          int j = i & ARRAY_MASK;
          tmp += DoubleMath.roundToBigInteger(positiveDoubles[j], mode).intValue();
        }
        return tmp;
      }
    
      @Benchmark
      int log2Round(int reps) {
        int tmp = 0;
        for (int i = 0; i < reps; i++) {
          int j = i & ARRAY_MASK;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/spnego/NegTokenTarg.java

                    switch ( tagged.getTagNo() ) {
                    case 0:
                        ASN1Enumerated enumerated = ASN1Enumerated.getInstance(tagged, true);
                        setResult(enumerated.getValue().intValue());
                        break;
                    case 1:
                        setMechanism(ASN1ObjectIdentifier.getInstance(tagged, true));
                        break;
                    case 2:
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Jan 04 04:18:31 UTC 2021
    - 5.4K bytes
    - Viewed (0)
Back to top