Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1121 - 1130 of 2,158 for Booleans (0.05 sec)

  1. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/io/DefaultToolchainsReader.java

                        e.getLocation().getColumnNumber(),
                        e);
            }
        }
    
        private boolean isStrict(Map<String, ?> options) {
            Object value = (options != null) ? options.get(IS_STRICT) : null;
            return value == null || Boolean.parseBoolean(value.toString());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheStrategy.kt

         */
        private fun hasConditions(request: Request): Boolean =
          request.header("If-Modified-Since") != null || request.header("If-None-Match") != null
      }
    
      companion object {
        /** Returns true if [response] can be stored to later serve another request. */
        fun isCacheable(
          response: Response,
          request: Request,
        ): Boolean {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:24:48 UTC 2024
    - 12K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

            file.send( new SmbComWrite( file.fid, (int)(newLength & 0xFFFFFFFFL), 0, tmp, 0, 0 ), rsp );
        }
        public void close() throws SmbException {
            file.close();
        }
    
        public final boolean readBoolean() throws SmbException {
            if((read( tmp, 0, 1 )) < 0 ) {
                throw new SmbException( "EOF" );
            }
            return tmp[0] != (byte)0x00;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 10.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/fscc/FsctlPipeWaitRequest.java

    
    /**
     * @author mbechler
     *
     */
    public class FsctlPipeWaitRequest implements Encodable {
    
        private final byte[] nameBytes;
        private final long timeout;
        private final boolean timeoutSpecified;
    
    
        /**
         * @param name
         * 
         */
        public FsctlPipeWaitRequest ( String name ) {
            this.nameBytes = name.getBytes(StandardCharsets.UTF_16LE);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/xml/SAXParserFactoryUtilTest.java

    import org.xml.sax.SAXException;
    import org.xml.sax.helpers.DefaultHandler;
    
    /**
     * {@link SAXParserFactoryUtil}のテストです。
     *
     * @author koichik
     */
    public class SAXParserFactoryUtilTest extends TestCase {
    
        boolean included;
    
        /**
         * {@link SAXParserFactoryUtil#setXIncludeAware}のテストです。
         *
         * @throws Exception
         */
        public void testSetXIncludeAware() throws Exception {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultBuildResumptionAnalyzer.java

            if (!result.hasExceptions()) {
                return Optional.empty();
            }
    
            List<MavenProject> sortedProjects = result.getTopologicallySortedProjects();
    
            boolean hasNoSuccess =
                    sortedProjects.stream().noneMatch(project -> result.getBuildSummary(project) instanceof BuildSuccess);
    
            if (hasNoSuccess) {
                return Optional.empty();
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/http/CallServerInterceptor.kt

    import okhttp3.internal.stripBody
    import okio.buffer
    
    /** This is the last interceptor in the chain. It makes a network call to the server. */
    class CallServerInterceptor(private val forWebSocket: Boolean) : Interceptor {
      @Throws(IOException::class)
      override fun intercept(chain: Interceptor.Chain): Response {
        val realChain = chain as RealInterceptorChain
        val exchange = realChain.exchange!!
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java

        SettableFuture<String> f = SettableFuture.create();
        FutureCallback<String> callback =
            new FutureCallback<String>() {
              private final Object monitor = new Object();
              private boolean called = false;
    
              @Override
              public void onSuccess(String result) {
                fail("Was not expecting onSuccess() to be called.");
              }
    
              @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/reflect/AbstractInvocationHandler.java

       *   <li>and this method returns true for the {@link InvocationHandler} of {@code argument}
       * </ul>
       *
       * <p>Subclasses can override this method to provide custom equality.
       */
      @Override
      public boolean equals(@CheckForNull Object obj) {
        return super.equals(obj);
      }
    
      /**
       * By default delegates to {@link Object#hashCode}. The dynamic proxies' {@code hashCode()} will
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jan 05 17:43:40 UTC 2022
    - 5.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/graph/MutableValueGraph.java

       *
       * <p><b>Nodes must be unique</b>, just as {@code Map} keys must be. They must also be non-null.
       *
       * @return {@code true} if the graph was modified as a result of this call
       */
      @CanIgnoreReturnValue
      boolean addNode(N node);
    
      /**
       * Adds an edge connecting {@code nodeU} to {@code nodeV} if one is not already present, and sets
       * a value for that edge to {@code value} (overwriting the existing value, if any).
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 4.4K bytes
    - Viewed (0)
Back to top