Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for RHS (0.14 sec)

  1. guava-tests/benchmark/com/google/common/base/AsciiBenchmark.java

        String lhs = testString;
        String rhs = testString.toUpperCase();
    
        boolean dummy = false;
        for (int i = 0; i < reps; i++) {
          dummy ^= Ascii.equalsIgnoreCase(lhs, rhs);
        }
        return dummy;
      }
    
      @Benchmark
      boolean equalsIgnoreCaseJDK(int reps) {
        // This benchmark has no concept of "noWorkToDo".
        String lhs = testString;
        String rhs = testString.toUpperCase();
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.8K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/Helpers.java

        public int compare(@Nullable String lhs, @Nullable String rhs) {
          if (lhs == rhs) {
            return 0;
          }
          if (lhs == null) {
            // lhs (null) comes just before justAfterNull.
            // If rhs is b, lhs comes first.
            if (rhs.equals(justAfterNull)) {
              return -1;
            }
            return justAfterNull.compareTo(rhs);
          }
          if (rhs == null) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_helper.cc

    #include <utility>
    
    TempFile::TempFile(const std::string& temp_file_name, std::ios::openmode mode)
        : std::fstream(temp_file_name, mode), name_(temp_file_name) {}
    
    TempFile::TempFile(TempFile&& rhs)
        : std::fstream(std::move(rhs)), name_(std::move(rhs.name_)) {}
    
    TempFile::~TempFile() {
      std::fstream::close();
      std::remove(name_.c_str());
    }
    
    const std::string TempFile::getName() const { return name_; }
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Jun 26 14:56:58 GMT 2020
    - 1.3K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/base/AsciiBenchmark.java

        String lhs = testString;
        String rhs = testString.toUpperCase();
    
        boolean dummy = false;
        for (int i = 0; i < reps; i++) {
          dummy ^= Ascii.equalsIgnoreCase(lhs, rhs);
        }
        return dummy;
      }
    
      @Benchmark
      boolean equalsIgnoreCaseJDK(int reps) {
        // This benchmark has no concept of "noWorkToDo".
        String lhs = testString;
        String rhs = testString.toUpperCase();
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.8K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

        public int compare(@Nullable String lhs, @Nullable String rhs) {
          if (lhs == rhs) {
            return 0;
          }
          if (lhs == null) {
            // lhs (null) comes just before justAfterNull.
            // If rhs is b, lhs comes first.
            if (rhs.equals(justAfterNull)) {
              return -1;
            }
            return justAfterNull.compareTo(rhs);
          }
          if (rhs == null) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  6. internal/s3select/sql/evaluate.go

    	default:
    		return nil, errInvalidASTNode
    	}
    	rhs = *eltVal
    
    	// If RHS is array compare each element.
    	if arr, ok := rhs.ToArray(); ok {
    		for _, element := range arr {
    			// If we have an array we are on the wrong level.
    			if cmp(element, *lhs) {
    				return FromBool(true), nil
    			}
    		}
    		return FromBool(false), nil
    	}
    
    	return FromBool(cmp(rhs, *lhs)), nil
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 12K bytes
    - Viewed (0)
  7. internal/s3select/sql/parser.go

    	EscapeChar *Operand `parser:" (\"ESCAPE\" @@)? "`
    }
    
    // Between represents the RHS of a BETWEEN expression
    type Between struct {
    	Not   bool     `parser:" @\"NOT\"? "`
    	Start *Operand `parser:" \"BETWEEN\" @@ "`
    	End   *Operand `parser:" \"AND\" @@ "`
    }
    
    // In represents the RHS of an IN expression. The RHS can be a list-literal
    // (i.e. enclosed in parentheses like `IN (1,2,4)`) or it could be a JSON path
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_helper.h

    #include <string>
    
    class TempFile : public std::fstream {
     public:
      // We should specify openmode each time we call TempFile.
      TempFile(const std::string& temp_file_name, std::ios::openmode mode);
      TempFile(TempFile&& rhs);
      ~TempFile() override;
      const std::string getName() const;
      bool truncate();
    
     private:
      const std::string name_;
    };
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Jun 26 14:56:58 GMT 2020
    - 1.2K bytes
    - Viewed (0)
  9. src/cmd/cgo/ast.go

    		f.walk(&n.Value, ctxExpr, visit)
    	case *ast.IncDecStmt:
    		f.walk(&n.X, ctxExpr, visit)
    	case *ast.AssignStmt:
    		f.walk(n.Lhs, ctxExpr, visit)
    		if len(n.Lhs) == 2 && len(n.Rhs) == 1 {
    			f.walk(n.Rhs, ctxAssign2, visit)
    		} else {
    			f.walk(n.Rhs, ctxExpr, visit)
    		}
    	case *ast.GoStmt:
    		f.walk(n.Call, ctxExpr, visit)
    	case *ast.DeferStmt:
    		f.walk(n.Call, ctxDefer, visit)
    	case *ast.ReturnStmt:
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Jun 07 16:54:27 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  10. schema/naming.go

    }
    
    var (
    	// https://github.com/golang/lint/blob/master/lint.go#L770
    	commonInitialisms         = []string{"API", "ASCII", "CPU", "CSS", "DNS", "EOF", "GUID", "HTML", "HTTP", "HTTPS", "ID", "IP", "JSON", "LHS", "QPS", "RAM", "RHS", "RPC", "SLA", "SMTP", "SSH", "TLS", "TTL", "UID", "UI", "UUID", "URI", "URL", "UTF8", "VM", "XML", "XSRF", "XSS"}
    	commonInitialismsReplacer *strings.Replacer
    )
    
    func init() {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Oct 30 09:15:49 GMT 2023
    - 5.2K bytes
    - Viewed (0)
Back to top