Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2691 - 2700 of 6,241 for if (0.02 sec)

  1. schema/callbacks_test.go

    	return nil
    }
    
    func TestCallback(t *testing.T) {
    	user, err := schema.Parse(&UserWithCallback{}, &sync.Map{}, schema.NamingStrategy{})
    	if err != nil {
    		t.Fatalf("failed to parse user with callback, got error %v", err)
    	}
    
    	for _, str := range []string{"BeforeSave", "AfterCreate"} {
    		if !reflect.Indirect(reflect.ValueOf(user)).FieldByName(str).Interface().(bool) {
    			t.Errorf("%v should be true", str)
    		}
    	}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 939 bytes
    - Viewed (0)
  2. compat/maven-embedder/src/test/java/org/apache/maven/cli/CLIManagerDocumentationTest.java

                sb.append("<code>");
    
                if (nonNull(option.getOpt())) {
                    sb.append("-<a name='");
                    sb.append(option.getOpt());
                    sb.append("'>");
                    sb.append(option.getOpt());
                    sb.append("</a>");
                }
    
                if (nonNull(option.getLongOpt())) {
                    if (nonNull(option.getOpt())) {
                        sb.append(", ");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. ci/official/containers/linux_arm64/devel.usertools/code_check_changed_files.bats

        # Without this, git errors if /tf/tensorflow directory owner is different
        git config --global --add safe.directory /tf/tensorflow
        # Note that you could generate a list of all the affected targets with e.g.:
        # bazel query $(paste -sd "+" $BATS_FILE_TMPDIR/changed_files) --keep_going
        # Only shows Added, Changed, Modified, Renamed, and Type-changed files
        if [[ "$(git rev-parse --abbrev-ref HEAD)" = "pull_branch" ]]; then
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Sep 18 14:52:45 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  4. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateKotlinVersions.kt

                                val versionsOfPatch = versionsByPatch.getValue(key)
                                if (versionsOfPatch.any { !it.contains("-") }) {
                                    add(versionsOfPatch.first { !it.contains("-") })
                                    break
                                }
                                if (versionsOfPatch.any { it.contains("-RC") }) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jul 23 18:27:26 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Converter.java

       *
       * @return the converted value; is null <i>if and only if</i> {@code a} is null
       */
      @CheckForNull
      public final B convert(@CheckForNull A a) {
        return correctedDoForward(a);
      }
    
      @CheckForNull
      B correctedDoForward(@CheckForNull A a) {
        if (handleNullAutomatically) {
          // TODO(kevinb): we shouldn't be checking for a null result at runtime. Assert?
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 23K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Ascii.java

            "maxLength (%s) must be >= length of the truncation indicator (%s)",
            maxLength,
            truncationIndicator.length());
    
        if (seq.length() <= maxLength) {
          String string = seq.toString();
          if (string.length() <= maxLength) {
            return string;
          }
          // if the length of the toString() result was > maxLength for some reason, truncate that
          seq = string;
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 02 13:50:22 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  7. docs/en/docs/deployment/concepts.md

    ### Server Memory
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Sep 18 16:09:57 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/spnego/NegTokenTarg.java

                ASN1EncodableVector fields = new ASN1EncodableVector();
                int res = getResult();
                if ( res != UNSPECIFIED_RESULT ) {
                    fields.add(new DERTaggedObject(true, 0, new ASN1Enumerated(res)));
                }
                ASN1ObjectIdentifier mech = getMechanism();
                if ( mech != null ) {
                    fields.add(new DERTaggedObject(true, 1, mech));
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Jan 04 04:18:31 UTC 2021
    - 5.4K bytes
    - Viewed (0)
  9. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/ConsoleMavenTransferListener.java

                long total = Math.max(complete, entry.resource.getContentLength());
    
                String resourceName = entry.resource.getResourceName();
    
                if (printResourceNames) {
                    int idx = resourceName.lastIndexOf('/');
    
                    if (idx < 0) {
                        buffer.append(resourceName);
                    } else {
                        buffer.append(resourceName, idx + 1, resourceName.length());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/execution/ReactorManager.java

        }
    
        private void blackList(String id) {
            if (!blackList.contains(id)) {
                blackList.add(id);
    
                List<String> dependents = sorter.getDependents(id);
    
                if (dependents != null && !dependents.isEmpty()) {
                    for (String dependentId : dependents) {
                        if (!buildSuccessesByProject.containsKey(dependentId)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top