Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for mocked (0.21 sec)

  1. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

        mockWebServer: MockWebServer,
      ) {
        setUp(protocol, mockWebServer)
        server.enqueue(
          MockResponse(
            code = HttpURLConnection.HTTP_MOVED_TEMP,
            headers = headersOf("Location", "/foo"),
            body = "This page has moved!",
          ),
        )
        server.enqueue(MockResponse(body = "This is the new location!"))
        val call = client.newCall(Request(server.url("/")))
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  2. docs/ru/docs/deployment/docker.md

    ## Образы контейнеров
    
    Docker является одним оз основных инструментов для создания **образов** и  **контейнеров** и управления ими.
    
    Существует общедоступный <a href="https://hub.docker.com/" class="external-link" target="_blank">Docker Hub</a> с подготовленными **официальными образами** многих инструментов, окружений, баз данных и приложений.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 57.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Sets.java

          int expectedSize) {
        return new HashSet<>(Maps.capacity(expectedSize));
      }
    
      /**
       * Creates a thread-safe set backed by a hash map. The set is backed by a {@link
       * ConcurrentHashMap} instance, and thus carries the same concurrency guarantees.
       *
       * <p>Unlike {@code HashSet}, this class does NOT allow {@code null} to be used as an element. The
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Multimaps.java

        return CollectCollectors.<T, K, V, M>flatteningToMultimap(
            keyFunction, valueFunction, multimapSupplier);
      }
    
      /**
       * Creates a new {@code Multimap} backed by {@code map}, whose internal value collections are
       * generated by {@code factory}.
       *
       * <p><b>Warning: do not use</b> this method when the collections returned by {@code factory}
    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)
  5. cmd/iam-store.go

    			res[cred.ParentUser] = ParentUserInfo{
    				subClaimValue: subClaimValue,
    				roleArns:      set.CreateStringSet(roleArn),
    			}
    		}
    	}
    
    	return res
    }
    
    // Assumes store is locked by caller. If users is empty, returns all user mappings.
    func (store *IAMStoreSys) listUserPolicyMappings(cache *iamCache, users []string,
    	userPredicate func(string) bool,
    ) []madmin.UserPolicyEntities {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  6. src/main/java/jcifs/smb/SmbTransportImpl.java

            do {
                this.socket = new Socket();
                if ( this.localAddr != null )
                    this.socket.bind(new InetSocketAddress(this.localAddr, this.localPort));
                this.socket.connect(new InetSocketAddress(this.address.getHostAddress(), 139), tc.getConfig().getConnTimeout());
                this.socket.setSoTimeout(tc.getConfig().getSoTimeout());
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 18 23:47:00 GMT 2023
    - 67K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Iterators.java

          }
          // The cast is safe because of the hasPeeked check.
          return uncheckedCastNullableTToT(peekedElement);
        }
      }
    
      /**
       * Returns a {@code PeekingIterator} backed by the given iterator.
       *
       * <p>Calls to the {@code peek} method with no intervening calls to {@code next} do not affect the
       * iteration, and hence return the same object each time. A subsequent call to {@code next} is
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Iterators.java

          }
          // The cast is safe because of the hasPeeked check.
          return uncheckedCastNullableTToT(peekedElement);
        }
      }
    
      /**
       * Returns a {@code PeekingIterator} backed by the given iterator.
       *
       * <p>Calls to the {@code peek} method with no intervening calls to {@code next} do not affect the
       * iteration, and hence return the same object each time. A subsequent call to {@code next} is
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 50.5K bytes
    - Viewed (0)
  9. internal/bucket/lifecycle/lifecycle_test.go

    			objectTags:     "tag1=value1",
    			objectModTime:  time.Now().UTC().Add(-24 * time.Hour), // Created 1 day ago
    			expectedAction: NoneAction,
    		},
    		// Should remove - empty prefix, tags match, date expiration kicked in
    		{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

                setActiveProfiles((Collections.unmodifiableList(project.getActiveProfiles())));
            }
    
            if (project.getAttachedArtifacts() != null) {
                // clone properties modifiable by plugins in a forked lifecycle
                setAttachedArtifacts(new ArrayList<>(project.getAttachedArtifacts()));
            }
    
            if (project.getCompileSourceRoots() != null) {
                // clone source roots
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 56.6K bytes
    - Viewed (0)
Back to top