Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 29 for S1 (0.21 sec)

  1. src/go/printer/testdata/parser.go

    	}
    
    	pos := p.expect(token.SWITCH)
    	p.openScope()
    	defer p.closeScope()
    
    	var s1, s2 ast.Stmt
    	if p.tok != token.LBRACE {
    		prevLev := p.exprLev
    		p.exprLev = -1
    		if p.tok != token.SEMICOLON {
    			s2 = p.parseSimpleStmt(false)
    		}
    		if p.tok == token.SEMICOLON {
    			p.next()
    			s1 = s2
    			s2 = nil
    			if p.tok != token.LBRACE {
    				s2 = p.parseSimpleStmt(false)
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 20:19:51 UTC 2023
    - 50.5K bytes
    - Viewed (0)
  2. src/time/format.go

    	"June",
    	"July",
    	"August",
    	"September",
    	"October",
    	"November",
    	"December",
    }
    
    // match reports whether s1 and s2 match ignoring case.
    // It is assumed s1 and s2 are the same length.
    func match(s1, s2 string) bool {
    	for i := 0; i < len(s1); i++ {
    		c1 := s1[i]
    		c2 := s2[i]
    		if c1 != c2 {
    			// Switch to lower-case; 'a'-'A' is known to be a single bit.
    			c1 |= 'a' - 'A'
    			c2 |= 'a' - 'A'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:28 UTC 2024
    - 49.3K bytes
    - Viewed (0)
  3. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-port.h

    #if GTEST_OS_WINDOWS
    
    typedef struct _stat StatStruct;
    
    # ifdef __BORLANDC__
    inline int IsATTY(int fd) { return isatty(fd); }
    inline int StrCaseCmp(const char* s1, const char* s2) {
      return stricmp(s1, s2);
    }
    inline char* StrDup(const char* src) { return strdup(src); }
    # else  // !__BORLANDC__
    #  if GTEST_OS_WINDOWS_MOBILE
    inline int IsATTY(int /* fd */) { return 0; }
    #  else
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 67.2K bytes
    - Viewed (0)
  4. src/go/parser/parser.go

    		defer un(trace(p, "SwitchStmt"))
    	}
    
    	pos := p.expect(token.SWITCH)
    
    	var s1, s2 ast.Stmt
    	if p.tok != token.LBRACE {
    		prevLev := p.exprLev
    		p.exprLev = -1
    		if p.tok != token.SEMICOLON {
    			s2, _ = p.parseSimpleStmt(basic)
    		}
    		if p.tok == token.SEMICOLON {
    			p.next()
    			s1 = s2
    			s2 = nil
    			if p.tok != token.LBRACE {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 20:07:50 UTC 2023
    - 72.2K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-port.h

    #if GTEST_OS_WINDOWS
    
    typedef struct _stat StatStruct;
    
    # ifdef __BORLANDC__
    inline int IsATTY(int fd) { return isatty(fd); }
    inline int StrCaseCmp(const char* s1, const char* s2) {
      return stricmp(s1, s2);
    }
    inline char* StrDup(const char* src) { return strdup(src); }
    # else  // !__BORLANDC__
    #  if GTEST_OS_WINDOWS_MOBILE
    inline int IsATTY(int /* fd */) { return 0; }
    #  else
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 67.2K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java

                    location = tracker.getLocation(EMPTY);
                }
            }
    
            return location;
        }
    
        private static boolean equals(String s1, String s2) {
            String c1 = s1 == null ? "" : s1.trim();
            String c2 = s2 == null ? "" : s2.trim();
            return c1.equals(c2);
        }
    
        private static Severity getSeverity(ModelBuilderRequest request, int errorThreshold) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Jun 10 11:04:53 UTC 2024
    - 73.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td

      // the sizes are the same both before and after the reshape.
      def MoveBinaryOpBeforeReshape#BinaryOp : Pat<
        (BinaryOp (TFL_ReshapeOp:$lhs $input1, (Arith_ConstantOp:$shape1 $s1)),
                  (TFL_ReshapeOp:$rhs $input2, (Arith_ConstantOp:$shape2 $s2)),
                  $act_fn),
        (TFL_ReshapeOp (BinaryOp $input1, $input2, $act_fn), $shape1),
        [(IsTailOfShape $rhs, $lhs),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 20:31:41 UTC 2024
    - 66.4K bytes
    - Viewed (0)
  8. maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

                }
            }
    
            return location != null ? new org.apache.maven.model.InputLocation(location) : null;
        }
    
        private static boolean equals(String s1, String s2) {
            String c1 = s1 == null ? "" : s1.trim();
            String c2 = s2 == null ? "" : s2.trim();
            return c1.equals(c2);
        }
    
        private static Severity getSeverity(ModelBuildingRequest request, int errorThreshold) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sat May 18 14:09:22 UTC 2024
    - 76K bytes
    - Viewed (0)
  9. tensorflow/c/c_api_function_test.cc

    }
    
    void AssertEqual(TF_Function* f1, TF_Function* f2) {
      string s1, s2;
      tensorflow::FunctionDef fdef1, fdef2;
      ASSERT_TRUE(GetFunctionDef(f1, &fdef1));
      ASSERT_TRUE(GetFunctionDef(f2, &fdef2));
      SerializeToStringDeterministic(fdef1, &s1);
      SerializeToStringDeterministic(fdef2, &s2);
      ASSERT_EQ(s1, s2);
    }
    
    string GetName(TF_Function* func) {
      tensorflow::FunctionDef fdef;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/api_test.go

    		{`package g3; type N[A any] int; func (N[_]) m() {}`, `N`, `type g3.N[A any] int`},
    
    		// Uses of fields are instantiated.
    		{`package s1; type N[A any] struct{ a A }; var f = N[int]{}.a`, `a`, `field a int`},
    		{`package s1; type N[A any] struct{ a A }; func (r N[B]) m(b B) { r.a = b }`, `a`, `field a B`},
    
    		// Uses of methods are uses of the instantiated method.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
Back to top