Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 151 - 160 of 696 for resets (0.06 seconds)

  1. build-logic/integration-testing/src/main/kotlin/gradlebuild.integration-tests.gradle.kts

    }
    createTasks(sourceSet, TestType.INTEGRATION)
    configureIde(TestType.INTEGRATION)
    
    createTestTask("integMultiVersionTest", "forking", sourceSet, TestType.INTEGRATION) {
        // This test task runs only multi-version tests and is intended to be used in the late pipeline to sweep up versions not previously tested
        includeSpockAnnotation("org.gradle.integtests.fixtures.compatibility.MultiVersionTestCategory")
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Aug 18 16:39:23 GMT 2025
    - 2.4K bytes
    - Click Count (5)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/IgnoreCloseInputStream.java

         */
        @Override
        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)
  7. 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)
  8. 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)
  9. src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java

            // Test statistics reset functionality
            stats.reset();
            assertEquals(0, stats.getRdmaReads(), "Reads should be reset to 0");
            assertEquals(0, stats.getRdmaWrites(), "Writes should be reset to 0");
            assertEquals(0, stats.getBytesTransferred(), "Bytes should be reset to 0");
            assertEquals(0, stats.getOperationErrors(), "Errors should be reset to 0");
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 13.8K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb2/rdma/RdmaErrorHandler.java

                                : Math.min(MAX_RETRY_DELAY, retryDelayMs * multiplier);
                        Thread.sleep(delay);
                    }
    
                    // Attempt to reset the connection
                    connection.reset();
    
                    // Verify connection is working
                    if (connection.getState() == RdmaConnection.RdmaConnectionState.ESTABLISHED) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 10.5K bytes
    - Click Count (0)
Back to Top