Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 271 - 280 of 2,251 for myitem (0.09 seconds)

  1. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

                // Create a buffer with null terminator within the max length
                byte[] buffer = new byte[20];
                System.arraycopy("Test".getBytes(), 0, buffer, 0, 4);
                buffer[4] = 0; // null terminator
                System.arraycopy("String".getBytes(), 0, buffer, 5, 6);
    
                String result = testBlock.readString(buffer, 0, buffer.length, 10, false);
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 36.2K bytes
    - Click Count (0)
  2. src/test/java/jcifs/tests/persistent/PersistentHandleManagerTest.java

            MockitoAnnotations.openMocks(this);
    
            // Create temporary directory for test state
            tempDir = Files.createTempDirectory("jcifs-test-handles");
    
            // Set system property for handle state directory
            System.setProperty("jcifs.smb.client.handleStateDirectory", tempDir.toString());
    
            when(mockContext.getConfig()).thenReturn(mockConfig);
    
            manager = new PersistentHandleManager(mockContext);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/core/io/ClassTraversalTest.java

            final JarURLConnection con = (JarURLConnection) classURL.openConnection();
            ClassTraversalUtil.forEach(con.getJarFile(), (ClassHandler) (packageName, shortClassName) -> {
                if (count < 10) {
                    System.out.println(ClassUtil.concatName(packageName, shortClassName));
                }
                assertThat(packageName, is(notNullValue()));
                assertThat(shortClassName, is(notNullValue()));
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  4. impl/maven-core/src/test/java/org/apache/maven/project/MavenProjectTest.java

            childModel.setArtifactId("artifact");
    
            MavenProject childProject = new MavenProject(childModel);
    
            File childFile = new File(
                    System.getProperty("java.io.tmpdir"),
                    "maven-project-tests" + System.currentTimeMillis() + "/child/pom.xml");
    
            childProject.setFile(childFile);
    
            String adjustment = parentProject.getModulePathAdjustment(childProject);
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 28 09:44:37 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/fscc/BasicFileInformation.java

     */
    package jcifs.internal.fscc;
    
    import jcifs.internal.SmbBasicFileInfo;
    
    /**
     * File System Control Code (FSCC) interface for Basic File Information.
     * Combines SMB basic file info with FSCC file information capabilities,
     * providing access to fundamental file metadata used in SMB file system operations.
     *
     * @author mbechler
     */
    public interface BasicFileInformation extends SmbBasicFileInfo, FileInformation {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  6. cmd/xl-storage.go

    		}
    
    		// Remove filename which is the meta file.
    		item.transformMetaDir()
    
    		fivs, err := getFileInfoVersions(buf, item.bucket, item.objectPath(), false)
    		metaDataPoolPut(buf)
    		if err != nil {
    			res["err"] = err.Error()
    			return sizeSummary{}, errSkipFile
    		}
    
    		versioned := vcfg != nil && vcfg.Versioned(item.objectPath())
    		objInfos := make([]ObjectInfo, len(fivs.Versions))
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 91.7K bytes
    - Click Count (0)
  7. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/TestDohMain.kt

    import org.conscrypt.OpenSSLProvider
    
    private fun runBatch(
      dnsProviders: List<DnsOverHttps>,
      names: List<String>,
    ) {
      var time = System.currentTimeMillis()
      for (dns in dnsProviders) {
        println("Testing ${dns.url}")
        for (host in names) {
          print("$host: ")
          System.out.flush()
          try {
            val results = dns.lookup(host)
            println(results)
          } catch (uhe: UnknownHostException) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt

          private var nextId = 1
    
          override fun newThread(runnable: Runnable): Thread = Thread(runnable, "$name-${nextId++}")
        }
    }
    
    fun getEnv(name: String) = System.getenv(name)
    
    val SYSTEM_FILE_SYSTEM = FileSystem.SYSTEM
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/profiles/manager/DefaultProfileManagerTest.java

            Activation defaultActivation = new Activation();
    
            defaultActivation.setActiveByDefault(true);
    
            defaultActivated.setActivation(defaultActivation);
    
            Properties props = System.getProperties();
    
            ProfileManager profileManager = new DefaultProfileManager(getContainer(), props);
    
            profileManager.addProfile(notActivated);
            profileManager.addProfile(defaultActivated);
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Mar 30 23:08:36 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  10. schema/model_test.go

    	Friends   []*User           `gorm:"many2many:user_friends"`
    	Active    *bool
    }
    
    type (
    	mytime time.Time
    	myint  int
    	mybool = bool
    )
    
    type AdvancedDataTypeUser struct {
    	ID           sql.NullInt64
    	Name         *sql.NullString
    	Birthday     sql.NullTime
    	RegisteredAt mytime
    	DeletedAt    *mytime
    	Active       mybool
    	Admin        *mybool
    }
    
    type BaseModel struct {
    	ID        uint
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Thu Jan 06 07:02:53 GMT 2022
    - 1.1K bytes
    - Click Count (0)
Back to Top