Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for booleans (0.04 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/UploadProgress.java

        // Use the imgur image upload API as documented at https://api.imgur.com/endpoints/image
        final ProgressListener progressListener = new ProgressListener() {
          boolean firstUpdate = true;
    
          @Override public void update(long bytesWritten, long contentLength, boolean done) {
            if (done) {
              System.out.println("completed");
            } else {
              if (firstUpdate) {
                firstUpdate = false;
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 4.2K bytes
    - Viewed (1)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt

       * that additional context. Otherwise [e] is returned as-is.
       */
      internal fun messageDone(
        exchange: Exchange,
        requestDone: Boolean = false,
        responseDone: Boolean = false,
        e: IOException?,
      ): IOException? {
        if (exchange != this.exchange) return e // This exchange was detached violently!
    
        var bothStreamsDone = false
        var callDone = false
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/timer/SystemMonitorTargetTest.java

        }
    
        public void test_private_methods_exist() throws Exception {
            Method[] methods = SystemMonitorTarget.class.getDeclaredMethods();
            boolean hasAppendOsStats = false;
            boolean hasAppendProcessStats = false;
            boolean hasAppendJvmStats = false;
            boolean hasAppendFesenStats = false;
    
            for (Method method : methods) {
                switch (method.getName()) {
                case "appendOsStats":
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

                    final String configIndex = values[0];
                    final String configType = values[1];
    
                    final boolean isFessIndex = DOC_INDEX.equals(configIndex);
                    final String indexName;
                    if (isFessIndex) {
                        final boolean exists = existsIndex(fessConfig.getIndexDocumentUpdateIndex());
                        if (!exists) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 121.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/SystemHelper.java

         *
         * @return true if the system is force-stopping, false otherwise.
         */
        public boolean isForceStop() {
            return forceStop.get();
        }
    
        /**
         * Sets the force-stop state of the system.
         *
         * @param b true to force-stop the system.
         */
        public void setForceStop(final boolean b) {
            forceStop.set(b);
        }
    
        /**
         * Generates a document ID.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 36.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/reflect/Types.java

          return Types.toString(componentType) + "[]";
        }
    
        @Override
        public int hashCode() {
          return componentType.hashCode();
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof GenericArrayType) {
            GenericArrayType that = (GenericArrayType) obj;
            return Objects.equals(getGenericComponentType(), that.getGenericComponentType());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/reflect/Types.java

          return Types.toString(componentType) + "[]";
        }
    
        @Override
        public int hashCode() {
          return componentType.hashCode();
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof GenericArrayType) {
            GenericArrayType that = (GenericArrayType) obj;
            return Objects.equals(getGenericComponentType(), that.getGenericComponentType());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  8. samples/guide/src/main/java/okhttp3/recipes/kt/UploadProgress.kt

        val progressListener =
          object : ProgressListener {
            private var firstUpdate = true
    
            override fun update(
              bytesWritten: Long,
              contentLength: Long,
              done: Boolean,
            ) {
              if (done) {
                println("completed")
              } else {
                if (firstUpdate) {
                  firstUpdate = false
                  if (contentLength == -1L) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/CartesianList.java

            checkElementIndex(axis, size());
            int axisIndex = getAxisIndexForProductIndex(index, axis);
            return axes.get(axis).get(axisIndex);
          }
    
          @Override
          boolean isPartialView() {
            return true;
          }
    
          // redeclare to help optimizers with b/310253115
          @SuppressWarnings("RedundantOverride")
          @J2ktIncompatible // serialization
          @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  10. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/RealEventSource.kt

          }
          if (canceled) {
            listener.onFailure(this, IOException("canceled"), response)
          } else {
            listener.onClosed(this)
          }
        }
      }
    
      private fun ResponseBody.isEventStream(): Boolean {
        val contentType = contentType() ?: return false
        return contentType.type == "text" && contentType.subtype == "event-stream"
      }
    
      override fun onFailure(
        call: Call,
        e: IOException,
      ) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:47:47 UTC 2025
    - 3.3K bytes
    - Viewed (0)
Back to top