Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1581 - 1590 of 3,901 for objTest (0.08 sec)

  1. tests/test_tutorial/test_query_params_str_validations/test_tutorial012_an_py39.py

            "components": {
                "schemas": {
                    "ValidationError": {
                        "title": "ValidationError",
                        "required": ["loc", "msg", "type"],
                        "type": "object",
                        "properties": {
                            "loc": {
                                "title": "Location",
                                "type": "array",
                                "items": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/AbstractListMultimapTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @ElementTypesAreNonnullByDefault
    public class AbstractListMultimapTester<K extends @Nullable Object, V extends @Nullable Object>
        extends AbstractMultimapTester<K, V, ListMultimap<K, V>> {
    
      @Override
      protected void assertGet(K key, V... values) {
        assertGet(key, asList(values));
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/GwtFuturesCatchingSpecialization.java

       */
    
      public static <V extends @Nullable Object> ListenableFuture<V> catching(
          ListenableFuture<? extends V> input,
          Class<Throwable> exceptionType,
          Function<? super Throwable, ? extends V> fallback,
          Executor executor) {
        return AbstractCatchingFuture.create(input, exceptionType, fallback, executor);
      }
    
      public static <V extends @Nullable Object> ListenableFuture<V> catchingAsync(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jun 24 17:45:05 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/BufferCache.java

     */
    
    package jcifs.smb1.smb1;
    
    import jcifs.smb1.Config;
    
    public class BufferCache {
    
        private static final int MAX_BUFFERS = Config.getInt( "jcifs.smb1.smb.maxBuffers", 16 );
    
        static Object[] cache = new Object[MAX_BUFFERS];
        private static int freeBuffers = 0;
    
        static public byte[] getBuffer() {
            synchronized( cache ) {
                byte[] buf;
    
                if (freeBuffers > 0) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.2K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/SimpleLookup.java

    import java.util.Optional;
    
    import org.apache.maven.api.services.Lookup;
    import org.apache.maven.api.services.LookupException;
    
    public class SimpleLookup implements Lookup {
        private final List<Object> objects;
    
        public SimpleLookup(List<Object> objects) {
            this.objects = objects;
        }
    
        @Override
        public <T> T lookup(Class<T> type) {
            return objects.stream()
                    .filter(type::isInstance)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_extra_models/test_tutorial004.py

            },
            "components": {
                "schemas": {
                    "Item": {
                        "title": "Item",
                        "required": ["name", "description"],
                        "type": "object",
                        "properties": {
                            "name": {"title": "Name", "type": "string"},
                            "description": {"title": "Description", "type": "string"},
                        },
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  7. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/GradleModuleApiAttribute.kt

     * limitations under the License.
     */
    
    package gradlebuild.basics
    
    import org.gradle.api.attributes.Attribute
    
    
    enum class GradleModuleApiAttribute {
        API,
        IMPLEMENTATION;
    
        companion object {
            val attribute = Attribute.of(GradleModuleApiAttribute::class.java)
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 864 bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/-RequestBodyCommon.kt

    import okio.ByteString
    
    fun ByteArray.commonToRequestBody(
      contentType: MediaType?,
      offset: Int,
      byteCount: Int,
    ): RequestBody {
      checkOffsetAndCount(size.toLong(), offset.toLong(), byteCount.toLong())
      return object : RequestBody() {
        override fun contentType() = contentType
    
        override fun contentLength() = byteCount.toLong()
    
        override fun writeTo(sink: BufferedSink) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/UppercaseResponseInterceptor.kt

        val uppercaseBody: ResponseBody =
          object : ForwardingResponseBody(response.body) {
            override fun source(): BufferedSource {
              return uppercaseSource(delegate().source()).buffer()
            }
          }
        return response.newBuilder()
          .body(uppercaseBody)
          .build()
      }
    
      private fun uppercaseSource(source: BufferedSource): ForwardingSource {
        return object : ForwardingSource(source) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/TestStringQueueGenerator.java

      @Override
      public SampleElements<String> samples() {
        return new Strings();
      }
    
      @Override
      public Queue<String> create(Object... elements) {
        String[] array = new String[elements.length];
        int i = 0;
        for (Object e : elements) {
          array[i++] = (String) e;
        }
        return create(array);
      }
    
      protected abstract Queue<String> create(String[] elements);
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top