Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 182 for logic (0.02 sec)

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

      private void testItems() {
        for (T item : items) {
          /*
           * TODO(cpovirk): consider no longer running these equivalent() tests on every Equivalence,
           * since the Equivalence base type now implements this logic itself
           */
          assertTrue(item + " must be inequivalent to null", !equivalence.equivalent(item, null));
          assertTrue("null must be inequivalent to " + item, !equivalence.equivalent(null, item));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 25 11:57:12 UTC 2023
    - 4K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/EquivalenceTester.java

      private void testItems() {
        for (T item : items) {
          /*
           * TODO(cpovirk): consider no longer running these equivalent() tests on every Equivalence,
           * since the Equivalence base type now implements this logic itself
           */
          assertTrue(item + " must be inequivalent to null", !equivalence.equivalent(item, null));
          assertTrue("null must be inequivalent to " + item, !equivalence.equivalent(null, item));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 25 11:57:12 UTC 2023
    - 4K bytes
    - Viewed (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt

    import okhttp3.tls.HandshakeCertificates
    import okhttp3.tls.internal.TlsUtil.localhost
    
    /**
     * OkHttp is usually tested with functional tests: these use public APIs to confirm behavior against
     * MockWebServer. In cases where logic is particularly tricky, we use unit tests. This class makes
     * it easy to get sample values to use in such tests.
     *
     * This class is pretty fast and loose with default values: it attempts to provide values that are
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/DefaultProjectDependenciesResolver.java

            if ((scopesToCollect == null || scopesToCollect.isEmpty())
                    && (scopesToResolve == null || scopesToResolve.isEmpty())) {
                return resolved;
            }
    
            /*
    
            Logic for transitive global exclusions
    
            List<String> exclusions = new ArrayList<String>();
    
            for ( Dependency d : project.getDependencies() )
            {
                if ( d.getExclusions() != null )
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/searchlog/AdminSearchlogAction.java

            return redirect(getClass());
        }
    
        // ===================================================================================
        //                                                                        Assist Logic
        //                                                                        ============
    
        // ===================================================================================
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. cmd/signature-v2_test.go

    			if errCode != testCase.expected {
    				t.Errorf("(%d) expected to get success, instead got %s", i, niceError(errCode))
    			}
    		}
    
    	}
    }
    
    // TestValidateV2AuthHeader - Tests validate the logic of V2 Authorization header validator.
    func TestValidateV2AuthHeader(t *testing.T) {
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    
    	obj, fsDir, err := prepareFS(ctx)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 14 10:08:40 UTC 2022
    - 8K bytes
    - Viewed (0)
  7. helm/minio/templates/_helpers.tpl

    */}}
    {{- define "minio.imagePullSecrets" -}}
    {{/*
    Helm 2.11 supports the assignment of a value to a variable defined in a different scope,
    but Helm 2.9 and 2.10 does not support it, so we need to implement this if-else logic.
    Also, we can not use a single if because lazy evaluation is not an option
    */}}
    {{- if .Values.global }}
    {{- if .Values.global.imagePullSecrets }}
    imagePullSecrets:
    {{- range .Values.global.imagePullSecrets }}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Apr 17 06:04:15 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/utils/Os.java

         * @param actualOsName the OS name to check against
         * @return true if the OS matches
         *
         */
        public static boolean isFamily(String family, String actualOsName) {
            // windows probing logic relies on the word 'windows' in the OS
            boolean isWindows = actualOsName.contains(FAMILY_WINDOWS);
            boolean is9x = false;
            boolean isNT = false;
            if (isWindows) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/joblog/AdminJoblogAction.java

            return redirect(getClass());
        }
    
        // ===================================================================================
        //                                                                        Assist Logic
        //                                                                        ============
    
        // ===================================================================================
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/math/ToDoubleRounder.java

                return roundFloorAsDouble;
              } else if (diff > 0) { // closer to ceiling
                return roundCeilingAsDouble;
              }
              // halfway between the representable values; do the half-whatever logic
              switch (mode) {
                case HALF_EVEN:
                  // roundFloorAsDouble and roundCeilingAsDouble are neighbors, so precisely
                  // one of them should have an even long representation
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top