Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2261 - 2270 of 6,076 for new1 (0.02 seconds)

  1. src/test/java/org/codelibs/fess/app/pager/RolePagerTest.java

            assertEquals(999, rolePager.getCurrentPageNumber());
            List<Integer> pageNumberList = new ArrayList<Integer>(1);
            rolePager.setPageNumberList(pageNumberList);
            assertEquals(pageNumberList, rolePager.getPageNumberList());
    
        }
    
        public void test_clear() {
            RolePager rolePager = new RolePager();
            rolePager.id = "testId";
            rolePager.name = "testName";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 12:58:11 GMT 2026
    - 3.2K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/it/admin/SchedulerTests.java

            final Map<String, Object> updateMap = new HashMap<>();
            updateMap.put("target", "new_target");
            return updateMap;
        }
    
        @Test
        void crudTest() {
            testCreate();
            testRead();
            testUpdate();
            testDelete();
        }
    
        @Test
        void testStartJob_notFound() {
            // Try to start a non-existent job
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  3. android/guava-tests/benchmark/com/google/common/base/LazyStackTraceBenchmark.java

        abstract List<StackTraceElement> getStackTrace(Throwable t);
      }
    
      @BeforeExperiment
      public void doBefore() {
        recursionCount = stackDepth - new Throwable().getStackTrace().length - 1;
        if (recursionCount < 0) {
          throw new SkipThisScenarioException();
        }
      }
    
      @Benchmark
      public boolean timeFindCaller(int reps) {
        return timeFindCaller(reps, recursionCount);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  4. guava-tests/benchmark/com/google/common/base/LazyStackTraceBenchmark.java

        abstract List<StackTraceElement> getStackTrace(Throwable t);
      }
    
      @BeforeExperiment
      public void doBefore() {
        recursionCount = stackDepth - new Throwable().getStackTrace().length - 1;
        if (recursionCount < 0) {
          throw new SkipThisScenarioException();
        }
      }
    
      @Benchmark
      public boolean timeFindCaller(int reps) {
        return timeFindCaller(reps, recursionCount);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/AbstractSequentialIterator.java

     */
    @GwtCompatible
    public abstract class AbstractSequentialIterator<T> extends UnmodifiableIterator<T> {
      private @Nullable T nextOrNull;
    
      /**
       * Creates a new iterator with the given first element, or, if {@code firstOrNull} is null,
       * creates a new empty iterator.
       */
      protected AbstractSequentialIterator(@Nullable T firstOrNull) {
        this.nextOrNull = firstOrNull;
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  6. src/archive/zip/example_test.go

    package zip_test
    
    import (
    	"archive/zip"
    	"bytes"
    	"compress/flate"
    	"fmt"
    	"io"
    	"log"
    	"os"
    )
    
    func ExampleWriter() {
    	// Create a buffer to write our archive to.
    	buf := new(bytes.Buffer)
    
    	// Create a new zip archive.
    	w := zip.NewWriter(buf)
    
    	// Add some files to the archive.
    	var files = []struct {
    		Name, Body string
    	}{
    		{"readme.txt", "This archive contains some text files."},
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Jan 27 00:22:03 GMT 2016
    - 2K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/ImmutableList.java

      private void readObject(ObjectInputStream stream) throws InvalidObjectException {
        throw new InvalidObjectException("Use SerializedForm");
      }
    
      @Override
      @J2ktIncompatible
      @GwtIncompatible
        Object writeReplace() {
        return new SerializedForm(toArray());
      }
    
      /**
       * Returns a new builder. The generated builder is equivalent to the builder created by the {@link
       * Builder} constructor.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 30.6K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/math/QuantilesTest.java

        ArrayList<Integer> indexes = new ArrayList<>();
        ImmutableMap.Builder<Integer, Double> expectedBuilder = ImmutableMap.builder();
        for (int index = 0; index <= 100; index++) {
          indexes.add(index);
          expectedBuilder.put(index, expectedLargeDatasetPercentile(index));
        }
        Random random = new Random(770683168895677741L);
        Collections.shuffle(indexes, random);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 29.9K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/math/QuantilesTest.java

        ArrayList<Integer> indexes = new ArrayList<>();
        ImmutableMap.Builder<Integer, Double> expectedBuilder = ImmutableMap.builder();
        for (int index = 0; index <= 100; index++) {
          indexes.add(index);
          expectedBuilder.put(index, expectedLargeDatasetPercentile(index));
        }
        Random random = new Random(770683168895677741L);
        Collections.shuffle(indexes, random);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 29.9K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/webconfig/ApiAdminWebconfigAction.java

            return asJson(new ApiConfigResponse().setting(webConfigService.getWebConfig(id).map(this::createEditBody).orElseGet(() -> {
                throwValidationErrorApi(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, id));
                return null;
            })).status(Status.OK).result());
        }
    
        /**
         * Creates a new web configuration setting.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 8.8K bytes
    - Click Count (0)
Back to Top