Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 127 for ret1 (0.02 sec)

  1. tests/update_has_many_test.go

    	user := *GetUser("update-has-many", Config{})
    
    	if err := DB.Create(&user).Error; err != nil {
    		t.Fatalf("errors happened when create: %v", err)
    	}
    
    	user.Pets = []*Pet{{Name: "pet1"}, {Name: "pet2"}}
    	if err := DB.Save(&user).Error; err != nil {
    		t.Fatalf("errors happened when update: %v", err)
    	}
    
    	var user2 User
    	DB.Preload("Pets").Find(&user2, "id = ?", user.ID)
    	CheckUser(t, user2, user)
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 2K bytes
    - Viewed (0)
  2. docs/bucket/replication/sio-error.sh

    sleep 1
    
    ./mc ls -r --versions myminio1/testbucket/dir/ >/tmp/dir_1.txt
    ./mc ls -r --versions myminio2/testbucket/dir/ >/tmp/dir_2.txt
    
    out=$(diff -qpruN /tmp/dir_1.txt /tmp/dir_2.txt)
    ret=$?
    if [ $ret -ne 0 ]; then
    	echo "BUG: expected no 'diff' after replication: $out"
    	exit 1
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat May 18 18:19:01 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ResolutionNode.java

            List<Artifact> trial = getTrail();
    
            List<String> ret = new ArrayList<>(trial.size());
    
            for (Artifact artifact : trial) {
                ret.add(artifact.getId());
            }
    
            return ret;
        }
    
        private List<Artifact> getTrail() throws OverConstrainedVersionException {
            if (trail == null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

       *
       * @deprecated Use {@link com.google.common.collect.Sets#intersection(Set, Set)} instead.
       */
      @Deprecated
      public static <T> Set<T> intersection(Set<? extends T> set1, Set<? extends T> set2) {
        Set<T> result = copyToSet(set1);
        result.retainAll(set2);
        return result;
      }
    
      private FeatureUtil() {}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 05 22:05:05 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/testdata/amd64.s

    	MOVB	foo+32(SP)(CX*4), AH		// 8a648c20
    	MOVB	foo+32323(SP)(CX*8), R9		// 448a8ccc437e0000
    
    // Tests for TLS reference.
    	MOVQ	(TLS), AX
    	MOVQ	8(TLS), DX
    
    // LTYPE0 nonnon	{ outcode($1, &$2); }
    	RET // c3
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Apr 09 18:57:21 UTC 2019
    - 3.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/CollectCollectors.java

        }
    
        ImmutableSet<E> toImmutableSet() {
          if (set == null) {
            return ImmutableSet.of();
          }
          ImmutableSet<E> ret = ImmutableEnumSet.asImmutable(set);
          set = null; // subsequent manual manipulation of the accumulator mustn't affect ret
          return ret;
        }
      }
    
      @GwtIncompatible
      @SuppressWarnings({"rawtypes", "unchecked"})
      static <E extends Comparable<? super E>>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  7. cmd/bucket-stats.go

    	return
    }
    
    // Get upload latency of each object size range
    func (rl ReplicationLatency) getUploadLatency() (ret map[string]uint64) {
    	ret = make(map[string]uint64)
    	avg := rl.UploadHistogram.GetAvgData()
    	for k, v := range avg {
    		// Convert nanoseconds to milliseconds
    		ret[sizeTagToString(k)] = uint64(v.avg() / time.Millisecond)
    	}
    	return
    }
    
    // Update replication upload latency with a new value
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 11:39:51 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  8. tensorflow/c/c_api.cc

      if (api_def == nullptr) {
        return nullptr;
      }
    
      TF_Buffer* ret = TF_NewBuffer();
      status->status = MessageToBuffer(*api_def, ret);
      if (!status->status.ok()) {
        TF_DeleteBuffer(ret);
        return nullptr;
      }
      return ret;
    #endif  // defined(IS_MOBILE_PLATFORM) || defined(IS_SLIM_BUILD)
    }
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/lang/ClassUtil.java

            assertArgumentNotEmpty("className", className);
    
            final String[] ret = new String[2];
            final int i = className.lastIndexOf('.');
            if (i > 0) {
                ret[0] = className.substring(0, i);
                ret[1] = className.substring(i + 1);
            } else {
                ret[1] = className;
            }
            return ret;
        }
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/math/Quantiles.java

       * as a pivot. Returns the index which the slice is partitioned around, i.e. if it returns {@code
       * ret} then we know that the values with indexes in [{@code from}, {@code ret}) are less than or
       * equal to the value at {@code ret} and the values with indexes in ({@code ret}, {@code to}] are
       * greater than or equal to that.
       */
      private static int partition(double[] array, int from, int to) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 29.9K bytes
    - Viewed (0)
Back to top