Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2071 - 2080 of 4,062 for static (0.14 sec)

  1. guava-tests/benchmark/com/google/common/base/SplitterBenchmark.java

      @Param({"1", "10", "100", "1000"})
      int length;
      // Number of matching strings
      @Param({"xxxx", "xxXx", "xXxX", "XXXX"})
      String text;
    
      private String input;
    
      private static final Splitter CHAR_SPLITTER = Splitter.on('X');
      private static final Splitter STRING_SPLITTER = Splitter.on("X");
    
      @BeforeExperiment
      void setUp() {
        input = Strings.repeat(text, length);
      }
    
      @Benchmark
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/collect/HashMultisetAddPresentBenchmark.java

    import java.util.Random;
    
    /**
     * Benchmark for HashMultiset.add for an already-present element.
     *
     * @author Louis Wasserman
     */
    public class HashMultisetAddPresentBenchmark {
      private static final int ARRAY_MASK = 0x0ffff;
      private static final int ARRAY_SIZE = 0x10000;
      List<Multiset<Integer>> multisets = new ArrayList<>(0x10000);
      int[] queries = new int[ARRAY_SIZE];
    
      @BeforeExperiment
      void setUp() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/StaticJAASConfiguration.java

    class StaticJAASConfiguration extends Configuration {
    
        private Map<String, ?> options;
    
    
        /**
         * Initialize a static JAAS configuration with default settings
         */
        public StaticJAASConfiguration () {
            this.options = new HashMap<>();
        }
    
    
        /**
         * Initialize a static JAAS configuration with custom settings
         * 
         * @param options
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.9K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/TestUtil.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core;
    
    import static org.hamcrest.CoreMatchers.is;
    
    import org.hamcrest.CoreMatchers;
    import org.hamcrest.Matcher;
    
    /**
     * @author koichik
     */
    public abstract class TestUtil {
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/beans/util/BeanMapTest.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.beans.util;
    
    import static org.hamcrest.CoreMatchers.is;
    import static org.junit.Assert.assertThat;
    
    import org.codelibs.core.exception.IllegalKeyOfBeanMapException;
    import org.junit.Rule;
    import org.junit.Test;
    import org.junit.rules.ExpectedException;
    
    /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/BaseRequest.java

        }
    
        @Nonnull
        public Session getSession() {
            return session;
        }
    
        public static <T> T nonNull(T obj, String message) {
            if (obj == null) {
                throw new IllegalArgumentException(message);
            }
            return obj;
        }
    
        protected static <T> Collection<T> unmodifiable(Collection<T> obj) {
            return obj != null && !obj.isEmpty()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/AcceptedApiChangesJsonFileManagerTest.groovy

            jsonFile << nonExistentAcceptedApiChanges()
    
            when:
            jsonFileManager.emptyAcceptedApiChanges(jsonFile)
    
            then:
            jsonFile.text == nonExistentAcceptedApiChanges()
        }
    
        static String existingAcceptedApiChanges() {
            """
                {
                    "acceptedApiChanges": [
                        {
                            "type": "org.gradle.api.plugins.quality.Checkstyle",
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Aug 17 08:32:56 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/exec/SuggestCreator.java

    import org.opensearch.monitor.process.ProcessProbe;
    
    import jakarta.annotation.Resource;
    
    public class SuggestCreator {
    
        private static final Logger logger = LogManager.getLogger(SuggestCreator.class);
    
        @Resource
        public SearchEngineClient searchEngineClient;
    
        protected static class Options {
            @Option(name = "-s", aliases = "--sessionId", metaVar = "sessionId", usage = "Session ID")
            protected String sessionId;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 10K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/query/TermQueryCommand.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.query;
    
    import static org.codelibs.core.stream.StreamUtil.split;
    import static org.codelibs.fess.Constants.DEFAULT_FIELD;
    import static org.codelibs.fess.query.QueryFieldConfig.INURL_FIELD;
    import static org.codelibs.fess.query.QueryFieldConfig.SITE_FIELD;
    
    import org.apache.logging.log4j.LogManager;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 10K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/collection/SLinkedListTest.java

     */
    package org.codelibs.core.collection;
    
    import static org.hamcrest.CoreMatchers.is;
    import static org.hamcrest.CoreMatchers.not;
    import static org.hamcrest.CoreMatchers.notNullValue;
    import static org.hamcrest.CoreMatchers.nullValue;
    import static org.junit.Assert.assertThat;
    import static org.junit.Assert.fail;
    
    import java.util.NoSuchElementException;
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top