Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 330 for Sample (0.18 sec)

  1. maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java

            Artifact artifact = new DefaultArtifact(
                    "sample.group",
                    "sample-art",
                    VersionRange.createFromVersion("1.0"),
                    "scope",
                    "jar",
                    "classifier",
                    null);
            artifact.setFile(getTestFile("target/sample-art"));
    
            StringWagon wagon = (StringWagon) wagonManager.getWagon("string");
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt

     * it easy to get sample values to use in such tests.
     *
     * This class is pretty fast and loose with default values: it attempts to provide values that are
     * well-formed, but doesn't guarantee values are internally consistent. Callers must take care to
     * configure the factory when sample values impact the correctness of the test.
     */
    class TestValueFactory : Closeable {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  3. cni/pkg/plugin/sidecar_iptables_linux.go

    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    // This is a sample chained plugin that supports multiple CNI versions. It
    // parses prevResult according to the cniVersion
    package plugin
    
    import (
    	"fmt"
    
    	"github.com/containernetworking/plugins/pkg/ns"
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 17:36:41 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  4. samples/simple-client/src/main/java/okhttp3/sample/OkHttpContributors.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.sample;
    
    import com.squareup.moshi.JsonAdapter;
    import com.squareup.moshi.Moshi;
    import com.squareup.moshi.Types;
    import java.util.Collections;
    import java.util.List;
    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    Java
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

       */
      private @Nullable Object generate(TypeToken<?> type) {
        Class<?> rawType = type.getRawType();
        List<Object> samples = sampleInstances.get(rawType);
        Object sample = pickInstance(samples, null);
        if (sample != null) {
          return sample;
        }
        if (rawType.isEnum()) {
          return pickInstance(rawType.getEnumConstants(), null);
        }
        if (type.isArray()) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28.6K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

       */
      private @Nullable Object generate(TypeToken<?> type) {
        Class<?> rawType = type.getRawType();
        List<Object> samples = sampleInstances.get(rawType);
        Object sample = pickInstance(samples, null);
        if (sample != null) {
          return sample;
        }
        if (rawType.isEnum()) {
          return pickInstance(rawType.getEnumConstants(), null);
        }
        if (type.isArray()) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28K bytes
    - Viewed (0)
  7. docs/metrics/prometheus/README.md

    - MinIO exports Prometheus compatible data by default which is resource centric as an authorized endpoint at `/minio/v2/metrics/resource`.
    
    All of these can be accessed via Prometheus dashboard. A sample list of exposed metrics along with their definition is available on our public demo server at
    
    ```sh
    curl https://play.min.io/minio/v2/metrics/cluster
    ```
    
    ### List of metrics reported Cluster and Bucket level
    
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 12 15:49:30 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  8. cmd/erasure-metadata_test.go

    			t.Fatalf("%+v: expected = %d, got: %d", testCase, testCase.expectedIndex, index)
    		}
    	}
    }
    
    // Test objectPartIndex(). generates a sample FileInfo data and asserts
    // the output of objectPartIndex() with the expected value.
    func TestObjectPartIndex(t *testing.T) {
    	testCases := []struct {
    		partNum       int
    		expectedIndex int
    	}{
    		{2, 1},
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 00:31:12 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  9. docs/changelogs/changelog_4x.md

        private development environments that only carry test data. Prefer this over creating an
        all-trusting `TrustManager` because only hosts on the allowlist are insecure. From
        [our DevServer sample][dev_server]:
    
        ```kotlin
        val clientCertificates = HandshakeCertificates.Builder()
            .addPlatformTrustedCertificates()
            .addInsecureHost("localhost")
            .build()
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 17 13:25:31 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  10. Makefile.core.mk

    #-----------------------------------------------------------------------------
    # Target: bookinfo sample
    #-----------------------------------------------------------------------------
    
    export BOOKINFO_VERSION ?= 1.18.0
    
    .PHONY: bookinfo.build bookinfo.push
    
    bookinfo.build:
    	@prow/buildx-create
    	@BOOKINFO_TAG=${BOOKINFO_VERSION} BOOKINFO_HUB=${HUB} samples/bookinfo/src/build-services.sh
    
    bookinfo.push: MULTI_ARCH=true
    bookinfo.push:
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Apr 19 19:41:41 GMT 2024
    - 22.5K bytes
    - Viewed (0)
Back to top