Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 373 for Obj (0.02 sec)

  1. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsItem.java

            return prime * result + input.hashCode();
        }
    
        @Override
        public boolean equals(final Object obj) {
            if (this == obj) {
                return true;
            }
            if (obj == null || getClass() != obj.getClass()) {
                return false;
            }
            final ProtwordsItem other = (ProtwordsItem) obj;
            if (!input.equals(other.input)) {
                return false;
            }
            return true;
        }
    Registered: 2024-10-31 13:40
    - Last Modified: 2024-10-11 21:11
    - 2.4K bytes
    - Viewed (0)
  2. cmd/object-api-listobjects_test.go

    func testListObjectsOnVersionedBuckets(obj ObjectLayer, instanceType string, t1 TestErrHandler) {
    	_testListObjects(obj, instanceType, t1, true)
    }
    
    // Unit test for ListObjects.
    func testListObjects(obj ObjectLayer, instanceType string, t1 TestErrHandler) {
    	_testListObjects(obj, instanceType, t1, false)
    }
    
    func _testListObjects(obj ObjectLayer, instanceType string, t1 TestErrHandler, versioned bool) {
    Registered: 2024-11-03 19:28
    - Last Modified: 2024-05-01 11:07
    - 73.1K bytes
    - Viewed (0)
  3. cmd/server-main_test.go

    		t.Fatal("Failed to create drives for the backend")
    	}
    	defer removeRoots(disks)
    
    	obj, err := newObjectLayer(ctx, mustGetPoolEndpoints(0, disks...))
    	if err != nil {
    		t.Fatal("Unexpected object layer initialization error", err)
    	}
    
    	_, ok := obj.(*erasureServerPools)
    	if !ok {
    		t.Fatal("Unexpected object layer detected", reflect.TypeOf(obj))
    	}
    
    	// Tests for Erasure object layer initialization.
    
    Registered: 2024-11-03 19:28
    - Last Modified: 2023-12-07 09:33
    - 3.1K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/TextTransformerTest.java

            accessResultData.setTransformerName("textTransformer");
            accessResultData.setData("xyz".getBytes());
    
            final Object obj = textTransformer.getData(accessResultData);
            assertNotNull(obj);
            assertTrue(obj instanceof String);
            assertEquals("xyz", obj.toString());
        }
    
        public void test_getData_wrongName() throws Exception {
    Registered: 2024-11-10 03:50
    - Last Modified: 2024-02-22 01:36
    - 4.6K bytes
    - Viewed (0)
  5. cmd/benchmark-utils_test.go

    // Creates Object layer setup ( MakeBucket ) and then runs the PutObject benchmark.
    func runPutObjectBenchmark(b *testing.B, obj ObjectLayer, objSize int) {
    	var err error
    	// obtains random bucket name.
    	bucket := getRandomBucketName()
    	// create bucket.
    	err = obj.MakeBucket(context.Background(), bucket, MakeBucketOptions{})
    	if err != nil {
    		b.Fatal(err)
    	}
    
    Registered: 2024-11-03 19:28
    - Last Modified: 2022-12-23 15:46
    - 8.2K bytes
    - Viewed (0)
  6. src/cmd/api/main_test.go

    		}
    	case *types.Var:
    		if w.isDeprecated(obj) {
    			w.emitf("var %s //deprecated", obj.Name())
    		}
    		w.emitf("var %s %s", obj.Name(), w.typeString(obj.Type()))
    	case *types.TypeName:
    		w.emitType(obj)
    	case *types.Func:
    		w.emitFunc(obj)
    	default:
    		panic("unknown object: " + obj.String())
    	}
    }
    
    func (w *Walker) emitType(obj *types.TypeName) {
    	name := obj.Name()
    Registered: 2024-11-05 11:13
    - Last Modified: 2024-09-04 18:16
    - 31.4K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformerTest.java

            accessResultDataImpl.setEncoding(Constants.UTF_8);
            accessResultDataImpl.setTransformerName("xmlMapTransformer");
    
            final Object obj = xmlMapTransformer.getData(accessResultDataImpl);
            assertTrue(obj instanceof Map);
            final Map<String, String> map = (Map) obj;
            assertEquals("タイトル", map.get("title"));
            assertEquals("第一章 第一節 ほげほげふがふが LINK 第2章 第2節", map.get("body"));
    Registered: 2024-11-10 03:50
    - Last Modified: 2024-02-22 01:36
    - 13.5K bytes
    - Viewed (0)
  8. cmd/server-startup-msg_test.go

    func TestPrintServerCommonMessage(t *testing.T) {
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    
    	obj, fsDir, err := prepareFS(ctx)
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer os.RemoveAll(fsDir)
    	if err = newTestConfig(globalMinioDefaultRegion, obj); err != nil {
    		t.Fatal(err)
    	}
    
    	apiEndpoints := []string{"http://127.0.0.1:9000"}
    	printServerCommonMsg(apiEndpoints)
    }
    
    Registered: 2024-11-03 19:28
    - Last Modified: 2024-07-12 20:51
    - 3K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/ExclusionSetFilter.java

            return hash;
        }
    
        @Override
        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
    
            if (!(obj instanceof ExclusionSetFilter)) {
                return false;
            }
    
            ExclusionSetFilter other = (ExclusionSetFilter) obj;
    
            return excludes.equals(other.excludes);
        }
    Registered: 2024-11-03 03:35
    - Last Modified: 2024-10-25 12:31
    - 2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/FunctionalEquivalence.java

        return resultEquivalence.hash(function.apply(a));
      }
    
      @Override
      public boolean equals(@CheckForNull Object obj) {
        if (obj == this) {
          return true;
        }
        if (obj instanceof FunctionalEquivalence) {
          FunctionalEquivalence<?, ?> that = (FunctionalEquivalence<?, ?>) obj;
          return function.equals(that.function) && resultEquivalence.equals(that.resultEquivalence);
        }
        return false;
      }
    
    Registered: 2024-11-01 12:43
    - Last Modified: 2023-05-01 19:48
    - 2.3K bytes
    - Viewed (0)
Back to top