Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3091 - 3100 of 7,014 for _return (0.07 sec)

  1. internal/store/queuestore_test.go

    	queueStore := NewQueueStore[TestItem](queueDir, limit, testItemExt)
    	if oErr := queueStore.Open(); oErr != nil {
    		return nil, oErr
    	}
    	return queueStore, nil
    }
    
    // Tear down queue store.
    func tearDownQueueStore() error {
    	return os.RemoveAll(queueDir)
    }
    
    // TestQueueStorePut - tests for store.Put
    func TestQueueStorePut(t *testing.T) {
    	defer func() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  2. internal/grid/benchmark_test.go

    		errFatal(remote.RegisterSingleHandler(handlerTest, func(payload []byte) ([]byte, *RemoteErr) {
    			defer PutByteBuffer(payload)
    			return append(GetByteBuffer()[:0], payload...), nil
    		}))
    		errFatal(rpc.Register(remote, func(req *testRequest) (resp *testResponse, err *RemoteErr) {
    			return &testResponse{
    				OrgNum:    req.Num,
    				OrgString: req.String,
    				Embedded:  *req,
    			}, nil
    		}))
    		errFatal(err)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/collect/IteratorBenchmark.java

            sum += array[index].hashCode();
          }
        }
        return sum;
      }
    
      @Benchmark
      int arrayIndexedLength(int reps) {
        int sum = 0;
        for (int i = 0; i < reps; i++) {
          for (int index = 0; index < array.length; index++) {
            sum += array[index].hashCode();
          }
        }
        return sum;
      }
    
      @Benchmark
      int arrayFor(int reps) {
        int sum = 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.4K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactResolverRequest.java

        @Nonnull
        static ArtifactResolverRequestBuilder builder() {
            return new ArtifactResolverRequestBuilder();
        }
    
        @Nonnull
        static ArtifactResolverRequest build(
                @Nonnull Session session, @Nonnull Collection<? extends ArtifactCoordinates> coordinates) {
            return builder()
                    .session(nonNull(session, "session cannot be null"))
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Sep 12 06:19:14 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/NtlmContext.java

            }
            ret += "]";
            return ret;
        }
    
        public boolean isEstablished() {
            return isEstablished;
        }
        public byte[] getServerChallenge()
        {
            return serverChallenge;
        }
        public byte[] getSigningKey()
        {
            return signingKey;
        }
        public String getNetbiosName()
        {
            return netbiosName;
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 5.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComWriteAndX.java

        @Override
        protected int getBatchLimit ( Configuration cfg, byte cmd ) {
            if ( cmd == SMB_COM_READ_ANDX ) {
                return cfg.getBatchLimit("WriteAndX.ReadAndX");
            }
            if ( cmd == SMB_COM_CLOSE ) {
                return cfg.getBatchLimit("WriteAndX.Close");
            }
            return 0;
        }
    
    
        @Override
        protected int writeParameterWordsWireFormat ( byte[] dst, int dstIndex ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.1K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/AbstractStringBasedModelInterpolator.java

                ModelBuildingRequest request,
                ModelProblemCollector problems) {
            return new org.apache.maven.model.Model(interpolateModel(model.getDelegate(), projectDir, request, problems));
        }
    
        protected List<String> getProjectPrefixes(ModelBuildingRequest config) {
            return config.getValidationLevel() >= ModelBuildingRequest.VALIDATION_LEVEL_MAVEN_4_0
                    ? PROJECT_PREFIXES_4_0
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/config/bsentity/BsBoostDocumentRule.java

        //                                                                             =======
        @Override
        public BoostDocumentRuleDbm asDBMeta() {
            return BoostDocumentRuleDbm.getInstance();
        }
    
        @Override
        public String asTableDbName() {
            return "boost_document_rule";
        }
    
        // ===================================================================================
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/bsentity/BsRoleType.java

        //                                                                             =======
        @Override
        public RoleTypeDbm asDBMeta() {
            return RoleTypeDbm.getInstance();
        }
    
        @Override
        public String asTableDbName() {
            return "role_type";
        }
    
        // ===================================================================================
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/NaturalOrdering.java

          result = nullsLast = super.<Comparable<?>>nullsLast();
        }
        return (Ordering<@Nullable S>) result;
      }
    
      @Override
      public <S extends Comparable<?>> Ordering<S> reverse() {
        return (Ordering<S>) ReverseNaturalOrdering.INSTANCE;
      }
    
      // preserving singleton-ness gives equals()/hashCode() for free
      private Object readResolve() {
        return INSTANCE;
      }
    
      @Override
      public String toString() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jun 26 21:02:13 UTC 2023
    - 2.7K bytes
    - Viewed (0)
Back to top