Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 451 - 460 of 1,754 for number1 (0.05 seconds)

  1. android/guava-tests/test/com/google/common/base/FunctionsTest.java

        Map<String, Integer> map = new HashMap<>();
        map.put("One", 1);
        map.put("Three", 3);
        Number number = Double.valueOf(42);
        Function<String, Number> function = Functions.forMap(map, number);
    
        assertEquals(1, function.apply("One").intValue());
        assertEquals(number, function.apply("Two"));
        assertEquals(3L, function.apply("Three").longValue());
      }
    
      public void testComposition() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 16.2K bytes
    - Click Count (0)
  2. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java

        @Test
        void testMng6572() {
            String a = "20190126.230843"; // resembles a SNAPSHOT
            String b = "1234567890.12345"; // 10 digit number
            String c = "123456789012345.1H.5-beta"; // 15 digit number
            String d = "12345678901234567890.1H.5-beta"; // 20 digit number
    
            checkVersionsOrder(a, b);
            checkVersionsOrder(b, c);
            checkVersionsOrder(a, c);
            checkVersionsOrder(c, d);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  3. docs/uk/docs/tutorial/path-params-numeric-validations.md

    ## Валідація числових даних: більше ніж і менше або дорівнює { #number-validations-greater-than-and-less-than-or-equal }
    
    Те саме застосовується до:
    
    * `gt`: `g`reater `t`han
    * `le`: `l`ess than or `e`qual
    
    {* ../../docs_src/path_params_numeric_validations/tutorial005_an_py310.py hl[10] *}
    
    ## Валідація числових даних: float, більше ніж і менше ніж { #number-validations-floats-greater-than-and-less-than }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 10K bytes
    - Click Count (0)
  4. benchmarks/src/main/java/org/elasticsearch/benchmark/search/aggregations/bucket/terms/LongKeyedBucketOrdsBenchmark.java

    @State(Scope.Benchmark)
    public class LongKeyedBucketOrdsBenchmark {
        private static final long LIMIT = 1_000_000;
        /**
         * The number of distinct values to add to the buckets.
         */
        private static final long DISTINCT_VALUES = 210;
        /**
         * The number of buckets to create in the {@link #multiBucket} case.
         * <p>
         * If this is not relatively prime to {@link #DISTINCT_VALUES_IN_BUCKETS}
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Feb 19 20:59:23 GMT 2021
    - 8.4K bytes
    - Click Count (0)
  5. cmd/erasure-server-pool-rebalance_gen.go

    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		(*z) = rebalSaveOpts(zb0001)
    	}
    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z rebalSaveOpts) Msgsize() (s int) {
    	s = msgp.Uint8Size
    	return
    }
    
    // DecodeMsg implements msgp.Decodable
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 26.8K bytes
    - Click Count (0)
  6. cmd/batch-job-common-types_gen.go

    		default:
    			bts, err = msgp.Skip(bts)
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z BatchJobKV) Msgsize() (s int) {
    	s = 1 + 4 + msgp.StringPrefixSize + len(z.Key) + 6 + msgp.StringPrefixSize + len(z.Value)
    	return
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 21.9K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/auth/chain/CommandChain.java

            /** Maximum number of lines to buffer. */
            private final int maxLineBuffer;
    
            /**
             * Constructor for InputStreamThread.
             * @param is The input stream to read from.
             * @param charset The character encoding to use.
             * @param maxOutputLineBuffer The maximum number of lines to buffer.
             */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/suggest/util/MapValueExtractor.java

            final Object value = map.get(key);
            if (value == null) {
                return defaultValue;
            }
            if (value instanceof Number numValue) {
                return numValue.longValue();
            }
            return Long.parseLong(value.toString());
        }
    
        /**
         * Gets an Integer value from the map.
         *
         * @param map The source map
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 9.8K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/smb2/io/Smb2ReadResponse.java

            this.outputBufferOffset = outputBufferOffset;
        }
    
        /**
         * Gets the number of bytes actually read
         *
         * @return the dataLength
         */
        public int getDataLength() {
            return this.dataLength;
        }
    
        /**
         * Gets the number of bytes remaining to be read
         *
         * @return the dataRemaining
         */
        public int getDataRemaining() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/SmbNegotiationResponse.java

         *
         * @return the transaction buffer size
         */
        int getTransactionBufferSize();
    
        /**
         * Gets the number of initial credits granted by the server for SMB2.
         *
         * @return number of initial credits the server grants
         */
        int getInitialCredits();
    
        /**
         * Checks whether a connection can be reused for the given configuration.
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.9K bytes
    - Click Count (0)
Back to Top