Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 261 for minmax (0.04 seconds)

  1. internal/s3select/sql/value.go

    // assumed to be numeric. Attempts conversion to numeric type for `a`
    // (first int, then float) only if the underlying values do not have a
    // type.
    func (v *Value) minmax(a *Value, isMax, isFirstRow bool) error {
    	err := inferTypeForArithOp(a)
    	if err != nil {
    		return err
    	}
    
    	if !a.isNumeric() {
    		return errArithMismatchedTypes
    	}
    
    	// In case of first row, set v to a.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 20.4K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

        int oneBased = ~~(index + 1); // for GWT
        checkState(oneBased > 0, "negative index");
        return (oneBased & EVEN_POWERS_OF_TWO) > (oneBased & ODD_POWERS_OF_TWO);
      }
    
      /**
       * Returns {@code true} if the MinMax heap structure holds. This is only used in testing.
       *
       * <p>TODO(kevinb): move to the test class?
       */
      @VisibleForTesting
      boolean isIntact() {
        for (int i = 1; i < size; i++) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 34K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/MinMaxPriorityQueue.java

        int oneBased = ~~(index + 1); // for GWT
        checkState(oneBased > 0, "negative index");
        return (oneBased & EVEN_POWERS_OF_TWO) > (oneBased & ODD_POWERS_OF_TWO);
      }
    
      /**
       * Returns {@code true} if the MinMax heap structure holds. This is only used in testing.
       *
       * <p>TODO(kevinb): move to the test class?
       */
      @VisibleForTesting
      boolean isIntact() {
        for (int i = 1; i < size; i++) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 34K bytes
    - Click Count (0)
  4. internal/s3select/sql/aggregation.go

    		}
    		argVal.setFloat(f)
    		err = e.aggregate.runningSum.arithOp(opPlus, argVal)
    
    	case aggFnMin:
    		err = e.aggregate.runningMin.minmax(argVal, false, isFirstRow)
    
    	case aggFnMax:
    		err = e.aggregate.runningMax.minmax(argVal, true, isFirstRow)
    
    	default:
    		err = errInvalidAggregation
    	}
    
    	return err
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 7.9K bytes
    - Click Count (0)
  5. docs/es/docs/tutorial/testing.md

    <div class="termy">
    
    ```console
    $ pip install pytest
    
    ---> 100%
    ```
    
    </div>
    
    Detectará los archivos y pruebas automáticamente, ejecutará las mismas y te reportará los resultados.
    
    Ejecuta las pruebas con:
    
    <div class="termy">
    
    ```console
    $ pytest
    
    ================ test session starts ================
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  6. src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java

    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.ValueSource;
    
    import jcifs.pac.PACDecodingException;
    
    class KerberosApRequestTest {
    
        // Helper: build a minimal, valid-looking ASN.1 AP-REQ sequence with tags 0/1/2
        private ASN1Sequence buildMinimalApReqSeq(byte apOptions) {
            ASN1EncodableVector v = new ASN1EncodableVector();
            // pvno [0] INTEGER 5
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  7. src/test/java/jcifs/pac/PacTest.java

            // Any PACDecodingException is acceptable for this test
            assertNotNull(e.getMessage());
        }
    
        @Test
        void testInvalidVersion() throws IOException {
            // Create minimal PAC structure with wrong version
            ByteArrayOutputStream baos = new ByteArrayOutputStream();
            writeLittleEndianInt(baos, 0); // buffer count = 0
            writeLittleEndianInt(baos, 99); // invalid version
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/CommonServerMessageBlockTest.java

            assertEquals(maxMid, messageBlock.getMid());
    
            // Test with MIN_VALUE
            long minMid = Long.MIN_VALUE;
            doNothing().when(messageBlock).setMid(minMid);
            when(messageBlock.getMid()).thenReturn(minMid);
    
            messageBlock.setMid(minMid);
            assertEquals(minMid, messageBlock.getMid());
    
            // Test with zero
            long zeroMid = 0L;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.7K bytes
    - Click Count (0)
  9. docs/es/docs/tutorial/path-params-numeric-validations.md

    {* ../../docs_src/path_params_numeric_validations/tutorial006_an_py310.py hl[13] *}
    
    ## Resumen { #recap }
    
    Con `Query`, `Path` (y otros que aún no has visto) puedes declarar metadatos y validaciones de string de las mismas maneras que con [Parámetros de Query y Validaciones de String](query-params-str-validations.md).
    
    Y también puedes declarar validaciones numéricas:
    
    * `gt`: `g`reater `t`han
    * `ge`: `g`reater than or `e`qual
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 6.4K bytes
    - Click Count (0)
  10. docs/de/docs/advanced/settings.md

    ### Die `Settings` nur einmal laden mittels `lru_cache` { #creating-the-settings-only-once-with-lru-cache }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 12.5K bytes
    - Click Count (0)
Back to Top