Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 435 for didn (0.28 sec)

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

            getMultiset().elementSet().contains(e0()));
      }
    
      @CollectionSize.Require(absent = ZERO)
      public void testEntrySet_contains() {
        assertTrue(
            "multiset.entrySet() didn't contain [present, 1]",
            getMultiset().entrySet().contains(Multisets.immutableEntry(e0(), 1)));
      }
    
      public void testEntrySet_contains_count0() {
        assertFalse(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 3.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/CloseablesTest.java

      private void doClose(Closeable closeable, boolean swallowException, boolean expectThrown)
          throws IOException {
        try {
          Closeables.close(closeable, swallowException);
          if (expectThrown) {
            fail("Didn't throw exception.");
          }
        } catch (IOException e) {
          if (!expectThrown) {
            fail("Threw exception");
          }
        }
        verify(closeable).close();
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4K bytes
    - Viewed (0)
  3. src/main/resources/fess_message_en.properties

    constraints.ParametersScriptAssert.message  = script expression "{script}" didn't evaluate to true.
    constraints.Range.message                   = {item} must be between {min} and {max}.
    constraints.SafeHtml.message                = {item} may have unsafe html content.
    constraints.ScriptAssert.message            = script expression "{script}" didn't evaluate to true.
    constraints.URL.message                     = {item} must be a valid URL.
    Properties
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Sat Mar 18 03:05:44 GMT 2023
    - 12.4K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/Authenticator.kt

     *   if (challenge.scheme().equalsIgnoreCase("OkHttp-Preemptive")) {
     *     return response.request().newBuilder()
     *         .header("Proxy-Authorization", "secret")
     *         .build();
     *   }
     * }
     * return null; // Didn't find a preemptive auth scheme.
     * ```
     *
     * ## Reactive Authentication
     *
     * Implementations authenticate by returning a follow-up request that includes an authorization
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  5. src/bufio/bufio_test.go

    	br.ReadRune()
    	br.Peek(1)
    	if err := br.UnreadRune(); err == nil {
    		t.Error("UnreadRune didn't fail after Peek")
    	}
    }
    
    func TestNoUnreadByteAfterPeek(t *testing.T) {
    	br := NewReader(strings.NewReader("example"))
    	br.ReadByte()
    	br.Peek(1)
    	if err := br.UnreadByte(); err == nil {
    		t.Error("UnreadByte didn't fail after Peek")
    	}
    }
    
    func TestNoUnreadRuneAfterDiscard(t *testing.T) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/additional-status-codes.md

    For example, let's say that you want to have a *path operation* that allows to update items, and returns HTTP status codes of 200 "OK" when successful.
    
    But you also want it to accept new items. And when the items didn't exist before, it creates them, and returns an HTTP status code of 201 "Created".
    
    To achieve that, import `JSONResponse`, and return your content there directly, setting the `status_code` that you want:
    
    === "Python 3.10+"
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  7. istioctl/pkg/describe/describe_test.go

    	}
    
    	if c.expectedString != "" && !strings.Contains(output, c.expectedString) {
    		t.Fatalf("Output didn't match for 'istioctl %s'\n got %v\nwant: %v", strings.Join(c.args, " "), output, c.expectedString)
    	}
    
    	if c.wantException {
    		if fErr == nil {
    			t.Fatalf("Wanted an exception for 'istioctl %s', didn't get one, output was %q",
    				strings.Join(c.args, " "), output)
    		}
    	} else {
    		if fErr != nil {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Mar 28 09:54:01 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

          check(!closed) { "closed" }
          if (bytesRemaining == 0L) return -1
    
          val read = super.read(sink, minOf(bytesRemaining, byteCount))
          if (read == -1L) {
            carrier.noNewExchanges() // The server didn't supply the promised content length.
            val e = ProtocolException("unexpected end of stream")
            responseBodyComplete()
            throw e
          }
    
          bytesRemaining -= read
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 16.2K bytes
    - Viewed (0)
  9. istioctl/pkg/proxyconfig/proxyconfig_test.go

    	}
    
    	if c.expectedString != "" && !strings.Contains(output, c.expectedString) {
    		t.Fatalf("Output didn't match for '%s %s'\n got %v\nwant: %v", cmd.Name(), strings.Join(c.args, " "), output, c.expectedString)
    	}
    
    	if c.wantException {
    		if fErr == nil {
    			t.Fatalf("Wanted an exception for 'istioctl %s', didn't get one, output was %q",
    				strings.Join(c.args, " "), output)
    		}
    	} else {
    		if fErr != nil {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Apr 10 21:51:29 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/CloseablesTest.java

      private void doClose(Closeable closeable, boolean swallowException, boolean expectThrown)
          throws IOException {
        try {
          Closeables.close(closeable, swallowException);
          if (expectThrown) {
            fail("Didn't throw exception.");
          }
        } catch (IOException e) {
          if (!expectThrown) {
            fail("Threw exception");
          }
        }
        verify(closeable).close();
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4K bytes
    - Viewed (0)
Back to top