Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 309 for cbad (0.03 seconds)

  1. benchmarks/src/main/java/org/elasticsearch/benchmark/fs/AvailableIndexFoldersBenchmark.java

            }
            if (nodeEnv.availableIndexFoldersForPath(nodePath).size() != numIndices) {
                throw new IllegalStateException("bad size");
            }
            if (nodeEnv.availableIndexFoldersForPath(nodePath, excludedDirs::contains).size() != 0) {
                throw new IllegalStateException("bad size");
            }
        }
    
        @Benchmark
        public Set<String> availableIndexFolderNaive() throws IOException {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Apr 27 15:29:12 GMT 2021
    - 3K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

            // Arrange
            stubAcquireReturnsSelf();
            when(nameFilter.accept(parent, "bad")).thenThrow(new CIFSException("bad name"));
            when(nameFilter.accept(parent, "good")).thenReturn(true);
    
            FileEntry initial = entry("first");
            FileEntry[] page1 = new FileEntry[] { entry("bad"), entry("good") };
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  3. src/test/java/jcifs/spnego/NegTokenTargTest.java

        }
    
        @Test
        @DisplayName("parsing malformed token throws IOException")
        void testMalformedToken() {
            byte[] bad = new byte[] { 0x01, 0x02, 0x03 }; // not a valid ASN.1 tagged object
            assertThrows(IOException.class, () -> new NegTokenTarg(bad), "Malformed byte[] should cause IOException");
        }
    
        @Test
        @DisplayName("mechanism token empty array – preserved after round‑trip")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  4. src/cmd/asm/internal/asm/operand_test.go

    	{"[4", "register list: bad low register in `[4`"},
    	{"[]", "register list: bad low register in `[]`"},
    	{"[f-x]", "register list: bad low register in `[f`"},
    	{"[r10-r13]", "register list: bad low register in `[r10`"},
    	{"[k3-k6]", "register list: bad low register in `[k3`"},
    	{"[X0]", "register list: expected '-' after `[X0`, found ']'"},
    	{"[X0-]", "register list: bad high register in `[X0-]`"},
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Aug 29 18:31:05 GMT 2023
    - 23.9K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedInputs.java

          throw new RuntimeException("bad constructor");
        }
    
        public ExceptionWithGoodAndBadConstructor(Throwable cause) {
          super(cause);
        }
      }
    
      static final class ExceptionWithBadConstructor extends Exception {
        public ExceptionWithBadConstructor(String message, Throwable cause) {
          throw new RuntimeException("bad constructor");
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  6. .teamcity/scripts/CheckBadMerge.java

     *
     * Usage (Java 11+ single-file source execution):
     *   java .teamcity/scripts/CheckBadMerge.java < commits.txt
     *
     * If any "bad" merge commit is found, it will print the details and exit with non-zero code.
     */
    public class CheckBadMerge {
        private static final ExecutorService THREAD_POOL = Executors.newCachedThreadPool();
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 30 16:25:09 GMT 2026
    - 9K bytes
    - Click Count (0)
  7. src/bufio/export_test.go

    // Exported for testing only.
    import (
    	"unicode/utf8"
    )
    
    var IsSpace = isSpace
    
    const DefaultBufSize = defaultBufSize
    
    func (s *Scanner) MaxTokenSize(n int) {
    	if n < utf8.UTFMax || n > 1e9 {
    		panic("bad max token size")
    	}
    	if n < len(s.buf) {
    		s.buf = make([]byte, n)
    	}
    	s.maxTokenSize = n
    }
    
    // ErrOrEOF is like Err, but returns EOF. Used to test a corner case.
    func (s *Scanner) ErrOrEOF() error {
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Nov 02 17:17:44 GMT 2017
    - 597 bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

      }
    
      public void testMisbehavingListenerAlreadyDone() {
        class BadRunnableException extends RuntimeException {}
    
        Runnable bad =
            () -> {
              throw new BadRunnableException();
            };
    
        future.set(1);
        future.addListener(bad, directExecutor()); // BadRunnableException must not propagate.
      }
    
      public void testMisbehavingListenerLaterDone() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 16.3K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/badword/DownloadForm.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.web.admin.badword;
    
    /**
     * The download form for Bad Word.
     *
     */
    public class DownloadForm {
    
        /**
         * Default constructor.
         */
        public DownloadForm() {
            // Use of default constructor
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 864 bytes
    - Click Count (0)
  10. src/test/java/jcifs/spnego/SpnegoExceptionTest.java

        }
    
        @Test
        @DisplayName("Should create SpnegoException with cause")
        void testWithCause() {
            // Given
            IllegalArgumentException cause = new IllegalArgumentException("bad arg");
    
            // When
            SpnegoException ex = new SpnegoException(cause);
    
            // Then
            assertNotNull(ex);
            assertEquals(cause, ex.getCause());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.9K bytes
    - Click Count (0)
Back to Top