Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 69 of 69 for Deadcode (0.15 sec)

  1. platforms/jvm/language-groovy/src/testFixtures/groovy/org/gradle/groovy/compile/AbstractBasicGroovyCompilerIntegrationSpec.groovy

            buildFile << """
                apply plugin: "groovy"
                ${mavenCentralRepository()}
                compileGroovy.options.failOnError = false
            """.stripIndent()
    
            and:
            badCode()
    
            expect:
            succeeds 'compileGroovy'
        }
    
        def "compile bad groovy code do not fail the build when groovyOptions.failOnError is false"() {
            given:
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 09:08:49 UTC 2023
    - 27K bytes
    - Viewed (0)
  2. src/compress/flate/deflate_test.go

    }
    
    func (b *syncBuffer) Write(p []byte) (n int, err error) {
    	n, err = b.buf.Write(p)
    	b.signal()
    	return
    }
    
    func (b *syncBuffer) WriteMode() {
    	b.mu.Lock()
    }
    
    func (b *syncBuffer) ReadMode() {
    	b.mu.Unlock()
    	b.signal()
    }
    
    func (b *syncBuffer) Close() error {
    	b.closed = true
    	b.signal()
    	return nil
    }
    
    func testSync(t *testing.T, level int, input []byte, name string) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 25.6K bytes
    - Viewed (0)
  3. src/go/types/check_test.go

    			for line, errList := range filemap {
    				for _, err := range errList {
    					t.Errorf("%s:%d:%d: %s", filename, line, err.col, err.text)
    				}
    			}
    		}
    	}
    }
    
    func readCode(err Error) errors.Code {
    	v := reflect.ValueOf(err)
    	return errors.Code(v.FieldByName("go116code").Int())
    }
    
    // boolFieldAddr(conf, name) returns the address of the boolean field conf.<name>.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:45:33 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  4. cmd/xl-storage.go

    	if contextCanceled(ctx) {
    		return nil, time.Time{}, ctx.Err()
    	}
    
    	if err := checkPathLength(itemPath); err != nil {
    		return nil, time.Time{}, err
    	}
    
    	f, err := OpenFile(itemPath, readMode, 0o666)
    	if err != nil {
    		return nil, time.Time{}, err
    	}
    	defer f.Close()
    	stat, err := f.Stat()
    	if err != nil {
    		return nil, time.Time{}, err
    	}
    	if stat.IsDir() {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 85.3K bytes
    - Viewed (2)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/ManagedProxyClassGenerator.java

            methodVisitor.visitCode();
            return methodVisitor;
        }
    
        private void putFirstMethodArgumentOnStack(MethodVisitor methodVisitor, Type argType) {
            int loadCode = argType.getOpcode(ILOAD);
            methodVisitor.visitVarInsn(loadCode, 1);
        }
    
        private void putFirstMethodArgumentOnStack(MethodVisitor methodVisitor) {
            putFirstMethodArgumentOnStack(methodVisitor, OBJECT_TYPE);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 55.3K bytes
    - Viewed (0)
  6. pkg/scheduler/internal/cache/cache_test.go

    			if err := cache.RemovePod(logger, pod); err == nil {
    				t.Error("expected error, no error found")
    			}
    
    			// Node that owned the Pod should be at the head of the list.
    			if cache.headNode.info.Node().Name != nodeName {
    				t.Errorf("node %q is not at the head of the list", nodeName)
    			}
    		})
    	}
    }
    
    func TestForgetPod(t *testing.T) {
    	nodeName := "node"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 17 01:38:03 UTC 2023
    - 63.8K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/windows/zsyscall_windows.go

    		ntstatus = NTStatus(r0)
    	}
    	return
    }
    
    func NtCreateNamedPipeFile(pipe *Handle, access uint32, oa *OBJECT_ATTRIBUTES, iosb *IO_STATUS_BLOCK, share uint32, disposition uint32, options uint32, typ uint32, readMode uint32, completionMode uint32, maxInstances uint32, inboundQuota uint32, outputQuota uint32, timeout *int64) (ntstatus error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 195.8K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/windows/syscall_windows.go

    //sys	NtCreateNamedPipeFile(pipe *Handle, access uint32, oa *OBJECT_ATTRIBUTES, iosb *IO_STATUS_BLOCK, share uint32, disposition uint32, options uint32, typ uint32, readMode uint32, completionMode uint32, maxInstances uint32, inboundQuota uint32, outputQuota uint32, timeout *int64) (ntstatus error) = ntdll.NtCreateNamedPipeFile
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  9. src/internal/trace/traceviewer/static/trace_viewer_full.html

    var jsonPathCompiler=jsonPathSyntax(function(pathNodeSyntax,doubleDotSyntax,dotSyntax,bangSyntax,emptySyntax){var CAPTURING_INDEX=1;var NAME_INDEX=2;var FIELD_LIST_INDEX=3;var headKey=compose2(keyOf,head),headNode=compose2(nodeOf,head);function nameClause(previousExpr,detection){var name=detection[NAME_INDEX],matchesName=(!name||name=='*')?always:function(ascent){return headKey(ascent)==name};return lazyIntersection(matchesName,previousExpr);}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:45:06 UTC 2023
    - 2.5M bytes
    - Viewed (1)
Back to top