Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1341 - 1350 of 1,908 for hasn (0.02 seconds)

  1. src/archive/tar/writer.go

    	}
    
    	allowedFormats, paxHdrs, err := tw.hdr.allowedFormats()
    	switch {
    	case allowedFormats.has(FormatUSTAR):
    		tw.err = tw.writeUSTARHeader(&tw.hdr)
    		return tw.err
    	case allowedFormats.has(FormatPAX):
    		tw.err = tw.writePAXHeader(&tw.hdr, paxHdrs)
    		return tw.err
    	case allowedFormats.has(FormatGNU):
    		tw.err = tw.writeGNUHeader(&tw.hdr)
    		return tw.err
    	default:
    		return err // Non-fatal error
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Feb 03 16:38:43 GMT 2025
    - 19.7K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

        taskFaker.runNextTask()
        cache.evictAll()
        assertThat(cache.size()).isEqualTo(0)
        assertAbsent("a")
        assertAbsent("b")
        cache.close()
        createNewCache()
    
        // The journal has no record that 'a' and 'b' were removed. It will have an entry for both, but
        // when it tries to read the cache files for either entry, it will discover the cache files are
        // missing and remove the entries from the cache.
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 59.4K bytes
    - Click Count (0)
  3. cmd/admin-handlers-users.go

    	} else {
    		// Check if group already exists
    		if _, gerr := globalIAMSys.GetGroupDescription(updReq.Group); gerr != nil {
    			// If group does not exist, then check if the group has beginning and end space characters
    			// we will reject such group names.
    			if errors.Is(gerr, errNoSuchGroup) && hasSpaceBE(updReq.Group) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 90.6K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/exception/ThumbnailGenerationExceptionTest.java

            assertEquals("Invalid image format", exception.getCause().getCause().getMessage());
        }
    
        @Test
        public void test_serialization() {
            // Test that the exception has serialVersionUID
            ThumbnailGenerationException exception = new ThumbnailGenerationException("Test serialization");
    
            // The exception should be serializable as it extends RuntimeException
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  5. src/test/java/jcifs/pac/ASN1UtilTest.java

            assertArrayEquals(new byte[] { 0x01, 0x02, 0x03 }, result);
        }
    
        @Test
        void testReadUnparsedTagged_WrongTag() {
            // Expecting tag 2, but data has tag 1
            byte[] data = new byte[] { (byte) 0xA1, 0x03, 0x01, 0x02, 0x03 };
            ByteArrayInputStream bais = new ByteArrayInputStream(data);
            ASN1InputStream ais = new ASN1InputStream(bais);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/test/java/org/apache/maven/model/inheritance/DefaultInheritanceAssemblerTest.java

            Model child = getModel(baseName + "-child");
    
            if (fromRepo) {
                // when model is read from repo, a stream is used, then pomFile == null
                // (has consequences in inheritance algorithm since getProjectDirectory() returns null)
                parent = parent.clone();
                parent.setPomFile(null);
                child = child.clone();
                child.setPomFile(null);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/plugin/DefaultReportingConverter.java

            }
    
            Xpp3Dom reportPlugins = configuration.getChild("reportPlugins");
    
            if (reportPlugins != null) {
                // new-style report configuration already present: warn since this new style has been deprecated
                // in favor of classical reporting section MSITE-647 / MSITE-684
                problems.add(new ModelProblemCollectorRequest(Severity.WARNING, Version.BASE)
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  8. tests/postgres_test.go

    	}
    
    	yasuo := Yasuo{Name: "jinzhu"}
    	if err := DB.Create(&yasuo).Error; err != nil {
    		t.Fatalf("should be able to create data, but got %v", err)
    	}
    
    	if yasuo.ID == "" {
    		t.Fatal("should be able to has ID, but got zero value")
    	}
    
    	var result Yasuo
    	if err := DB.First(&result, "id = ?", yasuo.ID).Error; err != nil || yasuo.Name != "jinzhu" {
    		t.Errorf("No error should happen, but got %v", err)
    	}
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Oct 08 09:16:32 GMT 2022
    - 6.4K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/StandardTable.java

      @Override
      public Set<R> rowKeySet() {
        return rowMap().keySet();
      }
    
      @LazyInit private transient @Nullable Set<C> columnKeySet;
    
      /**
       * {@inheritDoc}
       *
       * <p>The returned set has an iterator that does not support {@code remove()}.
       *
       * <p>The set's iterator traverses the columns of the first row, the columns of the second row,
       * etc., skipping any columns that have appeared previously.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 29.4K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsItemTest.java

            assertEquals(item1.hashCode(), item1.hashCode());
        }
    
        @Test
        public void test_hashCode_withNullInput() {
            // Test hashCode with null input - should not throw, returns consistent hash for null
            ProtwordsItem item1 = new ProtwordsItem(1, null);
            ProtwordsItem item2 = new ProtwordsItem(2, null);
    
            // Should not throw
            int hash1 = item1.hashCode();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10.7K bytes
    - Click Count (0)
Back to Top