Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for _Retval (0.07 sec)

  1. android/guava-tests/benchmark/com/google/common/collect/MapsMemoryBenchmark.java

      }
    
      @Benchmark
      public int iterate() {
        long retVal = 0;
        for (Object entry : map.entrySet()) {
          retVal += entry.hashCode();
        }
        return (int) retVal;
      }
    
      @Benchmark
      public int keyIterate() {
        long retVal = 0;
        for (Object key : map.keySet()) {
          retVal += key.hashCode();
        }
        return (int) retVal;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. src/packaging/rpm/init.d/fess

        daemon --user $FESS_USER --pidfile="$pidfile" $exec -d
        retval=$?
        pid=`ps aux | grep "^${FESS_USER}" | grep "${PROC_NAME}" | sed 's/[\t ]\+/\t/g' | cut -f2`
        if [ -n "$pid" ]; then
            echo $pid > "$pidfile"
        fi
        echo
        [ $retval -eq 0 ] && touch $lockfile
        return $retval
    }
    
    stop() {
        echo -n $"Stopping $prog: "
        # stop it here, often "killproc $prog"
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Jan 15 06:32:15 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  3. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenPropertiesLoader.java

                }
    
                // Handle case where end of token stream and
                // still got data
                if ((!exit) && (tokStarted)) {
                    retVal = tokBuf.toString();
                }
            }
    
            return optional ? "?" + retVal : retVal;
        }
    
        public static String substVars(
                String value, String name, Map<String, String> props, Function<String, String> callback) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/artifact/ArtifactStatus.java

            }
            map.put(key, this);
        }
    
        public static ArtifactStatus valueOf(String status) {
            ArtifactStatus retVal = null;
    
            if (status != null) {
                retVal = map.get(status);
            }
    
            return retVal != null ? retVal : NONE;
        }
    
        public boolean equals(Object o) {
            if (this == o) {
                return true;
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/HashCode.java

              bytes.length);
          return padToLong();
        }
    
        @Override
        public long padToLong() {
          long retVal = (bytes[0] & 0xFF);
          for (int i = 1; i < min(bytes.length, 8); i++) {
            retVal |= (bytes[i] & 0xFFL) << (i * 8);
          }
          return retVal;
        }
    
        @Override
        void writeBytesToImpl(byte[] dest, int offset, int maxLength) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:54:59 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api_test.cc

          TFE_DeleteOp(add_op_dummy);
        }
      }
      TFE_TensorHandle* retval = nullptr;
      TFE_Execute(add_op, &retval, &num_retvals, status);
      EXPECT_EQ(1, num_retvals);
      EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      if (!forward_input) {
        TFE_DeleteTensorHandle(n);
      }
      TFE_DeleteOp(add_op);
    
      TF_Tensor* t = TFE_TensorHandleResolve(retval, status);
      if (async) {
        if (forward_input) {
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Aug 03 20:50:20 UTC 2023
    - 94.6K bytes
    - Viewed (0)
  7. guava-tests/benchmark/com/google/common/base/EnumsBenchmark.java

      @SuppressWarnings("unchecked")
      @Benchmark
      boolean getIfPresent(int repetitions) {
        boolean retVal = false;
        for (int i = 0; i < repetitions; ++i) {
          retVal &= Enums.getIfPresent(enumType, sampleData[i & 255]).isPresent();
        }
        return retVal;
      }
    
      private enum SmallEnum {
        X0,
        X1,
        X2
      }
    
      private enum MediumEnum {
        X0,
        X1,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/hash/HashCode.java

              bytes.length);
          return padToLong();
        }
    
        @Override
        public long padToLong() {
          long retVal = (bytes[0] & 0xFF);
          for (int i = 1; i < min(bytes.length, 8); i++) {
            retVal |= (bytes[i] & 0xFFL) << (i * 8);
          }
          return retVal;
        }
    
        @Override
        void writeBytesToImpl(byte[] dest, int offset, int maxLength) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:54:59 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/base/EnumsBenchmark.java

      @SuppressWarnings("unchecked")
      @Benchmark
      boolean getIfPresent(int repetitions) {
        boolean retVal = false;
        for (int i = 0; i < repetitions; ++i) {
          retVal &= Enums.getIfPresent(enumType, sampleData[i & 255]).isPresent();
        }
        return retVal;
      }
    
      private enum SmallEnum {
        X0,
        X1,
        X2
      }
    
      private enum MediumEnum {
        X0,
        X1,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbFile.java

                        "[\\PIPE\\netdfs]", auth);
            try {
                rpc = new MsrpcDfsRootEnum(getServer());
                handle.sendrecv(rpc);
                if (rpc.retval != 0)
                    throw new SmbException(rpc.retval, true);
                return rpc.getEntries();
            } finally {
                try {
                    handle.close();
                } catch(IOException ioe) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
Back to top