Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1031 - 1040 of 1,376 for expectEq (0.07 sec)

  1. guava/src/com/google/common/collect/RangeSet.java

     * rangeSet.remove(Range.open(5, 10)); // splits [1, 10]; {[1, 5], [10, 10], [11, 20)}
     * }</pre>
     *
     * <p>Note that the behavior of {@link Range#isEmpty()} and {@link Range#isConnected(Range)} may not
     * be as expected on discrete ranges. See the Javadoc of those methods for details.
     *
     * <p>For a {@link Set} whose contents are specified by a {@link Range}, see {@link ContiguousSet}.
     *
     * <p>See the Guava User Guide article on <a href=
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  2. tests/scanner_valuer_test.go

    		}
    
    		*data = append((*data)[0:], b[3:]...)
    		return nil
    	} else if s, ok := value.(string); ok {
    		*data = []byte(s[3:])
    		return nil
    	}
    
    	return errors.New("Bytes expected")
    }
    
    func (data EncryptedData) Value() (driver.Value, error) {
    	if len(data) > 0 && data[0] == 'x' {
    		// needed to test failures
    		return nil, errors.New("Should not start with 'x'")
    	}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 07 07:02:07 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/concurrent/TaskRunnerTest.kt

      }
    
      @Test fun cancelAllWhenEmptyDoesNotStartWorkerThread() {
        redQueue.execute("red task", 100.µs) {
          error("expected to be canceled")
        }
        assertThat(taskFaker.executeCallCount).isEqualTo(1)
    
        blueQueue.execute("task", 100.µs) {
          error("expected to be canceled")
        }
        assertThat(taskFaker.executeCallCount).isEqualTo(1)
    
        redQueue.cancelAll()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 29 00:33:04 UTC 2024
    - 23K bytes
    - Viewed (0)
  4. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

        assumeTrue(Build.VERSION.SDK_INT >= 23)
    
        val request = Request.Builder().url("http://squareup.com/robots.txt").build()
    
        try {
          client.newCall(request).execute()
          fail<Any>("expected cleartext blocking")
        } catch (_: java.net.UnknownServiceException) {
        }
      }
    
      data class HowsMySslResults(
        val unknown_cipher_suite_supported: Boolean,
        val beast_vuln: Boolean,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 27K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/FluentFuture.java

       *     unrecoverable errors, callers should prefer more specific types, avoiding {@code
       *     Throwable.class} in particular.
       * @param fallback the {@link Function} to be called if the input fails with the expected
       *     exception type. The function's argument is the input's exception. "The input's exception"
       *     means the cause of the {@link ExecutionException} thrown by {@code this.get()} or, if
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/collection/ArrayUtilTest.java

            assertArrayEquals(new Integer[] { new Integer(1), new Integer(5), new Integer(2) }, a);
        }
    
        /**
         * @throws Exception
         */
        @Test(expected = IllegalArgumentException.class)
        public void testToObjectArray_NoArray() throws Exception {
            ArrayUtil.toObjectArray("a");
        }
    
        /**
         * @throws Exception
         */
        @Test
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  7. internal/s3select/sql/aggregation.go

    			// No rows were seen by MAX
    			return FromNull(), nil
    		}
    		return e.aggregate.runningMax, nil
    
    	case aggFnSum:
    		// TODO: check if returning 0 when no rows were seen
    		// by SUM is expected behavior.
    		return e.aggregate.runningSum, nil
    
    	default:
    		// TODO:
    	}
    
    	return nil, errInvalidAggregation
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 23 07:19:11 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  8. architecture/security/istio-agent.md

       the `SecretManager` to Envoy, without much business logic. For each resource requested by Envoy, the SDS server
       will call `SecretManager.GenerateSecret(resourceName)`
    1. When `GenerateSecret` is called, the `SecretManager` is expected to return a new certificate. This can occur in a few ways.
       1. The most common method (pictured above) is to sign a new certificate by calling the configured CA. Typically, this is Istiod.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jul 18 23:11:18 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  9. logger/sql_test.go

    		},
    	}
    
    	for idx, r := range results {
    		if result := logger.ExplainSQL(r.SQL, r.NumericRegexp, `"`, r.Vars...); result != r.Result {
    			t.Errorf("Explain SQL #%v expects %v, but got %v", idx, r.Result, result)
    		}
    	}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Mar 21 08:00:02 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketReader.kt

            }
          }
    
          if (isFinalFrame) break // We are exhausted and have no continuations.
    
          readUntilNonControlFrame()
          if (opcode != OPCODE_CONTINUATION) {
            throw ProtocolException("Expected continuation opcode. Got: ${opcode.toHexString()}")
          }
        }
      }
    
      @Throws(IOException::class)
      override fun close() {
        messageInflater?.close()
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.8K bytes
    - Viewed (0)
Back to top