Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 123 for Succeeded (0.08 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

        try {
          collection.add(sampleElement);
          fail("add succeeded on unmodifiable collection");
        } catch (UnsupportedOperationException expected) {
        }
    
        assertCollectionsAreEquivalent(copy, collection);
    
        try {
          collection.addAll(siblingCollection);
          fail("addAll succeeded on unmodifiable collection");
        } catch (UnsupportedOperationException expected) {
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

        try {
          collection.add(sampleElement);
          fail("add succeeded on unmodifiable collection");
        } catch (UnsupportedOperationException expected) {
        }
    
        assertCollectionsAreEquivalent(copy, collection);
    
        try {
          collection.addAll(siblingCollection);
          fail("addAll succeeded on unmodifiable collection");
        } catch (UnsupportedOperationException expected) {
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  3. internal/etag/etag_test.go

    }
    
    func TestParse(t *testing.T) {
    	for i, test := range parseTests {
    		etag, err := Parse(test.String)
    		if err == nil && test.ShouldFail {
    			t.Fatalf("Test %d: parse should have failed but succeeded", i)
    		}
    		if err != nil && !test.ShouldFail {
    			t.Fatalf("Test %d: failed to parse ETag %q: %v", i, test.String, err)
    		}
    		if !Equal(etag, test.ETag) {
    			t.Log([]byte(etag))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 18 17:00:54 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  4. internal/ringbuffer/ring_buffer.go

    		}
    		n, err = r.read(p)
    	}
    	if r.block && n > 0 {
    		r.readCond.Broadcast()
    	}
    	return n, err
    }
    
    // TryRead read up to len(p) bytes into p like Read but it is not blocking.
    // If it has not succeeded to acquire the lock, it return 0 as n and ErrAcquireLock.
    func (r *RingBuffer) TryRead(p []byte) (n int, err error) {
    	ok := r.mu.TryLock()
    	if !ok {
    		return 0, ErrAcquireLock
    	}
    	defer r.mu.Unlock()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. docs/recipes.md

                .readTimeout(500, TimeUnit.MILLISECONDS)
                .build()
            try {
              client1.newCall(request).execute().use { response ->
                println("Response 1 succeeded: $response")
              }
            } catch (e: IOException) {
              println("Response 1 failed: $e")
            }
    
            // Copy to customize OkHttp for this request.
            val client2 = client.newBuilder()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Feb 18 08:52:22 UTC 2022
    - 40.2K bytes
    - Viewed (0)
  6. helm/minio/templates/post-job.yaml

        chart: {{ template "minio.chart" . }}
        release: {{ .Release.Name }}
        heritage: {{ .Release.Service }}
      annotations:
        "helm.sh/hook": post-install,post-upgrade
        "helm.sh/hook-delete-policy": hook-succeeded,before-hook-creation
        {{- with .Values.postJob.annotations }}
          {{- toYaml . | nindent 4 }}
        {{- end }}
    spec:
      template:
        metadata:
          labels:
            app: {{ template "minio.name" . }}-job
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 15:48:31 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java

            assertThrows(
                    ArtifactNotFoundException.class,
                    () -> artifactResolver.resolve(k, remoteRepositories(), localRepository()),
                    "Resolution succeeded when it should have failed");
        }
    
        @Test
        void testResolutionOfAnArtifactWhereOneRemoteRepositoryIsBadButOneIsGood() throws Exception {
            Artifact l = createRemoteArtifact("l", "1.0-SNAPSHOT");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                        } catch (ChecksumFailedException e) {
                            // if we catch a ChecksumFailedException, it means the transfer/read succeeded, but the
                            // checksum doesn't match. This could be a problem with the server (ibiblio HTTP-200 error
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  9. helm-releases/minio-3.6.4.tgz

    labels: app: {{ template "minio.name" . }}-make-bucket-job chart: {{ template "minio.chart" . }} release: {{ .Release.Name }} heritage: {{ .Release.Service }} annotations: "helm.sh/hook": post-install,post-upgrade "helm.sh/hook-delete-policy": hook-succeeded,before-hook-creation {{- with .Values.makeBucketJob.annotations }} {{ toYaml . | indent 4 }} {{- end }} spec: template: metadata: labels: app: {{ template "minio.name" . }}-job release: {{ .Release.Name }} {{- if .Values.podLabels }} {{ toYaml .Values.podLabels...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Apr 12 01:30:28 UTC 2022
    - 17.9K bytes
    - Viewed (0)
  10. cmd/bucket-handlers_test.go

    	// Call the ServeHTTP to execute the handler.
    	apiRouter.ServeHTTP(rec, req)
    	switch rec.Code {
    	case http.StatusOK, http.StatusCreated, http.StatusAccepted, http.StatusNoContent:
    		t.Fatalf("Test %v: expected failure, but succeeded with %v", instanceType, rec.Code)
    	}
    
    	// Verify response of the V2 signed HTTP request.
    	// initialize HTTP NewRecorder, this records any mutations to response writer inside the handler.
    	recV2 := httptest.NewRecorder()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 39.8K bytes
    - Viewed (0)
Back to top