Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 1,385 for putA (0.04 sec)

  1. tests/test_tutorial/test_additional_status_codes/test_tutorial001_py310.py

        return client
    
    
    @needs_py310
    def test_update(client: TestClient):
        response = client.put("/items/foo", json={"name": "Wrestlers"})
        assert response.status_code == 200, response.text
        assert response.json() == {"name": "Wrestlers", "size": None}
    
    
    @needs_py310
    def test_create(client: TestClient):
        response = client.put("/items/red", json={"name": "Chillies"})
        assert response.status_code == 201, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 738 bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java

                FtpAuthentication auth = new FtpAuthentication();
                auth.setUsername(username);
                auth.setPassword(password);
                params.put(FtpClient.FTP_AUTHENTICATIONS_PROPERTY, new FtpAuthentication[] { auth });
                ftpClient.setInitParameterMap(params);
    
                ftpClient.doGet("ftp://localhost:" + FTP_PORT + "/");
                fail();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/script/ScriptEngineFactory.java

            }
            if (logger.isDebugEnabled()) {
                logger.debug("Loaded {}", name);
            }
            scriptEngineMap.put(name.toLowerCase(Locale.ROOT), scriptEngine);
            scriptEngineMap.put(scriptEngine.getClass().getSimpleName().toLowerCase(Locale.ROOT), scriptEngine);
        }
    
        public ScriptEngine getScriptEngine(final String name) {
            if (name == null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. compat/maven-model/src/test/java/org/apache/maven/model/v4/ModelXmlTest.java

        void testXmlRoundtripWithProperties() throws Exception {
            Map<String, String> props = new LinkedHashMap<>();
            props.put("javax.version", "3.1.0");
            props.put("mockito.version", "1.10.19");
            props.put("hamcret.version", "2.1");
            props.put("lombok.version", "1.18.6");
            props.put("junit.version", "4.12");
            Model model = Model.newBuilder(true).properties(props).build();
            String xml = toXml(model);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/TreeRangeMap.java

          }
          return Range.create(lowerBound, upperBound);
        }
    
        @Override
        public void put(Range<K> range, V value) {
          checkArgument(
              subRange.encloses(range), "Cannot put range %s into a subRangeMap(%s)", range, subRange);
          TreeRangeMap.this.put(range, value);
        }
    
        @Override
        public void putCoalescing(Range<K> range, V value) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ForwardingSortedMapImplementsMapTest.java

      }
    
      @Override
      protected SortedMap<String, Integer> makePopulatedMap() {
        final SortedMap<String, Integer> sortedMap = makeEmptyMap();
        sortedMap.put("one", 1);
        sortedMap.put("two", 2);
        sortedMap.put("three", 3);
        return sortedMap;
      }
    
      @Override
      protected String getKeyNotInPopulatedMap() throws UnsupportedOperationException {
        return "minus one";
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Mar 07 18:34:03 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/it/admin/UserTests.java

            requestBody.put(KEY_PROPERTY, keyProp);
            requestBody.put("password", "password" + id);
            requestBody.put("confirm_password", "password" + id);
            return requestBody;
        }
    
        @Override
        protected Map<String, Object> getUpdateMap() {
            final Map<String, Object> updateMap = new HashMap<>();
            updateMap.put("name", NAME_PREFIX + "new");
            return updateMap;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/CacheManualTest.java

        assertEquals(0, stats.hitCount());
    
        cache.put(2, 22);
    
        assertEquals(ImmutableMap.of(2, 22), cache.getAllPresent(asList(1, 2, 3)));
        stats = cache.stats();
        assertEquals(5, stats.missCount());
        assertEquals(0, stats.loadSuccessCount());
        assertEquals(0, stats.loadExceptionCount());
        assertEquals(1, stats.hitCount());
    
        cache.put(3, 33);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 5.4K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactory.java

                if (pos == current) {
                    newClientMap.put(Pattern.compile(regex), client);
                    added = true;
                }
                newClientMap.put(entry.getKey(), entry.getValue());
                current++;
            }
            if (!added) {
                newClientMap.put(Pattern.compile(regex), client);
            }
            clientMap = newClientMap;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/DfsImpl.java

                    }
                    ce.map.put(DC_ENTRY, NEGATIVE_ENTRY);
                    if ( tf.getConfig().isDfsStrictView() && ioe instanceof SmbAuthException ) {
                        throw (SmbAuthException) ioe;
                    }
                }
                ce.map.put(DC_ENTRY, NEGATIVE_ENTRY);
                this.dcCache.put(dom, ce);
                return null;
            }
    
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:07:29 UTC 2023
    - 29.1K bytes
    - Viewed (0)
Back to top