Search Options

Results per page
Sort
Preferred Languages
Advance

Results 861 - 870 of 1,297 for expectEq (0.14 sec)

  1. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Request.java

            int exp = size();
            int actual = getLength();
            if ( exp != actual ) {
                throw new IllegalStateException(String.format("Wrong size calculation have %d expect %d", exp, actual));
            }
            return len;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#getResponse()
         */
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.2K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/ListSetTester.java

        try {
          getList().set(0, e3());
          fail("set() should throw UnsupportedOperationException or IndexOutOfBoundsException");
        } catch (UnsupportedOperationException | IndexOutOfBoundsException expected) {
        }
        expectUnchanged();
      }
    
      @CollectionSize.Require(absent = ZERO)
      @ListFeature.Require(SUPPORTS_SET)
      @CollectionFeature.Require(absent = ALLOWS_NULL_VALUES)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/eventbus/DispatcherTest.java

        // useful testable guarantees about the behavior of that dispatcher in a multithreaded
        // environment. Here we simply test that all the expected dispatches happened in some order.
        assertThat(dispatchedSubscribers).containsExactly(i1, i2, i3, s1, s1, s1, s1, s2, s2, s2, s2);
      }
    
      public void testImmediateDispatcher() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 27 15:41:25 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/pac/Pac.java

                if ( log.isDebugEnabled() ) {
                    log.debug(
                        String.format(
                            "PAC signature validation failed, have: %s expected: %s type: %d len: %d",
                            Hexdump.toHexString(checksum),
                            Hexdump.toHexString(this.serverSignature.getChecksum()),
                            this.serverSignature.getType(),
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.5K bytes
    - Viewed (0)
  5. cmd/jwt_test.go

    			},
    			expectedErr: errAuthentication,
    		},
    	}
    
    	for i, testCase := range testCases {
    		_, _, _, gotErr := metricsRequestAuthenticate(testCase.req)
    		if testCase.expectedErr != gotErr {
    			t.Errorf("Test %d, expected err %s, got %s", i+1, testCase.expectedErr, gotErr)
    		}
    	}
    }
    
    func BenchmarkParseJWTStandardClaims(b *testing.B) {
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 22 07:04:48 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/MoreCollectors.java

        ToOptionalState() {
          element = null;
          extras = emptyList();
        }
    
        IllegalArgumentException multiples(boolean overflow) {
          StringBuilder sb =
              new StringBuilder().append("expected one element but was: <").append(element);
          for (Object o : extras) {
            sb.append(", ").append(o);
          }
          if (overflow) {
            sb.append(", ...");
          }
          sb.append('>');
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/graph/ValueGraphBuilder.java

       */
      @CanIgnoreReturnValue
      public ValueGraphBuilder<N, V> allowsSelfLoops(boolean allowsSelfLoops) {
        this.allowsSelfLoops = allowsSelfLoops;
        return this;
      }
    
      /**
       * Specifies the expected number of nodes in the graph.
       *
       * @throws IllegalArgumentException if {@code expectedNodeCount} is negative
       */
      @CanIgnoreReturnValue
      public ValueGraphBuilder<N, V> expectedNodeCount(int expectedNodeCount) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 03 01:21:31 UTC 2022
    - 8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/escape/CharEscaper.java

       * than a one-character array containing the character itself. This enables the escaping algorithm
       * to perform more efficiently.
       *
       * <p>An escaper is expected to be able to deal with any {@code char} value, so this method should
       * not throw any exceptions.
       *
       * @param c the character to escape if necessary
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 6.7K bytes
    - Viewed (0)
  9. cmd/streaming-v4-unsigned.go

    			}
    			return errMalformedEncoding
    		}
    		key := strings.ToLower(line[:idx])
    		value := line[idx+1:]
    		if _, ok := wantTrailers[key]; !ok {
    			if cr.debug {
    				fmt.Printf("Unknown key %q - expected on of %v\n", key, cr.trailers)
    			}
    			return errMalformedEncoding
    		}
    		cr.trailers.Set(key, value)
    		delete(wantTrailers, key)
    	}
    
    	// Check if we got all we want.
    	if len(wantTrailers) > 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat May 06 02:53:12 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/security/http-basic-auth.md

    # HTTP Basic Auth
    
    For the simplest cases, you can use HTTP Basic Auth.
    
    In HTTP Basic Auth, the application expects a header that contains a username and a password.
    
    If it doesn't receive it, it returns an HTTP 401 "Unauthorized" error.
    
    And returns a header `WWW-Authenticate` with a value of `Basic`, and an optional `realm` parameter.
    
    That tells the browser to show the integrated prompt for a username and password.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 26 16:01:27 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top