Search Options

Results per page
Sort
Preferred Languages
Advance

Results 691 - 700 of 1,349 for Pread (0.05 sec)

  1. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/GenerateIdnaMappingTableCode.kt

      file.writeTo(File(args[0]))
    }
    
    fun loadIdnaMappingTableData(): IdnaMappingTableData {
      val path = "/okhttp3/internal/idna/IdnaMappingTable.txt".toPath()
      val table =
        FileSystem.RESOURCES.read(path) {
          readPlainTextIdnaMappingTable()
        }
      return buildIdnaMappingTableData(table)
    }
    
    /**
     * Generate a file containing the mapping table's string literals, like this:
     *
     * ```
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/reflect/ClassPath.java

       *       ClassPath} searches the files from the {@code java.class.path} system property.
       * </ul>
       *
       * @throws IOException if the attempt to read class path resources (jar files or directories)
       *     failed.
       */
      public static ClassPath from(ClassLoader classloader) throws IOException {
        ImmutableSet<LocationInfo> locations = locationsFrom(classloader);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jan 05 17:43:40 UTC 2022
    - 24.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

      private void doTestExistsThrowsSecurityException() throws IOException, URISyntaxException {
        File file = null;
        // In Java 9, Logger may read the TZ database. Only disallow reading the class path URLs.
        final PermissionCollection readClassPathFiles =
            new FilePermission("", "read").newPermissionCollection();
        for (URL url : ClassPath.parseJavaClassPath()) {
          if (url.getProtocol().equalsIgnoreCase("file")) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 25K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt

      private var enqueuedClose = false
    
      /** The close code from the peer, or -1 if this web socket has not yet read a close frame. */
      private var receivedCloseCode = -1
    
      /** The close reason from the peer, or null if this web socket has not yet read a close frame. */
      private var receivedCloseReason: String? = null
    
      /** True if this web socket failed and the listener has been notified. */
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/RegularImmutableMap.java

            checkEntryNotNull(key, value);
            for (int h = Hashing.smear(key.hashCode()); ; h++) {
              h &= mask;
              int previousKeyIndex = hashTable[h] & BYTE_MASK; // unsigned read
              if (previousKeyIndex == BYTE_MASK) { // -1 signed becomes 255 unsigned
                hashTable[h] = (byte) outKeyIndex;
                break;
              } else if (key.equals(alternatingKeysAndValues[previousKeyIndex])) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 15 22:32:14 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/http/CancelTest.kt

        val response = call.execute()
        cancelLater(call, 500)
        val responseBody = response.body.byteStream()
        val buffer = ByteArray(1024)
        assertFailsWith<IOException> {
          while (responseBody.read(buffer) != -1) {
          }
        }.also { expected ->
          assertEquals(cancelMode == INTERRUPT, Thread.interrupted())
        }
        responseBody.close()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  7. src/archive/tar/tar_test.go

    type testFile struct {
    	ops fileOps
    	pos int64
    }
    
    func (f *testFile) Read(b []byte) (int, error) {
    	if len(b) == 0 {
    		return 0, nil
    	}
    	if len(f.ops) == 0 {
    		return 0, io.EOF
    	}
    	s, ok := f.ops[0].(string)
    	if !ok {
    		return 0, errors.New("unexpected Read operation")
    	}
    
    	n := copy(b, s)
    	if len(s) > n {
    		f.ops[0] = s[n:]
    	} else {
    		f.ops = f.ops[1:]
    	}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  8. cmd/postpolicyform.go

    					return parsedPolicy, fmt.Errorf("Unknown type %s of conditional field value %s found in POST policy form", reflect.TypeOf(condt).String(), condt)
    				}
    				// {"acl": "public-read" } is an alternate way to indicate - [ "eq", "$acl", "public-read" ]
    				// In this case we will just collapse this into "eq" for all use cases.
    				parsedPolicy.Conditions.Policies = append(parsedPolicy.Conditions.Policies, struct {
    					Operator string
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  9. docs/en/docs/deployment/manually.md

    The word "**server**" is commonly used to refer to both the remote/cloud computer (the physical or virtual machine) and also the program that is running on that machine (e.g. Uvicorn).
    
    Just keep in mind that when you read "server" in general, it could refer to one of those two things.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Aug 25 02:44:06 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_dependencies/test_tutorial004_an_py310.py

                                        }
                                    }
                                },
                            },
                        },
                        "summary": "Read Items",
                        "operationId": "read_items_items__get",
                        "parameters": [
                            {
                                "required": False,
                                "schema": IsDict(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 5.6K bytes
    - Viewed (0)
Back to top