Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 6,150 for string (0.07 sec)

  1. guava-tests/test/com/google/common/cache/CacheReferencesTest.java

      }
    
      // A simple type whose .toString() will return the same value each time, but without maintaining
      // a strong reference to that value.
      static class Key {
        private final int value;
        private WeakReference<String> toString;
    
        Key(int value) {
          this.value = value;
        }
    
        @Override
        public synchronized String toString() {
          String s;
          if (toString != null) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. src/archive/tar/strconv.go

    // parseString parses bytes as a NUL-terminated C-style string.
    // If a NUL byte is not found then the whole slice is returned as a string.
    func (*parser) parseString(b []byte) string {
    	if i := bytes.IndexByte(b, 0); i >= 0 {
    		return string(b[:i])
    	}
    	return string(b)
    }
    
    // formatString copies s into b, NUL-terminating if possible.
    func (f *formatter) formatString(b []byte, s string) {
    	if len(s) > len(b) {
    		f.err = ErrFieldTooLong
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Aug 01 14:28:42 UTC 2023
    - 9K bytes
    - Viewed (0)
  3. istioctl/pkg/validate/validate_test.go

    			}
    		})
    	}
    }
    
    func buildMultiDocConfig(docs []string) string {
    	var b strings.Builder
    	for _, r := range docs {
    		if r != "" {
    			b.WriteString(strings.Trim(r, " \t\n"))
    		}
    		b.WriteString("\n---\n")
    	}
    	return b.String()
    }
    
    func createTestFile(t *testing.T, data string) (string, io.Closer) {
    	t.Helper()
    	validFile, err := os.CreateTemp("", "TestValidateCommand")
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 02 16:18:14 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  4. istioctl/pkg/tag/generate.go

    type tagWebhookConfig struct {
    	Tag            string
    	Revision       string
    	URL            string
    	Path           string
    	CABundle       string
    	IstioNamespace string
    	Labels         map[string]string
    	Annotations    map[string]string
    	// FailurePolicy records the failure policy to use for the webhook.
    	FailurePolicy map[string]*admitv1.FailurePolicyType
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Verify.java

       *     are converted to strings using {@link String#valueOf(Object)}.
       * @throws VerifyException if {@code expression} is {@code false}
       * @see Preconditions#checkState Preconditions.checkState()
       */
      public static void verify(
          boolean expression,
          String errorMessageTemplate,
          @CheckForNull @Nullable Object... errorMessageArgs) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon May 17 14:07:47 UTC 2021
    - 18.5K bytes
    - Viewed (0)
  6. cmd/warm-backend-azure.go

    	destObj := object
    	if az.Prefix != "" {
    		destObj = fmt.Sprintf("%s/%s", az.Prefix, object)
    	}
    	return destObj
    }
    
    func (az *warmBackendAzure) PutWithMeta(ctx context.Context, object string, r io.Reader, length int64, meta map[string]string) (remoteVersionID, error) {
    	azMeta := map[string]*string{}
    	for k, v := range meta {
    		azMeta[k] = to.Ptr(v)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Verify.java

       *     are converted to strings using {@link String#valueOf(Object)}.
       * @throws VerifyException if {@code expression} is {@code false}
       * @see Preconditions#checkState Preconditions.checkState()
       */
      public static void verify(
          boolean expression,
          String errorMessageTemplate,
          @CheckForNull @Nullable Object... errorMessageArgs) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon May 17 14:07:47 UTC 2021
    - 18.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/it/admin/GroupTests.java

        private static final String NAME_PREFIX = "groupTest_";
        private static final String API_PATH = "/api/admin/group";
        private static final String LIST_ENDPOINT_SUFFIX = "settings";
        private static final String ITEM_ENDPOINT_SUFFIX = "setting";
    
        private static final String KEY_PROPERTY = "name";
    
        @Override
        protected String getNamePrefix() {
            return NAME_PREFIX;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/converter/AnalyzerConverter.java

            protected final String lang;
    
            protected LangAnayzerConverter(final String lang) {
                this.lang = lang;
            }
    
            @Override
            public void init() throws IOException {
                // nothing
            }
    
            @Override
            public List<String> convert(final String text, final String field, final String... dummy) throws IOException {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/TestStringQueueGenerator.java

        String[] array = new String[elements.length];
        int i = 0;
        for (Object e : elements) {
          array[i++] = (String) e;
        }
        return create(array);
      }
    
      protected abstract Queue<String> create(String[] elements);
    
      @Override
      public String[] createArray(int length) {
        return new String[length];
      }
    
      /** Returns the original element list, unchanged. */
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top