Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 114 for overwritten (0.11 sec)

  1. docs/en/docs/tutorial/bigger-applications.md

    If we had imported one after the other, like:
    
    ```Python
    from .routers.items import router
    from .routers.users import router
    ```
    
    the `router` from `users` would overwrite the one from `items` and we wouldn't be able to use them at the same time.
    
    So, to be able to use both of them in the same file, we import the submodules directly:
    
    ```Python hl_lines="5" title="app/main.py"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/graph/ValueGraphTest.java

      }
    
      @Test
      public void undirectedGraph() {
        graph = ValueGraphBuilder.undirected().allowsSelfLoops(true).build();
        graph.putEdgeValue(1, 2, "valueA");
        graph.putEdgeValue(2, 1, "valueB"); // overwrites valueA in undirected case
        graph.putEdgeValue(2, 3, "valueC");
        graph.putEdgeValue(4, 4, "valueD");
    
        assertThat(graph.edgeValueOrDefault(1, 2, null)).isEqualTo("valueB");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 17.4K bytes
    - Viewed (0)
  3. internal/ringbuffer/ring_buffer.go

    	defer r.mu.Unlock()
    
    	return !r.isFull && r.w == r.r
    }
    
    // CloseWithError closes the writer; reads will return
    // no bytes and the error err, or EOF if err is nil.
    //
    // CloseWithError never overwrites the previous error if it exists
    // and always returns nil.
    func (r *RingBuffer) CloseWithError(err error) {
    	if err == nil {
    		err = io.EOF
    	}
    	r.setErr(err, false)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

        }
    
        public void test_processFieldConfigs() {
            final FessXpathTransformer transformer = new FessXpathTransformer();
            final Map<String, String> params = Maps.of("foo", "cache", "bar", "overwrite", "baz", "cache|overwrite");
            FieldConfigs fieldConfigs = new FieldConfigs(params);
            final Map<String, Object> dataMap = Map.of(//
                    "foo", new String[] { "aaa", "bbb" }, //
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 41.3K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/server.go

    		// Which will result in the new pod starting to fail healthchecks.
    		//
    		// Since we purge on restart of CNI, and remove pod IPs from the set on every pod removal/deletion,
    		// we _shouldn't_ get any overwrite/overlap, unless something is wrong and we are asked to add
    		// a pod by an IP we already have in the set (which will give an error, which we want).
    		if err := s.hostsideProbeIPSet.AddIP(pip, ipProto, podUID, false); err != nil {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Sep 25 20:54:34 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/graph/ValueGraphTest.java

      }
    
      @Test
      public void undirectedGraph() {
        graph = ValueGraphBuilder.undirected().allowsSelfLoops(true).build();
        graph.putEdgeValue(1, 2, "valueA");
        graph.putEdgeValue(2, 1, "valueB"); // overwrites valueA in undirected case
        graph.putEdgeValue(2, 3, "valueC");
        graph.putEdgeValue(4, 4, "valueD");
    
        assertThat(graph.edgeValueOrDefault(1, 2, null)).isEqualTo("valueB");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 06 18:35:19 UTC 2024
    - 20K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

            // last_modified
            final Date lastModified = getLastModified(dataMap, responseData);
            if (lastModified != null) {
                dataMap.put(fessConfig.getIndexFieldLastModified(), lastModified); // overwrite
                // timestamp
                putResultDataBody(dataMap, fessConfig.getIndexFieldTimestamp(), lastModified);
            } else {
                // timestamp
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/TreeRangeMap.java

              putRangeMapEntry(
                  rangeToRemove.upperBound,
                  rangeMapEntry.getUpperBound(),
                  mapEntryBelowToTruncate.getValue().getValue());
            }
            // overwrite mapEntryToTruncateBelow with a truncated range
            putRangeMapEntry(
                rangeMapEntry.getLowerBound(),
                rangeToRemove.lowerBound,
                mapEntryBelowToTruncate.getValue().getValue());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

     * bytes in length.
     *
     * The cache stores its data in a directory on the filesystem. This directory must be exclusive to
     * the cache; the cache may delete or overwrite files from its directory. It is an error for
     * multiple processes to use the same cache directory at the same time.
     *
     * This cache limits the number of bytes that it will store on the filesystem. When the number of
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/sql-databases.md

    If you check the previous app, in the UI you can see that, up to now, it lets the client decide the `id` of the `Hero` to create. 😱
    
    We shouldn't let that happen, they could overwrite an `id` we already have assigned in the DB. Deciding the `id` should be done by the **backend** or the **database**, **not by the client**.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 14.7K bytes
    - Viewed (0)
Back to top