Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1591 - 1600 of 2,486 for tape (0.15 seconds)

  1. src/archive/tar/tar_test.go

    	"os"
    	"path"
    	"path/filepath"
    	"reflect"
    	"slices"
    	"strings"
    	"testing"
    	"time"
    )
    
    type testError struct{ error }
    
    type fileOps []any // []T where T is (string | int64)
    
    // testFile is an io.ReadWriteSeeker where the IO operations performed
    // on it must match the list of operations in ops.
    type testFile struct {
    	ops fileOps
    	pos int64
    }
    
    func (f *testFile) Read(b []byte) (int, error) {
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jul 25 00:25:45 GMT 2024
    - 23.9K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/opensearch/config/bsentity/dbmeta/DataConfigDbm.java

            return null;
        }
    
        // ===================================================================================
        //                                                                           Type Name
        //                                                                           =========
        @Override
        public String getEntityTypeName() {
            return "org.codelibs.fess.opensearch.config.exentity.DataConfig";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 27 07:01:25 GMT 2025
    - 13.9K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/timer/MonitorTargetTest.java

            };
    
            monitorTarget.append(buf, "errorKey", supplier);
            assertEquals("\"errorKey\":null", buf.toString());
        }
    
        // Test append method with Boolean value (other object type)
        @Test
        public void test_append_booleanValue() {
            StringBuilder buf = new StringBuilder();
            Supplier<Object> supplier = () -> Boolean.TRUE;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.3K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/graph/AbstractBaseGraph.java

     *
     * <p>The methods implemented in this class should not be overridden unless the subclass admits a
     * more efficient implementation.
     *
     * @author James Sexton
     * @param <N> Node parameter type
     */
    abstract class AbstractBaseGraph<N> implements BaseGraph<N> {
    
      /**
       * Returns the number of edges in this graph; used to calculate the size of {@link Graph#edges()}.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 07 15:57:03 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  5. src/test/java/jcifs/dcerpc/DcerpcConstantsTest.java

            void testDcerpcObjectUuid() {
                assertEquals(0x80, DcerpcConstants.DCERPC_OBJECT_UUID, "DCERPC_OBJECT_UUID should be 0x80");
            }
        }
    
        @Nested
        @DisplayName("RPC Packet Type Constants Tests")
        class RpcPacketTypeTests {
    
            @Test
            @DisplayName("RPC_PT_REQUEST should have correct value")
            void testRpcPtRequest() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  6. internal/dsync/dsync-server_test.go

    )
    
    func getLockArgs(r *http.Request) (args LockArgs, err error) {
    	buf, err := io.ReadAll(r.Body)
    	if err != nil {
    		return args, err
    	}
    	_, err = args.UnmarshalMsg(buf)
    	return args, err
    }
    
    type lockServerHandler struct {
    	lsrv *lockServer
    }
    
    func (lh *lockServerHandler) writeErrorResponse(w http.ResponseWriter, err error) {
    	w.WriteHeader(http.StatusForbidden)
    	w.Write([]byte(err.Error()))
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  7. src/bytes/bytes_test.go

    	defer func() {
    		if r := recover(); r != nil {
    			switch v := r.(type) {
    			case error:
    				err = v
    			default:
    				err = fmt.Errorf("%s", v)
    			}
    		}
    	}()
    
    	Repeat(b, count)
    
    	return
    }
    
    // See Issue golang.org/issue/16237
    func TestRepeatCatchesOverflow(t *testing.T) {
    	type testCase struct {
    		s      string
    		count  int
    		errStr string
    	}
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Mar 11 03:07:05 GMT 2026
    - 62.9K bytes
    - Click Count (0)
  8. tensorflow/c/eager/c_api_test.cc

      EXPECT_NE(attr_found, attr_values.cend());
      EXPECT_EQ(attr_found->second.list().type(0), tensorflow::DataType::DT_BOOL);
      EXPECT_EQ(attr_found->second.list().type(1), tensorflow::DataType::DT_FLOAT);
      EXPECT_EQ(attr_found->second.list().type(2), tensorflow::DataType::DT_INT32);
    
      TFE_TensorHandle* retvals[1] = {nullptr};
      int num_retvals = 1;
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Oct 09 05:56:18 GMT 2025
    - 94.6K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java

        // ==================== Tests for getExtensionFromMimeType method ====================
    
        // Tests for GIF MIME type
        @Test
        public void test_getExtensionFromMimeType_gif() {
            assertEquals(".gif", generator.getExtensionFromMimeType("image/gif"));
        }
    
        // Tests for TIFF MIME type
        @Test
        public void test_getExtensionFromMimeType_tiff() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 27.8K bytes
    - Click Count (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

        private SettingsDecrypter settingsDecrypter;
    
        @Override
        public Artifact createArtifact(String groupId, String artifactId, String version, String scope, String type) {
            return artifactFactory.createArtifact(groupId, artifactId, version, scope, type);
        }
    
        @Override
        public Artifact createArtifact(String groupId, String artifactId, String version, String packaging) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 31.2K bytes
    - Click Count (0)
Back to Top