Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1081 - 1090 of 1,790 for threw (0.05 sec)

  1. android/guava-tests/test/com/google/common/collect/SortedListsTest.java

          case NEXT_HIGHER:
            assertEquals(nextHigherIndex, answer);
            return;
          case INVERTED_INSERTION_INDEX:
            assertEquals(-1 - nextHigherIndex, answer);
            return;
        }
        throw new AssertionError();
      }
    
      public void testWithoutDups() {
        for (KeyPresentBehavior presentBehavior : KeyPresentBehavior.values()) {
          for (KeyAbsentBehavior absentBehavior : KeyAbsentBehavior.values()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/query/FuzzyQueryCommand.java

                if (logger.isDebugEnabled()) {
                    logger.debug("{}:{}", query, boost);
                }
                return convertFuzzyQuery(context, fuzzyQuery, boost);
            }
            throw new InvalidQueryException(messages -> messages.addErrorsInvalidQueryUnknown(UserMessages.GLOBAL_PROPERTY_KEY),
                    "Unknown q: " + query.getClass() + " => " + query);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/SourcesRepository.kt

                    errors.add(ex)
                }
            }
            openJavaCompilationUnitsByFile.clear()
            openKotlinCompilationUnitsByRoot.clear()
            if (errors.isNotEmpty()) {
                throw Exception("Sources repository did not close cleanly").apply {
                    errors.forEach(this::addSuppressed)
                }
            }
        }
    
        /**
         * @return the source file and it's source root
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:24 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XPathAPI.java

            try {
                final XPathFactory factory = XPathFactory.newInstance();
                builder.accept(factory);
                return factory.newXPath();
            } catch (final Exception e) {
                throw new CrawlerSystemException("Failed to create XPath instance.", e);
            }
        }
    
        /**
         *  Use an XPath string to select a nodelist.
         *  XPath namespace prefixes are resolved from the contextNode.
         *
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

            case NEW:
            case RUNNABLE:
            case WAITING:
              Thread.yield();
              break;
            case TIMED_WAITING:
              return;
            case TERMINATED:
              throw new AssertionError();
          }
        }
      }
    
      public void testDirectExecutorService_shutdownNow() {
        ExecutorService executor = newDirectExecutorService();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/netbios/SessionRequestPacket.java

                                int bufferIndex )
                                throws IOException {
            int start = bufferIndex;
            if( in.read( buffer, bufferIndex, length ) != length ) {
                throw new IOException( "invalid session request wire format" );
            }
            bufferIndex += calledName.readWireFormat( buffer, bufferIndex );
            bufferIndex += callingName.readWireFormat( buffer, bufferIndex );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 2.1K bytes
    - Viewed (0)
  7. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/io/DefaultToolchainsWriter.java

            try (Writer out = output) {
                new MavenToolchainsStaxWriter().write(out, toolchains.getDelegate());
            } catch (XMLStreamException e) {
                throw new IOException("Error writing toolchains", e);
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. samples/guide/src/main/java/okhttp3/recipes/kt/PostStreaming.kt

          Request(
            url = "https://api.github.com/markdown/raw".toHttpUrl(),
            body = requestBody,
          )
    
        client.newCall(request).execute().use { response ->
          if (!response.isSuccessful) throw IOException("Unexpected code $response")
    
          println(response.body.string())
        }
      }
    
      companion object {
        val MEDIA_TYPE_MARKDOWN = "text/x-markdown; charset=utf-8".toMediaType()
      }
    }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/AbstractImmutableSortedMapMapInterfaceTest.java

        extends SortedMapInterfaceTest<K, V> {
      public AbstractImmutableSortedMapMapInterfaceTest() {
        super(false, false, false, false, false);
      }
    
      @Override
      protected SortedMap<K, V> makeEmptyMap() {
        throw new UnsupportedOperationException();
      }
    
      private static final Joiner joiner = Joiner.on(", ");
    
      @Override
      protected void assertMoreInvariants(Map<K, V> map) {
        // TODO: can these be moved to MapInterfaceTest?
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ExplicitOrdering.java

      public int compare(T left, T right) {
        return rank(left) - rank(right); // safe because both are nonnegative
      }
    
      private int rank(T value) {
        Integer rank = rankMap.get(value);
        if (rank == null) {
          throw new IncomparableValueException(value);
        }
        return rank;
      }
    
      @Override
      public boolean equals(@CheckForNull Object object) {
        if (object instanceof ExplicitOrdering) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun Jun 20 14:22:42 UTC 2021
    - 2K bytes
    - Viewed (0)
Back to top