Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for regnexec (0.29 sec)

  1. src/regexp/testdata/testregex.c

    						}
    					}
    				}
    				goto compile;
    			}
    
    #if _REG_nexec
    		execute:
    			if (nexec >= 0)
    				fun = "regnexec";
    			else
    #endif
    				fun = "regexec";
    			
    			for (i = 0; i < elementsof(match); i++)
    				match[i] = state.NOMATCH;
    
    #if _REG_nexec
    			if (nexec >= 0)
    			{
    				eret = regnexec(&preg, s, nexec, nmatch, match, eflags);
    				s[nexec] = 0;
    			}
    			else
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 51.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/server/filters/cors_test.go

    	uncompiledRegexes := []string{"endsWithMe$", "^startingWithMe"}
    	regexes, err := compileRegexps(uncompiledRegexes)
    
    	if err != nil {
    		t.Errorf("Failed to compile legal regexes: '%v': %v", uncompiledRegexes, err)
    	}
    	if len(regexes) != len(uncompiledRegexes) {
    		t.Errorf("Wrong number of regexes returned: '%v': %v", uncompiledRegexes, regexes)
    	}
    
    	if !regexes[0].MatchString("Something that endsWithMe") {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 20 19:15:51 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGLoggingOutputCaptureIntegrationTest.groovy

            def classReport = htmlReport.testClass("FooTest")
            assertTestClassExecutionResultReport(classReport)
        }
    
        boolean containsLinesThatMatch(String text, String... regexes) {
            return regexes.every { regex ->
                text.readLines().find { it.matches regex }
            }
        }
    
        private String expectedOutput(String testSuiteName) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 18:51:39 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  4. hack/verify-description.sh

        \)
    }
    
    if [[ $# -eq 0 ]]; then
      versioned_api_files=$(find_files) || true
    else
      versioned_api_files="${*}"
    fi
    
    # find_files had incorrect regexes which led to genswaggertypedocs never being invoked.
    # This led to many types.go have missing descriptions.
    # These types.go files are listed in hack/.descriptions_failures
    # Check that the file is in alphabetical order
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:32 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/podcgroupns.go

    		return fdable.Fd(), nil
    	}
    
    	return 0, fmt.Errorf("unable to get fd")
    }
    
    /// mostly copy pasted from spire below:
    
    // regexes listed here have to exclusively match a cgroup path
    // the regexes must include two named groups "poduid" and "containerid"
    // if the regex needs to exclude certain substrings, the "mustnotmatch" group can be used
    // nolint: lll
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 21:47:31 UTC 2024
    - 11K bytes
    - Viewed (0)
  6. hack/lib/version.sh

          #   v1.1.0-alpha.0.6+84c76d1142ea4d
          #
          # TODO: We continue calling this "git version" because so many
          # downstream consumers are expecting it there.
          #
          # These regexes are painful enough in sed...
          # We don't want to do them in pure shell, so disable SC2001
          # shellcheck disable=SC2001
          DASHES_IN_VERSION=$(echo "${KUBE_GIT_VERSION}" | sed "s/[^-]//g")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 08:22:09 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  7. src/regexp/exec_test.go

    		//     v	REG_CLASS_ESCAPE	\ special inside [...]
    		//     w	REG_NOSUB		no subexpression match array
    		//     x	REG_LENIENT		let some errors slide
    		//     y	REG_LEFT		regexec() implicit ^...
    		//     z	REG_NULL		NULL subexpressions ok
    		//     $	                        expand C \c escapes in fields 2 and 3
    		//     /	                        field 2 is a regsubcomp() expression
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:36:03 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  8. pkg/apis/certificates/validation/validation_test.go

    		// testcase name
    		name string
    
    		// csr being validated
    		csr *capi.CertificateSigningRequest
    
    		// options that allow the csr to pass validation
    		lenientOpts certificateValidationOptions
    
    		// regexes matching expected errors when validating strictly
    		strictRegexes []regexp.Regexp
    
    		// expected errors (after filtering out errors matched by strictRegexes) when validating strictly
    		strictErrs []string
    	}{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:49 UTC 2023
    - 61K bytes
    - Viewed (0)
  9. src/net/http/serve_test.go

    				t.Fatalf("Server logs count mismatch\ngot %d, want %d\n\nGot\n%s\n", g, w, blob)
    			}
    
    			lastSpuriousLine := <-lastLine
    			firstSpuriousLine := lastSpuriousLine - 3
    			// Now ensure that the regexes match exactly.
    			//      "http: superfluous response.WriteHeader call from <fn>.func\d.\d (<curFile>:lastSpuriousLine-[1, 3]"
    			for i, logEntry := range logEntries {
    				wantLine := firstSpuriousLine + i
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
Back to top