Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 981 - 990 of 1,754 for else_ (0.03 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. tests/update_belongs_to_test.go

    	}
    
    	var user5 User
    	DB.Preload("Company").Preload("Manager").Find(&user5, "id = ?", user.ID)
    	if user5.Manager.Name != user4.Manager.Name {
    		t.Errorf("should not update user's manager")
    	} else {
    		user.Manager.Name = user4.Manager.Name
    	}
    	CheckUser(t, user, user5)
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Thu Jul 14 06:55:54 GMT 2022
    - 1.6K bytes
    - Click Count (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

                TaskRunner::class.java.name -> recordTaskRunner
                Http2::class.java.name -> recordFrames
                "javax.net.ssl" -> recordSslDebug && !sslExcludeFilter.matches(record.message)
                else -> false
              }
    
            if (recorded) {
              synchronized(clientEventsList) {
                clientEventsList.add(record.message)
    
                if (record.loggerName == "javax.net.ssl") {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  3. fastapi/encoders.py

        1
    
        >>> decimal_encoder(Decimal("NaN"))
        nan
        """
        exponent = dec_value.as_tuple().exponent
        if isinstance(exponent, int) and exponent >= 0:
            return int(dec_value)
        else:
            return float(dec_value)
    
    
    ENCODERS_BY_TYPE: dict[type[Any], Callable[[Any], Any]] = {
        bytes: lambda o: o.decode(),
        Color: str,
        datetime.date: isoformat,
        datetime.datetime: isoformat,
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/CollectPreconditions.java

    @GwtCompatible
    final class CollectPreconditions {
    
      static void checkEntryNotNull(@Nullable Object key, @Nullable Object value) {
        if (key == null) {
          throw new NullPointerException("null key in entry: null=" + value);
        } else if (value == null) {
          throw new NullPointerException("null value in entry: " + key + "=null");
        }
      }
    
      @CanIgnoreReturnValue
      static int checkNonnegative(int value, String name) {
        if (value < 0) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 10 21:56:42 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  5. util/gradle_integration_tests.sh

    ./mvnw clean install --projects '!guava-testlib,!guava-tests,!guava-bom' -Dmaven.test.skip=true -Dmaven.javadoc.skip=true -f android
    
    # We run this separately so that its change to the default toolchain doesn't affect anything else.
    # (And we run it after the main build so that that build has already downloaded Java 11 if necessary.)
    ./mvnw --projects '!guava-testlib,!guava-tests,!guava-bom,!guava-gwt' initialize -P print-java-11-home
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Jan 02 19:24:12 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  6. .github/workflows/update-test-buckets.yml

            id: check-changes
            run: |
              cd ${GITHUB_WORKSPACE}
              if [ -n "$(git status --porcelain)" ]; then
                echo "changes=true" >> $GITHUB_OUTPUT
              else
                echo "changes=false" >> $GITHUB_OUTPUT
              fi
          - name: Create Pull Request
            if: steps.check-changes.outputs.changes == 'true'
            uses: peter-evans/create-pull-request@v8
            with:
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 09 22:14:16 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  7. cmd/metrics-v3-handler.go

    }
    
    func (md metricDisplay) TableRow() string {
    	labels := strings.Join(md.Labels, ",")
    	if labels == "" {
    		labels = ""
    	} else {
    		labels = "`" + labels + "`"
    	}
    	return fmt.Sprintf("| `%s` | `%s` | %s | %s |\n", md.Name, md.Type, md.Help, labels)
    }
    
    // listMetrics - returns a handler that lists all the metrics that could be
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/AssembleDslDocTask.groovy

            if (title.matches('(?i).* types')) {
                mergeTypes(typeTable, model)
            } else if (title.matches('(?i).* blocks')) {
                mergeBlocks(typeTable, model)
            } else {
                return
            }
    
            typeTable['@role'] = 'dslTypes'
        }
    
        def mergeBlocks(Element blocksTable, DslDocModel model) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 9.8K bytes
    - Click Count (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t03/ProjectInheritanceTest.java

     * the final model of the project being assembled. There is no
     * overriding going on amongst the models being used in this test:
     * each model in the lineage is providing a value that is not present
     * anywhere else in the lineage. We are just making sure that values
     * down in the lineage are bubbling up where they should.
     *
     */
    @Deprecated
    @SuppressWarnings("checkstyle:UnusedLocalVariable")
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  10. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/FileToRawModelMergerTest.java

                            if (returnType instanceof ParameterizedType parameterizedType) {
                                return !parameterizedType.getActualTypeArguments()[0].equals(String.class);
                            } else {
                                return false;
                            }
                        } catch (ReflectiveOperationException | SecurityException e) {
                            return false;
                        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 2.8K bytes
    - Click Count (0)
Back to Top