Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for source (0.17 sec)

  1. cmd/batch-handlers.go

    	if job.Replicate != nil {
    		if job.Replicate.Source.Snowball.Disable == nil {
    			job.Replicate.Source.Snowball.Disable = ptr(false)
    		}
    		if job.Replicate.Source.Snowball.Batch == nil {
    			job.Replicate.Source.Snowball.Batch = ptr(100)
    		}
    		if job.Replicate.Source.Snowball.InMemory == nil {
    			job.Replicate.Source.Snowball.InMemory = ptr(true)
    		}
    		if job.Replicate.Source.Snowball.Compress == nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        Iterator<Integer> source = singletonIterator(1);
        try {
          Iterators.partition(source, 0);
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
      public void testPartition_empty() {
        Iterator<Integer> source = Iterators.emptyIterator();
        Iterator<List<Integer>> partitions = Iterators.partition(source, 1);
        assertFalse(partitions.hasNext());
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 56.5K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        assertThat(stream.readBytes.total).isEqualTo(0L)
        assertThat(stream.takeHeaders()).isEqualTo(headersOf("a", "android"))
        val source = stream.getSource()
        val buffer = Buffer()
        buffer.writeAll(source)
        assertThat(source.read(buffer, 1)).isEqualTo(-1)
        assertThat(buffer.size).isEqualTo(150)
        val synStream = peer.takeFrame()
        assertThat(synStream.type).isEqualTo(Http2.TYPE_HEADERS)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 75.4K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

            }
        }
    
        private static <T> T cache(ModelCache cache, Source source, String tag, Callable<T> supplier) {
            Supplier<T> s = asSupplier(supplier);
            if (cache == null) {
                return s.get();
            } else {
                return cache.computeIfAbsent(source, tag, s);
            }
        }
    
        private static <T> Supplier<T> asSupplier(Callable<T> supplier) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 03 08:48:38 GMT 2024
    - 61.5K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                    ModelSource source = toSource(resolver.resolveModel(p));
                    if (p.getDelegate() != parent) {
                        modified.set(p.getDelegate());
                    }
                    return source;
                } catch (UnresolvableModelException e) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

         *
         * This code handles some quirks of FIR sources and PSI:
         * - in `vararg args: String` declaration, `String` type reference has fake source, but `Array<String>` has real source
         * (see [KtFakeSourceElementKind.ArrayTypeFromVarargParameter]).
         * - if FIR reference points to the type with generic parameters (like `Foo<Bar>`), its source is not [KtTypeReference], but
         * [KtNameReferenceExpression].
         */
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:51:33 GMT 2024
    - 69.5K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCallResolver.kt

        private fun FirExpression.findSourceKtExpressionForCallArgument(): KtExpression? {
            // For smart-casted expression, refer to the source of the original expression
            // For spread, named, and lambda arguments, the source is the KtValueArgument.
            // For other arguments (including array indices), the source is the KtExpression.
            return when (this) {
                is FirSamConversionExpression ->
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 70.8K bytes
    - Viewed (1)
  8. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidCopySource: {
    		Code:           "InvalidArgument",
    		Description:    "Copy Source must mention the source bucket and key: sourcebucket/sourcekey.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidMetadataDirective: {
    		Code:           "InvalidArgument",
    		Description:    "Unknown metadata directive.",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (6)
  9. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

      private fun Snapshot.assertValue(
        index: Int,
        value: String,
      ) {
        getSource(index).use { source ->
          assertThat(sourceAsString(source)).isEqualTo(value)
          assertThat(getLength(index)).isEqualTo(value.length.toLong())
        }
      }
    
      private fun sourceAsString(source: Source) = source.buffer().readUtf8()
    
      private fun Editor.assertInoperable() {
        assertFailsWith<IllegalStateException> {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 75.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Multimaps.java

          setMap(map);
        }
    
        @GwtIncompatible // not needed in emulated source
        @J2ktIncompatible
        private static final long serialVersionUID = 0;
      }
    
      /**
       * Copies each key-value mapping in {@code source} into {@code dest}, with its key and value
       * reversed.
       *
       * <p>If {@code source} is an {@link ImmutableMultimap}, consider using {@link
       * ImmutableMultimap#inverse} instead.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
Back to top