Search Options

Results per page
Sort
Preferred Languages
Advance

Results 4091 - 4100 of 6,150 for string (0.28 sec)

  1. okhttp-coroutines/src/test/kotlin/okhttp3/coroutines/ExecuteAsyncTest.kt

        runTest {
          server.enqueue(MockResponse(body = "abc"))
    
          val call = client.newCall(request)
    
          call.executeAsync().use {
            withContext(Dispatchers.IO) {
              assertThat(it.body.string()).isEqualTo("abc")
            }
          }
        }
      }
    
      @Test
      fun timeoutCall() {
        runTest {
          server.enqueue(
            MockResponse.Builder()
              .bodyDelay(5, TimeUnit.SECONDS)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 18 01:24:38 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/io/ResourceTraversalUtil.java

                    traverseFileSystem(rootDir, file, handler);
                } else {
                    final int pos = FileUtil.getCanonicalPath(rootDir).length();
                    final String filePath = FileUtil.getCanonicalPath(file);
                    final String resourcePath = filePath.substring(pos + 1).replace('\\', '/');
                    final InputStream is = InputStreamUtil.create(file);
                    try {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  3. lib/wasm/wasm_exec.js

    							this._ids.delete(v);
    							this._idPool.push(id);
    						}
    					},
    
    					// func stringVal(value string) ref
    					"syscall/js.stringVal": (sp) => {
    						sp >>>= 0;
    						storeValue(sp + 24, loadString(sp + 8));
    					},
    
    					// func valueGet(v ref, p string) ref
    					"syscall/js.valueGet": (sp) => {
    						sp >>>= 0;
    						const result = Reflect.get(loadValue(sp + 8), loadString(sp + 16));
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Aug 30 19:15:21 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  4. misc/cgo/gmp/gmp.go

    func (z *Int) SetString(s string, base int) error {
    	z.doinit()
    	if base < 2 || base > 36 {
    		return os.ErrInvalid
    	}
    	p := C.CString(s)
    	defer C.free(unsafe.Pointer(p))
    	if C.mpz_set_str(&z.i[0], p, C.int(base)) < 0 {
    		return os.ErrInvalid
    	}
    	return nil
    }
    
    // String returns the decimal representation of z.
    func (z *Int) String() string {
    	if z == nil {
    		return "nil"
    	}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 9.5K bytes
    - Viewed (0)
  5. finisher_api.go

    	} else if !strings.HasPrefix(strings.TrimSpace(strings.ToLower(tx.Statement.Selects[0])), "count(") {
    		expr := clause.Expr{SQL: "count(*)"}
    
    		if len(tx.Statement.Selects) == 1 {
    			dbName := tx.Statement.Selects[0]
    			fields := strings.FieldsFunc(dbName, utils.IsValidDBNameChar)
    			if len(fields) == 1 || (len(fields) == 3 && (strings.ToUpper(fields[1]) == "AS" || fields[1] == ".")) {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Sep 14 12:58:29 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/exception/ScheduledJobException.java

         * @param cause Root cause for this exception.
         */
        public ScheduledJobException(final String message, final Throwable cause) {
            super(message, cause);
        }
    
        /**
         * @param message Exception message.
         */
        public ScheduledJobException(final String message) {
            super(message);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/service/RelatedContentService.java

            return relatedContentList;
        }
    
        public OptionalEntity<RelatedContent> getRelatedContent(final String id) {
            return relatedContentBhv.selectByPK(id);
        }
    
        public void store(final RelatedContent relatedContent) {
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/collect/MapsMemoryBenchmark.java

    import com.google.common.collect.CollectionBenchmarkSampleData.Element;
    import java.util.Map;
    
    /** Benchmarks for memory consumption of map implementations. */
    public class MapsMemoryBenchmark {
      static final Map<String, MapsImplEnum> mapEnums =
          uniqueIndex(
              Iterables.<MapsImplEnum>concat(
                  asList(MapImpl.values()), asList(SortedMapImpl.values()), asList(BiMapImpl.values())),
              toStringFunction());
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/fscc/FileStandardInfo.java

            dst[ dstIndex++ ] = (byte) ( this.directory ? 1 : 0 );
            return dstIndex - start;
        }
    
    
        @Override
        public String toString () {
            return new String(
                "SmbQueryInfoStandard[" + "allocationSize=" + this.allocationSize + ",endOfFile=" + this.endOfFile + ",numberOfLinks="
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/com/SmbComQueryInformationResponse.java

    
        @Override
        protected int readBytesWireFormat ( byte[] buffer, int bufferIndex ) {
            return 0;
        }
    
    
        @Override
        public String toString () {
            return new String(
                "SmbComQueryInformationResponse[" + super.toString() + ",fileAttributes=0x" + Hexdump.toHexString(this.fileAttributes, 4)
                        + ",lastWriteTime=" + new Date(this.lastWriteTime) + ",fileSize=" + this.fileSize + "]");
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.4K bytes
    - Viewed (0)
Back to top