Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1041 - 1050 of 1,385 for putA (0.04 sec)

  1. guava-testlib/src/com/google/common/collect/testing/testers/MapPutAllTester.java

      }
    
      private void putAll(Iterable<Entry<K, V>> entries) {
        Map<K, V> map = new LinkedHashMap<>();
        for (Entry<K, V> entry : entries) {
          map.put(entry.getKey(), entry.getValue());
        }
        getMap().putAll(map);
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testPutAll_nullKeyUnsupported()} so that tests
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java

                referent = 1;
            }
    
            if ((e = (Entry)referents.get(obj)) == null) {
                e = new Entry();
                e.referent = referent++;
                e.obj = obj;
                referents.put(obj, e);
            }
    
            return e.referent;
        }
        public void enc_ndr_referent(Object obj, int type) {
            if (obj == null) {
                enc_ndr_long(0);
                return;
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 6.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/NamingTest.java

                if ( idx < 0 || excludes[ idx ] == i ) {
                    continue;
                }
    
                if ( i == 240 ) {
                    continue;
                }
                buf.put((byte) i);
            }
            buf.flip();
            String str = cs.decode(buf).toString();
            return str;
        }
    
    
        private static String[] splitString ( String str, int maxLen ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jun 06 10:48:05 UTC 2020
    - 7K bytes
    - Viewed (0)
  4. cmd/warm-backend-s3.go

    		SendContentMd5: true,
    		StorageClass:   s3.StorageClass,
    		UserMetadata:   meta,
    	})
    	return remoteVersionID(res.VersionID), s3.ToObjectError(err, object)
    }
    
    func (s3 *warmBackendS3) Put(ctx context.Context, object string, r io.Reader, length int64) (remoteVersionID, error) {
    	return s3.PutWithMeta(ctx, object, r, length, map[string]string{})
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  5. cmd/update.go

    	}
    	defer xhttp.DrainBody(reader)
    
    	b := bytebufferpool.Get()
    	bc := bytebufferpool.Get()
    	defer func() {
    		b.Reset()
    		bc.Reset()
    
    		bytebufferpool.Put(b)
    		bytebufferpool.Put(bc)
    	}()
    
    	w, err := zstd.NewWriter(bc)
    	if err != nil {
    		return nil, nil, err
    	}
    
    	if _, err = io.Copy(w, io.TeeReader(reader, b)); err != nil {
    		return nil, nil, err
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

                if (collision == null) {
                    index.put(projectId, project);
                } else {
                    List<File> pomFiles = collisions.get(projectId);
    
                    if (pomFiles == null) {
                        pomFiles = new ArrayList<>(Arrays.asList(collision.getFile(), project.getFile()));
                        collisions.put(projectId, pomFiles);
                    } else {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 27.5K bytes
    - Viewed (1)
  7. docs/zh/docs/tutorial/cors.md

    你可以在 **FastAPI** 应用中使用 `CORSMiddleware` 来配置它。
    
    * 导入 `CORSMiddleware`。
    * 创建一个允许的源列表(由字符串组成)。
    * 将其作为「中间件」添加到你的 **FastAPI** 应用中。
    
    你也可以指定后端是否允许:
    
    * 凭证(授权 headers,Cookies 等)。
    * 特定的 HTTP 方法(`POST`,`PUT`)或者使用通配符 `"*"` 允许所有方法。
    * 特定的 HTTP headers 或者使用通配符 `"*"` 允许所有 headers。
    
    ```Python hl_lines="2  6-11  13-19"
    {!../../docs_src/cors/tutorial001.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBrokenInternalLinks.java

                    line = br.readLine();
                }
            } catch (IOException e) {
                throw new UncheckedIOException(e);
            }
    
            if (!errorsForFile.isEmpty()) {
                errors.put(sourceFile, errorsForFile);
            }
        }
    
        private void gatherMarkdownLinksInLine(File sourceFile, String line, int lineNumber, List<Error> errorsForFile) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Aug 21 08:08:05 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                                builder.setScript(script);
                                final Map<String, Object> upsertMap = new HashMap<>();
                                upsertMap.put(fessConfig.getIndexFieldFavoriteCount(), 1);
                                builder.setUpsert(upsertMap);
                                builder.setRefreshPolicy(Constants.TRUE);
                            });
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

            allowedPriorLocks.put(acquiredLock, new ExampleStackTrace(acquiredLock, this));
          } else {
            // Unsafe acquisition order detected. Create and cache a
            // PotentialDeadlockException.
            PotentialDeadlockException exception =
                new PotentialDeadlockException(acquiredLock, this, path);
            disallowedPriorLocks.put(acquiredLock, exception);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 35.9K bytes
    - Viewed (0)
Back to top