Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for SEP (0.02 sec)

  1. src/strings/strings.go

    //
    // Edge cases for s and sep (for example, empty strings) are handled
    // as described in the documentation for SplitAfter.
    func SplitAfterN(s, sep string, n int) []string {
    	return genSplit(s, sep, len(sep), n)
    }
    
    // Split slices s into all substrings separated by sep and returns a slice of
    // the substrings between those separators.
    //
    // If s does not contain sep and sep is not empty, Split returns a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:48:16 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  2. src/strings/strings_test.go

    				begin := rand.Intn(len(s) + 1)
    				end := begin + rand.Intn(len(s)+1-begin)
    				sep := s[begin:end]
    				if i%4 == 0 {
    					pos := rand.Intn(len(sep) + 1)
    					sep = sep[:pos] + "A" + sep[pos:]
    				}
    				want := simpleIndex(s, sep)
    				res := Index(s, sep)
    				if res != want {
    					t.Errorf("Index(%s,%s) = %d; want %d", s, sep, res, want)
    				}
    			}
    		}
    	}
    }
    
    func TestIndexRune(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 53K bytes
    - Viewed (0)
  3. pkg/proxy/iptables/proxier_test.go

    		:KUBE-MARK-MASQ - [0:0]
    		:KUBE-NODEPORTS - [0:0]
    		:KUBE-POSTROUTING - [0:0]
    		:KUBE-SEP-C6EBXVWJJZMIWKLZ - [0:0]
    		:KUBE-SEP-I77PXRDZVX7PMWMN - [0:0]
    		:KUBE-SEP-OYPFS5VJICHGATKP - [0:0]
    		:KUBE-SEP-RS4RBKLTHTF2IUXJ - [0:0]
    		:KUBE-SEP-SXIVWICOYRO3J4NJ - [0:0]
    		:KUBE-SEP-UKSFD7AGPMPPLUHC - [0:0]
    		:KUBE-SERVICES - [0:0]
    		:KUBE-SVC-4SW47YFZTEDKD3PK - [0:0]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 249.9K bytes
    - Viewed (1)
  4. src/bytes/bytes_test.go

    func benchmarkIndexHard(b *testing.B, sep []byte) {
    	for i := 0; i < b.N; i++ {
    		Index(benchInputHard, sep)
    	}
    }
    
    func benchmarkLastIndexHard(b *testing.B, sep []byte) {
    	for i := 0; i < b.N; i++ {
    		LastIndex(benchInputHard, sep)
    	}
    }
    
    func benchmarkCountHard(b *testing.B, sep []byte) {
    	for i := 0; i < b.N; i++ {
    		Count(benchInputHard, sep)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/util.go

    	io.WriteString(w, p.As.String())
    	io.WriteString(w, sc)
    	sep := "\t"
    
    	if p.From.Type != TYPE_NONE {
    		io.WriteString(w, sep)
    		WriteDconv(w, p, &p.From)
    		sep = ", "
    	}
    	if p.Reg != REG_NONE {
    		// Should not happen but might as well show it if it does.
    		fmt.Fprintf(w, "%s%v", sep, Rconv(int(p.Reg)))
    		sep = ", "
    	}
    	for i := range p.RestArgs {
    		if p.RestArgs[i].Pos == Source {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  6. src/internal/stringslite/strings.go

    			j := bytealg.IndexRabinKarp(s[i:], substr)
    			if j < 0 {
    				return -1
    			}
    			return i + j
    		}
    	}
    	return -1
    }
    
    func Cut(s, sep string) (before, after string, found bool) {
    	if i := Index(s, sep); i >= 0 {
    		return s[:i], s[i+len(sep):], true
    	}
    	return s, "", false
    }
    
    func CutPrefix(s, prefix string) (after string, found bool) {
    	if !HasPrefix(s, prefix) {
    		return s, false
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 01:23:42 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/convert/DateConversionUtilTest.java

        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToDate_SpecificLocale() throws Exception {
            final Date date = toDate("SEP 7, 2010", Locale.US);
            assertThat(new SimpleDateFormat("yyyy/MM/dd").format(date), is("2010/09/07"));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/convert/TimestampConversionUtilTest.java

        //    }
    
        /**
         * @throws Exception
         */
        //    @Test
        //    public void testToDate_SpecificLocale() throws Exception {
        //        final Date date = toDate("SEP 7, 2010 11:49:10 AM", Locale.US);
        //        assertThat(new SimpleDateFormat("yyyy/MM/dd HH:mm:ss").format(date), is("2010/09/07 11:49:10"));
        //    }
    
        /**
         * @throws Exception
         */
        @Test
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  9. .idea/inspectionProfiles/Gradle.xml

            <constraint name="__context__" within="" contains="" />
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 09:21:43 UTC 2024
    - 13K bytes
    - Viewed (0)
  10. tensorflow/cc/framework/scope.cc

    string Scope::Impl::GetNameForOp(const string& default_name) const {
      const string unique_name =
          GetUniqueName(default_name, true /* check_single_use */);
      const string sep =
          name_.empty() || unique_name.empty() ? "" : kScopeSeparator;
      return strings::StrCat(name_, sep, unique_name);
    }
    
    string Scope::GetUniqueNameForOp(const string& default_name) const {
      if (impl()->single_use_scope()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 20.9K bytes
    - Viewed (0)
Back to top