Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 567 for ResNet (0.08 seconds)

  1. src/bufio/bufio_test.go

    		t.Errorf("buf = %q; want foo", buf)
    	}
    
    	r.Reset(strings.NewReader("bar bar"))
    	checkAll(r, "bar bar")
    
    	*r = Reader{} // zero out the Reader
    	r.Reset(strings.NewReader("bar bar"))
    	checkAll(r, "bar bar")
    
    	// Wrap a reader and then Reset to that reader.
    	r.Reset(strings.NewReader("recur"))
    	r2 := NewReader(r)
    	checkAll(r2, "recur")
    	r.Reset(strings.NewReader("recur2"))
    	r2.Reset(r)
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Feb 07 01:08:54 GMT 2025
    - 51.6K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/cache/LongAdder.java

       * method is intrinsically racy, it should only be used when it is known that no threads are
       * concurrently updating.
       */
      public void reset() {
        internalReset(0L);
      }
    
      /**
       * Equivalent in effect to {@link #sum} followed by {@link #reset}. This method may apply for
       * example during quiescent points between multithreaded computations. If there are updates
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/TemporaryFileInputStreamTest.java

                assertEquals('D', stream.read());
    
                // Reset will throw IOException because mark is not supported
                try {
                    stream.reset();
                    fail("reset() should throw IOException when mark is not supported");
                } catch (IOException e) {
                    // Expected - FileInputStream does not support mark/reset
                }
            }
        }
    
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sat Nov 22 13:28:22 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  4. internal/s3select/simdj/record.go

    		b, err := iter.MarshalJSON()
    		return sql.FromBytes(b), err
    	}
    	return nil, fmt.Errorf("iterToValue: unknown JSON type: %s", iter.Type().String())
    }
    
    // Reset the record.
    func (r *Record) Reset() {
    	r.object = simdjson.Object{}
    }
    
    // Clone the record and if possible use the destination provided.
    func (r *Record) Clone(dst sql.Record) sql.Record {
    	other, ok := dst.(*Record)
    	if !ok {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

          }
        }
        out.close();
    
        // Check that source returns the right data
        assertThat(source.read()).isEqualTo(data);
    
        // Make sure that reset deleted the file
        out.reset();
        if (file != null) {
          assertFalse(file.exists());
        }
      }
    
    
      public void testThreshold_resetOnFinalize() throws Exception {
        testThreshold(0, 100, true, true);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Oct 30 16:30:29 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  6. cmd/metacache-stream.go

    	if w == nil || w.closer == nil {
    		return nil
    	}
    	w.streamWg.Wait()
    	err := w.closer()
    	w.closer = nil
    	return err
    }
    
    // Reset and start writing to new writer.
    // Close must have been called before this.
    func (w *metacacheWriter) Reset(out io.Writer) {
    	w.streamErr = nil
    	w.creator = func() error {
    		s2w := s2.NewWriter(out, s2.WriterBlockSize(w.blockSize), s2.WriterConcurrency(2))
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed May 07 15:37:12 GMT 2025
    - 19.5K bytes
    - Click Count (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/IgnoreCloseInputStream.java

        public synchronized void mark(final int readlimit) {
            inputStream.mark(readlimit);
        }
    
        /**
         * Tests if this input stream supports the mark and reset methods.
         *
         * @return true if this stream instance supports the mark and reset methods; false otherwise
         */
        @Override
        public boolean markSupported() {
            return inputStream.markSupported();
        }
    
        /**
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sat Nov 22 13:28:22 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java

        }
    
        @Test
        @DisplayName("Test reset method with lastName")
        void testReset() {
            String domain = "WORKGROUP";
            int serverTypes = NetServerEnum2.SV_TYPE_ALL;
            netServerEnum2 = new NetServerEnum2(realConfig, domain, serverTypes);
    
            String lastName = "LASTSERVER";
            netServerEnum2.reset(1, lastName);
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 19.7K bytes
    - Click Count (0)
  9. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilder.java

        }
    
        private static BufferedInputStream reset(StreamSupplier inputSupplier, BufferedInputStream bis) throws IOException {
            try {
                bis.reset();
                return bis;
            } catch (IOException e) {
                return new BufferedInputStream(inputSupplier.open(), BUFFER_SIZE);
            }
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/core/io/InputStreamUtil.java

        /**
         * Resets the {@link InputStream}.
         *
         * @param is the input stream (must not be {@literal null})
         * @see InputStream#reset()
         */
        public static void reset(final InputStream is) {
            assertArgumentNotNull("is", is);
    
            try {
                is.reset();
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 3K bytes
    - Click Count (0)
Back to Top