Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1671 - 1680 of 4,435 for TRUE (0.34 seconds)

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

      }
    
      private val client = OkHttpClient()
    
      @Throws(Exception::class)
      fun run() {
        val progressListener =
          object : ProgressListener {
            private var firstUpdate = true
    
            override fun update(
              bytesWritten: Long,
              contentLength: Long,
              done: Boolean,
            ) {
              if (done) {
                println("completed")
              } else {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Aug 30 17:01:12 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/artifact/ArtifactScopeEnum.java

            {{provided}, {compile, test, provided}}
        };
    
        /**
         * scope relationship function. Used by the graph conflict resolution policies
         *
         * @param scope a scope
         * @return true is supplied scope is an inclusive sub-scope of current one.
         */
        public boolean encloses(ArtifactScopeEnum scope) {
            final ArtifactScopeEnum s = checkScope(scope);
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/IsProbablyUtf8.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal
    
    import java.io.EOFException
    import okio.BufferedSource
    
    /**
     * Returns true if the body in question probably contains human-readable text. Uses a small
     * sample of code points to detect Unicode control characters commonly used in binary file
     * signatures.
     *
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Oct 06 22:47:06 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/core/beans/converter/DateConverterTest.java

        @Test
        public void testIsTarget() throws Exception {
            final DateConverter converter = new DateConverter("yyyy/MM/dd");
            assertThat(converter.isTarget(Date.class), is(true));
            assertThat(converter.isTarget(Timestamp.class), is(not(true)));
        }
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/core/security/MessageDigestUtilTest.java

                assertTrue(false);
            } catch (final EmptyArgumentException e) {
                assertTrue(true);
            }
            try {
                MessageDigestUtil.digest("HOGE", text);
                assertTrue(false);
            } catch (final NoSuchAlgorithmRuntimeException e) {
                assertTrue(true);
            }
        }
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  6. internal/config/callhome/help.go

    			Type:        "on|off",
    			Description: "set to enable callhome" + defaultHelpPostfix(Enable),
    			Optional:    true,
    		},
    		config.HelpKV{
    			Key:         Frequency,
    			Type:        "duration",
    			Description: "time duration between callhome cycles e.g. 24h" + defaultHelpPostfix(Frequency),
    			Optional:    true,
    		},
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Jun 06 23:14:52 GMT 2022
    - 1.4K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/core/collection/SingleValueIterator.java

     */
    public class SingleValueIterator<E> implements Iterator<E> {
    
        /** The only value returned by the iterator. */
        protected final E value;
    
        /** {@literal true} if the iterator has more elements. */
        protected boolean hasNext = true;
    
        /**
         * Returns an {@link Iterable} that wraps a {@link SingleValueIterator} for use in a for-each statement.
         *
         * @param <E> the element type
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/AndArtifactFilter.java

        }
    
        public AndArtifactFilter(List<ArtifactFilter> filters) {
            this.filters = new LinkedHashSet<>(filters);
        }
    
        @Override
        public boolean include(Artifact artifact) {
            boolean include = true;
            for (Iterator<ArtifactFilter> i = filters.iterator(); i.hasNext() && include; ) {
                ArtifactFilter filter = i.next();
                if (!filter.include(artifact)) {
                    include = false;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/pager/SearchLogPager.java

        }
    
        /**
         * Checks if a previous page exists.
         *
         * @return true if a previous page exists, false otherwise
         */
        public boolean isExistPrePage() {
            return existPrePage;
        }
    
        /**
         * Sets whether a previous page exists.
         *
         * @param existPrePage true if a previous page exists
         */
        public void setExistPrePage(final boolean existPrePage) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/witness/WitnessIntegrationTest.java

            lenient().when(mockConfig.isUseWitness()).thenReturn(true);
            lenient().when(mockConfig.getWitnessHeartbeatTimeout()).thenReturn(120000L);
            lenient().when(mockConfig.getWitnessRegistrationTimeout()).thenReturn(300000L);
            lenient().when(mockConfig.getWitnessReconnectDelay()).thenReturn(1000L);
            lenient().when(mockConfig.isWitnessServiceDiscovery()).thenReturn(true);
        }
    
        @AfterEach
        void tearDown() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 9.8K bytes
    - Click Count (0)
Back to Top