Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 631 - 640 of 2,683 for value0 (0.04 seconds)

  1. src/test/java/jcifs/smb1/UniAddressTest.java

        }
    
        @ParameterizedTest
        @ValueSource(strings = { "192.168.0", "abcd", "192.168" })
        void isDotQuadIPRejectsNonDotQuad(String value) {
            assertFalse(UniAddress.isDotQuadIP(value), "isDotQuadIP should return false for non IP-like values");
        }
    
        @Test
        void isDotQuadIPHandlesEmptyString() {
            // Empty string should return false, not throw exception
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb1/smb1/SmbComNtTransactionResponseTest.java

        @Test
        void testReadParameterWordsWireFormat_bufDataStartIsNotZero() {
            // Test case when bufDataStart is not 0.
            response.bufDataStart = 50; // Initial non-zero value
            byte[] buffer = new byte[37]; // 3 reserved + 8*4 bytes for int4 values + 2 bytes for setupCount
            int bufferIndex = 0;
    
            // Reserved bytes
            buffer[bufferIndex++] = 0x00;
            buffer[bufferIndex++] = 0x00;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb/SmbOperationException.java

         *
         * @param key the context key
         * @param value the context value
         * @return this exception for chaining
         */
        public SmbOperationException withContext(String key, Object value) {
            this.context.put(key, value);
            return this;
        }
    
        /**
         * Add multiple context values
         *
         * @param contextMap the context map to add
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 16.5K bytes
    - Click Count (0)
  4. android/guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java

        public BigInteger apply(Integer from) {
          BigInteger v = BigInteger.valueOf(from);
          // Math.sin is very slow for values outside 4*pi
          // Need to take absolute value to avoid inverting the value.
          for (double i = 0; i < 100; i += 20) {
            v =
                v.add(
                    v.multiply(
                        BigInteger.valueOf(((Double) Math.abs(Math.sin(i) * 10.0)).longValue())));
          }
          return v;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  5. guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java

        public BigInteger apply(Integer from) {
          BigInteger v = BigInteger.valueOf(from);
          // Math.sin is very slow for values outside 4*pi
          // Need to take absolute value to avoid inverting the value.
          for (double i = 0; i < 100; i += 20) {
            v =
                v.add(
                    v.multiply(
                        BigInteger.valueOf(((Double) Math.abs(Math.sin(i) * 10.0)).longValue())));
          }
          return v;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/query/WildcardQueryCommandTest.java

            assertTrue(queryCommand.lowercaseWildcard);
        }
    
        @Test
        public void test_convertWildcardQuery_withBoost() throws Exception {
            // Test with different boost values
            QueryContext queryContext = new QueryContext("test*", false);
            WildcardQuery wildcardQuery = new WildcardQuery(new Term("title", "test*"));
    
            // Test with boost = 0.5
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.2K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/graph/Graphs.java

      static int checkNonNegative(int value) {
        checkArgument(value >= 0, "Not true that %s is non-negative.", value);
        return value;
      }
    
      @CanIgnoreReturnValue
      static long checkNonNegative(long value) {
        checkArgument(value >= 0, "Not true that %s is non-negative.", value);
        return value;
      }
    
      @CanIgnoreReturnValue
      static int checkPositive(int value) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 24.4K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/base/Stopwatch.java

      @Override
      public String toString() {
        long nanos = elapsedNanos();
    
        TimeUnit unit = chooseUnit(nanos);
        double value = (double) nanos / NANOSECONDS.convert(1, unit);
    
        // Too bad this functionality is not exposed as a regular method call
        return Platform.formatCompact4Digits(value) + " " + abbreviate(unit);
      }
    
      private static TimeUnit chooseUnit(long nanos) {
        if (DAYS.convert(nanos, NANOSECONDS) > 0) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Oct 08 18:55:33 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/collect/ForwardingMapTest.java

                return map;
              }
    
              @Override
              public Collection<Boolean> values() {
                return new StandardValues();
              }
            };
        callAllPublicMethods(new TypeToken<Collection<Boolean>>() {}, forward.values());
    
        // These are the methods specified by StandardValues
        verify(map, atLeast(0)).clear();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 12.4K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java

        /**
         * Helper for setting a field via reflection.
         */
        private static void setField(Object target, String name, Object value) {
            try {
                Field f = target.getClass().getDeclaredField(name);
                f.setAccessible(true);
                f.set(target, value);
            } catch (Exception e) {
                fail("Failed to set field '" + name + "'", e);
            }
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.1K bytes
    - Click Count (0)
Back to Top