Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 971 - 980 of 1,119 for election (0.09 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. android/guava/src/com/google/common/base/Preconditions.java

       * @throws IllegalArgumentException if {@code size} is negative
       */
      @CanIgnoreReturnValue
      public static int checkElementIndex(int index, int size, String desc) {
        // Carefully optimized for execution by hotspot (explanatory comment above)
        if (index < 0 || index >= size) {
          throw new IndexOutOfBoundsException(badElementIndex(index, size, desc));
        }
        return index;
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 53.5K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

        filesystem.deleteRecursively(cacheDir)
        assertThat(cache["a"]).isNull()
      }
    
      /**
       * We had a long-lived bug where [DiskLruCache.trimToSize] could infinite loop if entries
       * being edited required deletion for the operation to complete.
       */
      @Test
      fun trimToSizeWithActiveEdit() {
        val expectedByteCount = if (windows) 10L else 0L
        val afterRemoveFileContents = if (windows) "a1234" else null
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 59.4K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/webconfig/AdminWebconfigAction.java

        }
    
        /**
         * Deletes a web crawler configuration.
         *
         * @param form the edit form containing the ID of the web config to delete
         * @return HTML response redirecting to the list page after deletion
         */
        @Execute
        @Secured({ ROLE })
        public HtmlResponse delete(final EditForm form) {
            verifyCrudMode(form.crudMode, CrudMode.DETAILS, this::asListHtml);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:54:13 GMT 2026
    - 22.2K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/job/PythonJobTest.java

        // Test getExecuteType method
        @Test
        public void test_getExecuteType() {
            assertEquals(Constants.EXECUTE_TYPE_PYTHON, pythonJob.getExecuteType());
        }
    
        // Test execute method with successful execution
        @Test
        public void test_execute_success() {
            pythonJob.filename("test.py");
            pythonJob.args("arg1", "arg2");
    
            testProcessHelper.exitValue = 0;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 22.2K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

            assertTrue(locator("smb://server/IPC$/").isIPC());
            assertTrue(locator("smb://server/").isIPC());
            assertFalse(locator("smb://server/share/").isIPC());
        }
    
        @Test
        @DisplayName("Type detection covers filesystem/share/IPC/workgroup/server")
        void testGetType() throws Exception {
            // Filesystem when there is a path beyond share
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.6K bytes
    - Click Count (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

    import org.apache.maven.artifact.repository.metadata.SnapshotArtifactRepositoryMetadata;
    import org.apache.maven.artifact.resolver.filter.ArtifactFilter;
    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.plugin.LegacySupport;
    import org.apache.maven.repository.legacy.metadata.DefaultMetadataResolutionRequest;
    import org.apache.maven.repository.legacy.metadata.MetadataResolutionRequest;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 25K bytes
    - Click Count (0)
  7. tensorflow/c/eager/c_api_cluster_test.cc

                                 serialized_update.size(), status);
      EXPECT_NE(TF_OK, TF_GetCode(status)) << TF_Message(status);
    
      // Even after the prevoiusly failed cluster update, another update and op
      // execution should work fine as long as the provided server_def is valid.
      TFE_ContextUpdateServerDef(ctx, 0, serialized.data(), serialized.size(),
                                 status);
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Oct 09 05:56:18 GMT 2025
    - 19.2K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.collect.ImmutableList;
    import com.google.common.reflect.Reflection;
    import com.google.common.truth.FailureStrategy;
    import com.google.common.truth.StandardSubjectBuilder;
    import com.google.common.util.concurrent.ClosingFuture.AsyncClosingCallable;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 63K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistAction.java

        /** Ending record number for current page */
        public String currentEndRecordNumber;
    
        /** List of page numbers for pagination */
        public List<String> pageNumberList;
    
        /** Search execution time in milliseconds */
        public String execTime;
    
        // ===================================================================================
        // Hook
        // ======
        @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:38:39 GMT 2026
    - 25.5K bytes
    - Click Count (1)
  10. src/test/java/org/codelibs/fess/helper/ActivityHelperTest.java

                    localLogMsg.get());
        }
    
        // ===== Script Execution Audit Log Tests =====
    
        @Test
        public void test_normalizeScript_null() {
            assertEquals("-", activityHelper.normalizeScript(null));
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 11:45:43 GMT 2026
    - 24.3K bytes
    - Click Count (0)
Back to Top