Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 690 for OK (0.17 sec)

  1. src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java

                    image.flush();
                    return Result.OK;
                } finally {
                    reader.dispose();
                }
            }
            return Result.FAILED;
        }
    
        protected enum Result {
            OK, FAILED, INVALID_SIZE, NO_IMAGE;
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

        }
    
        public void test_updateConfiguration() {
            assertNotNull(systemHelper.updateConfiguration());
            systemHelper.addUpdateConfigListener("XXX", () -> "OK");
            assertTrue(systemHelper.updateConfiguration().contains("XXX: OK"));
        }
    
        public void test_isChangedClusterState() {
            systemHelper.isChangedClusterState(0);
            assertFalse(systemHelper.isChangedClusterState(0));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  3. clause/update.go

    		builder.WriteQuoted(currentTable)
    	} else {
    		builder.WriteQuoted(update.Table)
    	}
    }
    
    // MergeClause merge update clause
    func (update Update) MergeClause(clause *Clause) {
    	if v, ok := clause.Expression.(Update); ok {
    		if update.Modifier == "" {
    			update.Modifier = v.Modifier
    		}
    		if update.Table.Name == "" {
    			update.Table = v.Table
    		}
    	}
    	clause.Expression = update
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Mar 09 09:07:00 UTC 2020
    - 737 bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/FaultTolerantClientTest.java

            try {
                client.execute(RequestDataBuilder.newRequestData().get().url(url).build());
                fail();
            } catch (final MultipleCrawlingAccessException e) {
                // ok
                final Throwable[] causes = e.getCauses();
                assertEquals(5, causes.length);
            }
            assertEquals(1, testListener.startCount);
            assertEquals(5, testListener.requestCount);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  5. cmd/sftp-server-driver.go

    		}
    		w.buffer[offset] = make([]byte, len(b))
    		copy(w.buffer[offset], b)
    		n = len(b)
    	}
    
    again:
    	nextOut, ok := w.buffer[w.nextOffset]
    	if ok {
    		n, err = w.w.Write(nextOut)
    		delete(w.buffer, w.nextOffset)
    		w.nextOffset += int64(n)
    		if n != len(nextOut) {
    			return 0, fmt.Errorf("expected write size %d but wrote %d bytes", len(nextOut), n)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  6. cmd/admin-bucket-handlers.go

    		if _, ok := bucketMap[bucket]; !ok {
    			err = objectAPI.MakeBucket(ctx, bucket, MakeBucketOptions{
    				ForceCreate: true, // ignore if it already exists
    			})
    			if err != nil {
    				rpt.SetStatus(bucket, "", err)
    				continue
    			}
    			v, _ := globalBucketMetadataSys.Get(bucket)
    			bucketMap[bucket] = &v
    		}
    		if _, ok := bucketMap[bucket]; !ok {
    			continue
    		}
    		switch fileName {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  7. cmd/encryption-v1_test.go

    		}
    		if kdf, ok := test.metadata[crypto.MetaAlgorithm]; !ok {
    			t.Errorf("Test %d: ServerSideEncryptionKDF must be part of metadata: %v", i, kdf)
    		}
    		if iv, ok := test.metadata[crypto.MetaIV]; !ok {
    			t.Errorf("Test %d: crypto.SSEIV must be part of metadata: %v", i, iv)
    		}
    		if mac, ok := test.metadata[crypto.MetaSealedKeySSEC]; !ok {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 24 04:17:08 UTC 2022
    - 19.9K bytes
    - Viewed (0)
  8. internal/etag/etag.go

    // FromContentMD5 decodes and returns the Content-MD5
    // as ETag, if set. If no Content-MD5 header is set
    // it returns an empty ETag and no error.
    func FromContentMD5(h http.Header) (ETag, error) {
    	v, ok := h["Content-Md5"]
    	if !ok {
    		return nil, nil
    	}
    	if v[0] == "" {
    		return nil, errors.New("etag: content-md5 is set but contains no value")
    	}
    	b, err := base64.StdEncoding.Strict().DecodeString(v[0])
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Mar 10 21:09:36 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. cmd/data-usage-cache_test.go

    				if exp[k] != got[k] {
    					t.Fatalf("interval %s: Expected %d values but got %d values\n", k, exp[k], got[k])
    				}
    			}
    			// what is absent in exp is absent in got too
    			for k := range got {
    				if _, ok := exp[k]; !ok && got[k] > 0 {
    					t.Fatalf("Unexpected interval: %s has value %d\n", k, got[k])
    				}
    			}
    		})
    	}
    }
    
    func TestMigrateSizeHistogramFromV1(t *testing.T) {
    	tests := []struct {
    		v    sizeHistogramV1
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jan 13 07:51:08 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. src/cmd/api/main_test.go

    					for _, id := range n.Names {
    						mark(id)
    					}
    					if len(n.Names) == 0 {
    						// embedded field T or *T?
    						typ := n.Type
    						if ptr, ok := typ.(*ast.StarExpr); ok {
    							typ = ptr.X
    						}
    						if id, ok := typ.(*ast.Ident); ok {
    							mark(id)
    						}
    					}
    				}
    				return false
    			default:
    				return false
    			}
    		})
    	}
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 04 18:16:59 UTC 2024
    - 31.4K bytes
    - Viewed (0)
Back to top