Search Options

Results per page
Sort
Preferred Languages
Advance

Results 991 - 1000 of 6,150 for string (0.05 sec)

  1. android/guava-tests/test/com/google/common/collect/UnmodifiableListIteratorTest.java

      public void testSet() {
        ListIterator<String> iterator = create();
    
        assertTrue(iterator.hasNext());
        assertEquals("a", iterator.next());
        assertEquals("b", iterator.next());
        assertEquals("b", iterator.previous());
        assertThrows(UnsupportedOperationException.class, () -> iterator.set("c"));
      }
    
      UnmodifiableListIterator<String> create() {
        final String[] array = {"a", "b", "c"};
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. istioctl/pkg/tag/tag.go

    			return fmt.Errorf("error while marshaling to YAML: %v", err)
    		}
    	}
    	fmt.Fprintln(w, string(out))
    	return nil
    }
    
    // buildDeleteTagConfirmation takes a list of webhooks and creates a message prompting confirmation for their deletion.
    func buildDeleteTagConfirmation(tag string, taggedNamespaces []string) string {
    	var sb strings.Builder
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Jul 22 15:40:30 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  3. migrator/column_type.go

    // "INT", and "BIGINT".
    func (ct ColumnType) DatabaseTypeName() string {
    	if ct.DataTypeValue.Valid {
    		return ct.DataTypeValue.String
    	}
    	return ct.SQLColumnType.DatabaseTypeName()
    }
    
    // ColumnType returns the database type of the column. like `varchar(16)`
    func (ct ColumnType) ColumnType() (columnType string, ok bool) {
    	return ct.ColumnTypeValue.String, ct.ColumnTypeValue.Valid
    }
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Mar 24 01:31:58 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  4. logger/sql_test.go

    	return json.Marshal(s)
    }
    
    func format(v []byte, escaper string) string {
    	return escaper + strings.ReplaceAll(string(v), escaper, escaper+escaper) + escaper
    }
    
    func TestExplainSQL(t *testing.T) {
    	type role string
    	type password []byte
    	type intType int
    	type floatType float64
    	var (
    		tt                 = now.MustParse("2020-02-23 11:10:10")
    		myrole             = role("admin")
    		pwd                = password("pass")
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Mar 21 08:00:02 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/SimpleTimeLimiterTest.java

      private static final String GOOD_CALLABLE_RESULT = "good callable result";
      private static final Callable<String> GOOD_CALLABLE =
          new Callable<String>() {
            @Override
            public String call() throws InterruptedException {
              MILLISECONDS.sleep(DELAY_MS);
              return GOOD_CALLABLE_RESULT;
            }
          };
      private static final Callable<String> BAD_CALLABLE =
          new Callable<String>() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  6. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilderTest.groovy

        }
    
        def propertyDoc(Map<String, ?> args = [:], String name) {
            return new PropertyDoc(classMetaData(), property(name, null), [parse("<para>$name comment</para>")], args.additionalValues ?: [])
        }
    
        def method(String name, ClassMetaData classMetaData) {
            return method([:], name, classMetaData)
        }
    
        def method(Map<String, ?> args, String name, ClassMetaData classMetaData) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 8.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/config/cbean/ca/bs/BsElevateWordToLabelCA.java

            }
        }
    
        public void scriptedMetric(String name, ConditionOptionCall<ScriptedMetricAggregationBuilder> opLambda) {
            ScriptedMetricAggregationBuilder builder = regScriptedMetricA(name);
            if (opLambda != null) {
                opLambda.callback(builder);
            }
        }
    
        public void topHits(String name, ConditionOptionCall<TopHitsAggregationBuilder> opLambda) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/conn/IdnDnsResolver.java

    public class IdnDnsResolver implements DnsResolver {
    
        protected int flag = 0;
    
        protected String encoding = "UTF-8";
    
        @Override
        public InetAddress[] resolve(final String host) throws UnknownHostException {
            return InetAddress.getAllByName(toAscii(host));
        }
    
        protected String decode(final String host) {
            if (host.indexOf('%') == -1) {
                return host;
            }
            try {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_security/test_tutorial003_an_py39.py

                                    "type": "string",
                                }
                            ),
                            "username": {"title": "Username", "type": "string"},
                            "password": {"title": "Password", "type": "string"},
                            "scope": {"title": "Scope", "type": "string", "default": ""},
                            "client_id": IsDict(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/TreeBasedTableTest.java

                      @Override
                      protected SortedMap<String, String> create(Entry<String, String>[] entries) {
                        TreeBasedTable<String, String, String> table = TreeBasedTable.create();
                        table.put("a", "b", "c");
                        table.put("c", "b", "a");
                        table.put("a", "a", "d");
                        for (Entry<String, String> entry : entries) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 15K bytes
    - Viewed (0)
Back to top